Welcome to our Support Center

Array Size


Returns the number of elements in each dimension of n-dimensional array.


Input parameters


Β array : class, n-dimension tensor.

Output parameters


size(s) : class, returned value is a 1D array in which each element is a 32-bit integer that represents the number of elements in the corresponding dimension of array. The order of elements in the return array corresponds to row-major order. Thus, vol is the first index, followed by page, row, and column. These names are index identifiers and have no other meaning.


All these exemples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install PERRINE library to run it).

Table of Contents