Section: Inspection Functions
ndims
n = ndims(x)
and is equivalent to length(size(x)).
length(size(x))