ELSE

From Jacket Wiki

Jump to: navigation, search
Back to Function List

Execute statements if condition is false

Usage

Jacket for M Language
    Supported Syntax
    
if expression, statements1, else statements2, end
    

GFOR Supported

No

GCOMPILE Supported

Yes

Types Supported

-  GDOUBLE   GSINGLE   GLOGICAL   GINT32   GINT8   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/else.html


See Also

IF, ELSEIF, END, FOR, WHILE, SWITCH, BREAK, RETURN, Relational Operators < > <= >= == ~=, Logical Operators: Elementwise & | ~, Logical Operators: Short-circuit && ||

Views
Personal tools