Content deleted Content added
Eilthireach (talk | contribs) m Updated wikilink |
Quuxplusone (talk | contribs) expand slightly, copyedit |
||
Line 1:
In [[computer programming]], the '''rank of an array''' is usually defined to be the number of [[dimension]]s of that array. For example, a [[matrix (mathematics)|matrix]] is an array of rank 2. In some languages, such as [[APL programming language|APL]], a [[scalar]] is defined as an array of rank 0.
In APL, the unary ''ρ'' ([[rho (letter)|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 [[matrix (mathematics)|matrices]]
{{compu-lang-stub}}
[[Category:Data types]]
|