Indices: Difference between revisions
Jump to navigation
Jump to search
m
→Examples
Miraheze>Marshall (Created page with "''This function describes a primitive whose result is a list of indices. See Index for the page on indices themselves.'' Indices (<code>⍸</code>), or Where, is a mona...") |
Miraheze>Marshall m (→Examples) |
||
Line 14: | Line 14: | ||
{{Works in|[[Dyalog APL]],[[dzaima/APL]],[[NARS2000]]}} | {{Works in|[[Dyalog APL]],[[dzaima/APL]],[[NARS2000]]}} | ||
In [[nested]] APLs it returns nested indices when passed a [[matrix]] or higher-dimensional array. | In [[Nested array model|nested]] APLs it returns nested indices when passed a [[matrix]] or higher-dimensional array. | ||
<source class=apl> | <source class=apl> | ||
⍸ 3 3⍴0 0 1 0 0 0 1 0 | ⍸ 3 3⍴0 0 1 0 0 0 1 0 |