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


Bubble sort


The jit.bsort object performs a bubble sort on an incoming matrix, sorting the cells in ascending order.

Matrix Operator

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

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


Name Type g/s Description
dimmode int (0 or 1) = Sort along the dimension specified the integer
maxiter int The maximum number of search iterations (default = -1). A value of -1 sets the search iterations based on the matrix size.
planemode int 0-(planecount-1) = Sort cells based on the values contained in the plane specified by the planemode
summode int Summing flag (default = 0) When the flag is set, sorting is based on the sum of the planes.

Information for box attributes common to all objects


See Also

Name Description
jit.3m Report min/mean/max values
jit.histogram Calculate histogram