Up: Glossary of Terms
Previous: Glossary of Terms
As in Fortran, the shape of an array, , is defined as the vector of
extents of its ranges, ie
a.rng(0).size() a.rng(R-1).size(), where is the rank of the array.
Implicitly, if two array have the same shape, they also have the same rank.