Term: | Size |
Definition: |
The number of elements in each dimension of amulti-dimensional array. A scalar has a size of 1. A multi-dimensionalvector will have a size for each dimension. Note that the number of elementsin the size of an N-dimensional array conveys the array's dimensionalitywhile the product of those numbers conveys the total number of elements inthe array. When size is used to describe a tensor it is the number ofelements in the tensor. As such it has a limited set of values. A tensor ofrank 1 has a size of 3, rank 2 a size of 9, rank 3 a size of 27 and rank n asize of 3^n. |