ALL

From Jacket Wiki

Jump to: navigation, search
Back to Function List

Determine whether all array elements are nonzero or true

Usage

Jacket for M Language
    Supported Syntax
    
B = all(A)
B = all(A, dim)
    

GFOR Supported

Yes

GCOMPILE Supported

Yes

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/all.html


See Also

ANY, Logical Operators: Elementwise & | ~, Logical Operators: Short-circuit && ||, Relational Operators < > <= >= == ~=, COLON

Personal tools