ndims
- :
n =ndims(a)¶ Return the number of dimensions of a; trailing singleton dimensions are not counted and the result is never below two.
ndimsn = ndims (a) ¶Return the number of dimensions of a; trailing singleton dimensions are not counted and the result is never below two.