jit.dimmap Remap and/or invert matrix dimensions

The jit.dimmap object allows the remapping and/or inversion of matrix dimensions. Somewhat similar to the jit.transpose object, however any dimension may be mapped to any other dimension as well as inverted. Note that the input to output map may not contain any duplicates. Redundant dimensions of size 1 may be inserted by using a map value of -1 at the corresponding dimension index.

Matrix Operator: in[1] out[1]
Name IOProc Planelink Typelink Dimlink Plane Dim Type
in n/a n/a n/a n/a n/a n/a n/a
out n/a no no no all all char long float32 float64

Attributes:
Name Type Description
invert int list[32] Invert dimension flag array (default = all zero)
map int list[32] Input to output dimension map (default = 0 1 2 ... 31)

Example:

See Also:
jit.matrix, jit.transpose