IND2SUB

From Jacket Wiki

Jump to: navigation, search
Back to Function List

Subscripts from linear index

Usage

Jacket for M Language
    Supported Syntax
    
[I,J] = ind2sub(siz,IND)
[I1,I2,I3,...,In] = ind2sub(siz,IND)
    

GFOR Supported

Yes

GCOMPILE Supported

No

Types Supported

-  GDOUBLE   GSINGLE 

Types Not Supported

-  GLOGICAL   GINT32   GINT8   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/ind2sub.html


See Also

FIND, SIZE, SUB2IND

Views
Personal tools