jit.iter Iterate a matrix as a series of Max lists/values

The jit.iter object iterates through all the cells of a matrix, sending a max message or list for each cell out the object’s left outlet. The jit.iter object also sends a list of ints out its middle outlet that contains the current cell coordinates.

Attributes:
Name Type Description
mode int Traversal mode (default = 0 (horizontal))
0 = horizontal traversal
1 = vertical traversal

Messages:
jit_matrix [matrix-name (symbol)]
Iterates through all the cells of the matrix specified by matrix-name, sending a max message for each cell out the object’s left outlet. If the input matrix has only one plane of data, the message is a number. Otherwise, it is a list containing one list item per plane of data.

The jit.iter object also sends a list of ints out its middle outlet that contains the current cell position coordinates.


Example:

See Also:
iter, jit.fill, jit.matrix, jit.spill