Unique: Difference between revisions
Jump to navigation
Jump to search
→Examples
Miraheze>Adám Brudzewsky m (Text replacement - "http://help.dyalog.com/latest/Content/Language/" to "http://help.dyalog.com/latest/index.htm#Language/") |
Miraheze>Marshall |
||
Line 15: | Line 15: | ||
└───┴───┴────┘ | └───┴───┴────┘ | ||
</source> | </source> | ||
In some languages, such as [[ | In some languages, such as [[J]] and [[Dyalog APL 17.0]] and later, Unique applies to the [[major cells]] of an array, including those with rank greater than 1: | ||
<source lang=apl> | <source lang=apl> | ||
⊢x ← (⍳10)∘.∨2 3 6 | ⊢x ← (⍳10)∘.∨2 3 6 |