SORT

From Jacket Wiki

Jump to: navigation, search
Back to Function List

Sort array elements in ascending or descending order

Usage

Jacket for M Language
    Supported Syntax
    
B = sort(A)
B = sort(A,dim)
B = sort(...,mode)
[B,IX] = sort(A,...)
    

GFOR Supported

Yes

GCOMPILE Supported

No

Types Supported

-  GDOUBLE   GSINGLE 

Types Not Supported

-  GLOGICAL   GINT32   INT8   GUINT32   GUINT8   COMPLEX 

CPU usageJacket only contains GPU computing functions. To run functions on the CPU, try one of the MathWorks products:
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/sort.html

Notes

  • Only 1D, 2D, and 3D data is supported.

See Also

ISSORTED, MAX, MEAN, MEDIAN, MIN, SORTROWS, UNIQUE

Personal tools