Logical Operators: Elementwise

From Jacket Wiki

(Redirected from AND)
Jump to: navigation, search
Back to Function List

Elementwise logical operations on arrays or scalar inputs

Usage

Jacket for M Language
    Supported Syntax
    
A & B
and(A, B)
A | B
or(A, B)
~A
not(A)
    

GFOR Supported

Yes

GCOMPILE Supported

Yes

Types Supported

-  GDOUBLE   GSINGLE   GLOGICAL   GINT32   GINT8   GUINT32   GUINT8 

Types Not Supported

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


See Also

ALL, ANY, FIND, LOGICAL, XOR, TRUE, FALSE, BITAND, BITOR, BITCMP, Logical Operators: Short-circuit && ||, Relational Operators < > <= >= == ~=

Views
Personal tools