2,962
edits
m (Text replacement - "{{APL built-ins}}" to "{{APL built-ins}}Category:Primitive functions") |
(→Documentation: BQN) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 20: | Line 20: | ||
Nub Sieve can be used to filter a [[matrix]] by some of its columns, or find its unique rows. | Nub Sieve can be used to filter a [[matrix]] by some of its columns, or find its unique rows. | ||
<source lang=apl> | <source lang=apl> | ||
⎕← a ← (⍳6) ∘.! 3+⍳3 | |||
4 5 6 | 4 5 6 | ||
6 10 15 | 6 10 15 | ||
Line 89: | Line 89: | ||
:''See also [[Unique#History]].'' | :''See also [[Unique#History]].'' | ||
Nubsieve (<source lang=apl inline>≠</source>) first appeared in [[A Dictionary of APL]] in 1987, and was eventually added to [[SHARP APL]]. It appears [https://code.jsoftware.com/wiki/Vocabulary/tildeco in J] as <source lang=j inline>~:</source> or Nub Sieve. It is also included in [[Dyalog APL 18.0]], | Nubsieve (<source lang=apl inline>≠</source>) first appeared in [[A Dictionary of APL]] in 1987, and was eventually added to [[SHARP APL]]. It appears [https://code.jsoftware.com/wiki/Vocabulary/tildeco in J] as <source lang=j inline>~:</source> or Nub Sieve. It is also included in [[Dyalog APL 18.0]], released June 2020. | ||
== External links == | == External links == | ||
Line 95: | Line 95: | ||
=== Documentation === | === Documentation === | ||
* [https://help.dyalog.com/18.0/#Language/Primitive%20Functions/Unique%20Mask.htm Dyalog] | |||
* J [https://www.jsoftware.com/help/dictionary/d222.htm Dictionary], [https://code.jsoftware.com/wiki/Vocabulary/tildeco NuVoc] (as <source lang=j inline>~:</source>) | * J [https://www.jsoftware.com/help/dictionary/d222.htm Dictionary], [https://code.jsoftware.com/wiki/Vocabulary/tildeco NuVoc] (as <source lang=j inline>~:</source>) | ||
* [https://mlochbaum.github.io/BQN/doc/selfcmp.html#mark-firsts BQN] (as <code>∊</code>) | |||
{{APL built-ins}}[[Category:Primitive functions]] | {{APL built-ins}}[[Category:Primitive functions]][[Category:Set functions]] |