Rank (computer programming)
Appearance
In computer programming, the rank of an array is usually defined to be the number of dimensions of that array. For example, a matrix is an array of rank 2. In some languages, such as APL, a scalar is defined as an array of rank 0.
In APL, the unary ρ (rho) operator can be used to find the dimensions of an array; thus, ρρA is the rank of A.
See also
- Rank (linear algebra), for a different definition of "rank" as applied to matrices