aryDim

Enquire the dimension sizes of an array

Description:

This function returns the size in pixels of each dimension of an array, together with the total number of dimensions (the size of a dimension is the difference between that dimension’ s upper and lower pixel-index bounds + 1).

Invocation

void aryDim( Ary ∗ary, int ndimx, hdsdim ∗dim, int ∗ndim, int ∗status )

Notes:

Parameters :

ary
Array identifier.
ndimx
Maximum number of dimension sizes to return (i.e. the size of the " dim" array).
dim
An array returned holding the size of each dimension in pixels.
ndim
Returned holding the total number of array dimensions.
status
The global status.