Index: Difference between revisions
Jump to navigation
Jump to search
→Index along an axis
Miraheze>Marshall (Created page with ":''This page is about the array theory concept. See Indexing, Indices, Index Generator, and Index of for operations named after indices.'' In the APL array...") |
Miraheze>Marshall |
||
Line 33: | Line 33: | ||
Each of the values in an index corresponds to one [[axis]] of the indexed array. When considered in isolation, one of these values (a [[scalar]] number) is called an index ''along'' the corresponding axis. Selecting from the array using this index produces an array whose [[rank]] is one smaller than the initial array (and it cannot be done to a [[scalar]], as there are no axes along which to index). This array is sometimes called a "slice" or [[hyperplane]] of the array. | Each of the values in an index corresponds to one [[axis]] of the indexed array. When considered in isolation, one of these values (a [[scalar]] number) is called an index ''along'' the corresponding axis. Selecting from the array using this index produces an array whose [[rank]] is one smaller than the initial array (and it cannot be done to a [[scalar]], as there are no axes along which to index). This array is sometimes called a "slice" or [[hyperplane]] of the array. | ||
The set of possible axes into an array as a whole is the [[wikipedia:Cartesian product|cartesian product]] of the possible indices into each axis. | |||
== Index of a cell == | == Index of a cell == |