>>
APLDN Home

>>
Events

>>
Trainings

>>
APL Books

>>
APLDN Links

>>
Discussion Groups

>>
Downloads

>>
Articles

>>
Library

>>
Learning Tools

>>
APLDN User IO

>>
APL2000.com




Features

Author Thread: Unique (Nub Sieve) needed
Richard.Hill
Unique (Nub Sieve) needed
Posted: Saturday, March 19, 2005 1:13 AM (EST)

(on behalf of Michael Kassler)

there is a function called Unique  (alt c) (upside down u) in the

APL2 spec. refer Gilman &Rose 3rd edition page 130.

It appears similar to Iverson's Nub Sieve.

What are the plans to provide this in APL+Win?

 


Comments:

Author Thread:
davin.church
Unique (Nub Sieve) needed
Posted: Saturday, March 19, 2005 3:54 PM (EST)

Haven't you got the symbol upside-down?  I think it should be "cup" (alt-V).

 

Unique is a pretty easy utility function to write, with two common algorithms depending on whether speed or original order is important to you.  Most everyone has at least one of them in their toolbox already.

 

However, at the last APL2000 conference, a request was made to add dyadic versions of those two symbols ("cap" and "cup") to perform intersection and union (respectively).  I don't know if those are actively being considered for inclusion, but if so I would like to hope that Unique gets added at the same time.

     



APL2000 Official Web Site

Here is a test to find out whether your mission in life is complete. If you're alive, it isn't.
--- Richard Bach

APLDN Home   |    |  Events   |  Trainings   |  APL Books   |  APLDN Links   |    |  Discussion Groups   |    |  Downloads   |  Articles   |  Library   |  Learning Tools   |  APLDN User IO   |  APL2000.com   |