4,506
edits
m (→Outside of APL) |
No edit summary |
||
Line 1: | Line 1: | ||
:''This page is about generating indices for an array of a given size. See [[Indexing]], [[Indices]], [[Index of]], and [[Interval Index]] for other operations named after indices.'' | |||
{{Built-in|Index Generator|⍳}} or '''Interval''', often called by the name of its [[glyph]] '''Iota''', is a [[monadic]] [[primitive function]] which returns an array of [[index|indices]] with [[shape]] given by the right [[argument]]. In the result, the [[element]] at each [[index]] is that index. | {{Built-in|Index Generator|⍳}} or '''Interval''', often called by the name of its [[glyph]] '''Iota''', is a [[monadic]] [[primitive function]] which returns an array of [[index|indices]] with [[shape]] given by the right [[argument]]. In the result, the [[element]] at each [[index]] is that index. | ||