Array model: Difference between revisions
Jump to navigation
Jump to search
→Rank
Miraheze>Adám Brudzewsky (→Depth) |
Miraheze>Adám Brudzewsky (→Rank) |
||
Line 65: | Line 65: | ||
=== Rank === | === Rank === | ||
{{Main|Rank}} | |||
The concept of rank is very important in APL, and isn't present in many other languages. It refers to the number of dimensions in the array. So far, rank-0 arrays are scalars, rank-1 arrays are vectors, rank-2 arrays are usually called matrices or tables. | The concept of rank is very important in APL, and isn't present in many other languages. It refers to the number of dimensions in the array. So far, rank-0 arrays are scalars, rank-1 arrays are vectors, rank-2 arrays are usually called matrices or tables. |