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

jit.bsort Reference

Bubble sort

jit.bsort

Description

Performs a bubble sort on an incoming matrix, sorting the cells in ascending order.

Examples

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

More about Matrix Operators

The Jitter MOP

MOP Arguments

MOP Attributes

MOP Messages

Attributes

dimmode [int]

Sorts along the dimension specified the integer (0 or 1)

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]

Sorts cells based on the values contained in the plane specified by the planemode 0-(planecount-1)

summode [int]

Summing flag (default = 0) When the flag is set, sorting is based on the sum of the planes.

Common Box Attributes

See Also

Name Description
Working with Video in Jitter Working with Video in Jitter
jit.3m
jit.histogram