gives the rank of tensor.
- TensorRank accepts any type of tensor, either symbolic or explicit, including any type of array.
- On explicit rectangular arrays of scalars, TensorRank coincides with ArrayDepth. On symbolic arrays, TensorRank stays unevaluated unless the array has been assigned a rank through any form of assumption.
New in 9