MIN

From Jacket Wiki

Jump to: navigation, search
Back to Function List

Smallest elements in array

Usage

Jacket for M Language
    Supported Syntax
    
C = min(A)
C = min(A,B)
C = min(A,[],dim)
[C,I] = min(...)
    

GFOR Supported

Yes

GCOMPILE Supported

Yes

Types Supported

-  GDOUBLE   GSINGLE   GLOGICAL   GINT32   INT8   GUINT32   GUINT8   COMPLEX 

Types Not Supported

-

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/min.html
More Details
  • Indexed output supported for both single and double precision complex inputs.
  • MIN and MAX do not ignore NaNs as MATLAB does.
  • Now supported for any number of columns, rows, or subproblems, (i.e. min(A,1) will function correctly for any size A barring a kernel timeout).
  • When used in GCOMPILE, only the following syntax is supported:
C = min(A,B)


See Also

MEAN, MEDIAN, MAX, SORT

Personal tools