NDIMS

From Jacket Wiki

Jump to: navigation, search
Back to Function List

Number of array dimensions

Usage

Jacket for M Language
    Supported Syntax
    
n = ndims(A)
    

GFOR Supported

Yes

GCOMPILE Supported

No

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

N = NDIMS(X) returns the number of dimensions in the array X. The number of dimensions in an array is always greater than or equal to 2. Trailing singleton dimensions are ignored.


See Also

MESHGRID, INTERPN

Views
Personal tools