MxSort
|
Matrix functions |
SYNTAX | MxSort( mx, dim = -1, ascening = True ) |
RETURNS | Matrix |
FUNCTION | Sorts all items in a matrix When dim == -1 (the default) it would sort:
When dim == 1 the function sorts the items in each column separately |
EXAMPLE | m = MxFromString("[
9, 5, 6; 8, 7, 3 ]"); |
SEE ALSO | Matrix() function , MxSortRows() function , MxTranspose() function |
The MxSort function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.