A newer version of Max is available. Click here to access the latest version of this document.

jit.coerce

Coerce a matrix into different types/planecount

Description

The jit.coerce object coerces a matrix into different types/planecount without copying data. (sometimes called "header munging"). This may be useful for treating integers as floating point data and vice versa, or treating a four-plane char matrix as a single plane long matrix.

Matrix Operator

matrix inputs:1, matrix outputs:1
Name IOProc Planelink Typelink Dimlink Plane Dim Type
out n/a 0 0 0 1 1 char long float32 float64

Information for Jitter Matrix Operator (MOP) messages and attributes to this object

Attributes

Name Type g/s Description

Information for box attributes common to all objects

Examples

See Also

Name Description
jit.matrix The Jitter Matrix!
jit.pack Make a multiplane matrix out of single plane matrices
jit.unpack Make multiple single plane matrices out of a multiplane matrix
jit.submatrix Reference a sub-region of a matrix