Talk:Nub Sieve

From APL Wiki
Jump to navigation Jump to search

Question: what’s meant by “pre-correction of bad meme” here?

(⍳⍤≢=⍳⍨)⍤(∪⍳1/⊢) ⍝ Pre-correction of bad meme (⍳≢⍵)=⍵⍳⍵

Also, a related question about the 1/⊢‬ part: why make a scalar probe into a vector before searching in the Unique/Nub? I see that doing the search without increasing the probe to rank 1, as in (∪⍳⊢)'A'‬, does not give an error…

Nub-sieve used to be computed like that, but it was a mistake. (∪⍳⊢)'A' would give a scalar, which then errors in ⍳⍨ Adám Brudzewsky 14:54, 29 June 2023 (UTC)