numel
builtin · libnexusinterp/corefcn/data-proprietary.cc
- :
n = numel (a) ¶
- :
n = numel (a, idx1, idx2, …) ¶
Return the number of elements of a, or, when index arguments are
given, the number of elements a(idx1, idx2,
…) would produce. The character ‘:’ selects a whole
dimension.