Next: , Previous: , Up: Internal Routines   [Contents][Index]

15.5.138 dimen

dimen(array [, axis])

Returns the (sizes of the) dimensions of x by default (if x is a scalar, scalar pointer, array, complex array, file array, or string). If axes is specified, then it is taken to contain the numbers of the dimensions for which the sizes are to be returned. If a single number is returned, then it is returned as a scalar; otherwise an array is returned.

See also num_dim, num_elem, symclass