Returns the number of elements in each dimension of an array.
An n-dimensional array of any type.
The number of elements in the array.
This output returns different data types, depending on the dimension of the array:
Representation of Array Dimensions in the Output Array
For multidimensional arrays, the order of elements in the output array corresponds to row-major order. Thus, the first dimension in the input array always corresponds to the last element in the output array. The following table shows how output array elements correspond to input array dimensions for a 4D array.
Element in Output Array | Corresponding Input Array Dimension | Index Name |
---|---|---|
1 | 4th | Volume |
2 | 3rd | Page |
3 | 2nd | Row |
4 | 1st | Column |
Where This Node Can Run:
Desktop OS: none
FPGA: All devices
Web Server: Not supported in VIs that run in a web application