Evaluates expressions to fill an output matrix. The expression can contain any operator available from within jit.op, any functor available from within jit.bfg, and many jitter MOPs. A variable number of inputs can be specified with an attribute argument setting the inputs attribute.
Note: The jit.op operators and are not recognized by the jit.expr parser. The expressions and may be used in their place.
Expressions should be specified between double quotes, and different expressions can be evaluated per plane if multiple symbols are used for the expr attribute. There are special variables and constants which can be used within expressions listed below. All expressions are evaluated using floating point arithmetic, so they will be more precise, but often slower for computing char data. For optimal speed with char data, it is recommended to use jit.charmap where possible (perhaps filled with an evaluated expression).
|out||n/a||1||1||1||1||1||char long float32 float64|
More about Matrix Operators
The Jitter MOP
Toggles the cache intermediary values flag. The default is 1 (on). It may be desirable to turn off when using generator operators such as jit.noise in the expression, which should not be cached.
expr [32 symbols]
The expression to evaluate. If one expression is specified, it is evaluated for all planes. If multiple expressions are specified, they are evaluated on a plane by plane basis.
Input count (default = 2). Please note, there is no inlet support for this attribute. Changing the input count via an attrui, message, or the inspector will not work. You can only change the input count by typing the attribute into the object box.
Sets the internal precision. The options are:
float32 (the default)
Toggles the printing of expression information to Max Console.
Common Box Attributes
|Working with Video in Jitter||Working with Video in Jitter|
|Tutorial 39: Spatial Mapping||Tutorial 39: Spatial Mapping|