ARRAYFUN

From Jacket Wiki

Jump to: navigation, search
Back to Function List

Apply function to each element of array. Please see GCOMPILE Usage for more detailed

Usage

Jacket for M Language
    Supported Syntax
    
A = arrayfun(fun, S)
A = arrayfun(fun, S, T, ...)
[A, B, ...] = arrayfun(fun, S, ...)
    

GFOR Supported

Yes

GCOMPILE Supported

Yes

Types Supported

-  GDOUBLE   GSINGLE   COMPLEX 

Types Not Supported

-  GLOGICAL   GINT32   GINT8   GUINT32   GUINT8 

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/arrayfun.html
More Details

Please see GCOMPILE Usage for more detailed information.


See Also

GCOMPILE, GCOMPILE Usage

Views
Personal tools