Skip to content

ndims

builtin · libnexusinterp/corefcn/data-proprietary.cc

: n = ndims (a)

Return the number of dimensions of a; trailing singleton dimensions are not counted and the result is never below two.