linalg:shape
(linalg:shape array)
Returns the dimension sizes of an array as a list: (n) for a rank-1 vector, (rows cols) for a rank-2 matrix. It is the linalg spelling of array-dimensions. For the number of dimensions, use linalg:ndim; for the total element count, linalg:size.