Nub Sieve: Difference between revisions

Jump to navigation Jump to search
5 bytes removed ,  14:03, 10 June 2020
m
Updated: Dyalog 18.0 will be released → was released June 2020
m (Updated: Dyalog 18.0 will be released → was released June 2020)
(One intermediate revision by one other user 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
       ⎕← 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]], slated for release in 2020.
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 ==
12

edits

Navigation menu