MAX

From Jacket Wiki

Jump to: navigation, search
Back to Function List

Largest elements in array

Usage

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

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/max.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, (max(A,1) will function correctly for any size A barring a kernel timeout).
  • When used in GCOMPILE, only the following syntax is supported:
C = max(A,B)


See Also

ISNAN, MEAN, MEDIAN, MIN, SORT

Personal tools