12/12/2023 0 Comments CLIPS multislot elementwise test![]() ![]() In general, f can be any object that when applied to a single argument gives any combination of Ramp, LogisticSigmoid, etc., together with numbers, Plus, Subtract, Times, Divide, Power, Surd, Min, Max, Clip, Mod, Threshold, Chop and some logical operations using If, And, Or, Which, Piecewise, Equal, Greater, GreaterEqual, Less, LessEqual, Unequal, Negative, NonNegative, Positive, NonPositive, PossibleZeroQ. CLIPS (6.31 2/3/18) CLIPS> (deftemplate student (multislot name) (multislot grades)) CLIPS> (deftemplate sum (multislot name) (slot grade)) CLIPS> (defrule reg6 (student (name name) (grades grades)) > (assert (sum (name name) (grade (+ 0 0 (expand grades)))))) CLIPS> (assert (student (name David Green) (grades)) (student (name.The function f can be any one of the following: Ramp, LogisticSigmoid, Tan, Tanh, ArcTan, ArcTanh, Sin, Sinh, ArcSin, ArcSinh, Cos, Cosh, ArcCos, ArcCosh, Cot, Coth, ArcCot, ArcCoth, Csc, Csch, ArcCsc, ArcCsch, Sec, Sech, ArcSec, ArcSech, Haversine, InverseHaversine, Gudermannian, InverseGudermannian, Log, Exp, Sqrt, CubeRoot, Abs, Gamma, LogGamma, Erf, InverseErf, Erfc, InverseErfc, Round, Floor, Ceiling, Sign, FractionalPart, IntegerPart, Unitize, KroneckerDelta.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |