comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » 2D UNIQ function?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
2D UNIQ function? [message #12547] Wed, 19 August 1998 00:00
Harald Frey is currently offline  Harald Frey
Messages: 41
Registered: March 1997
Member
I'm looking for a UNIQ function that finds unique elements in a
two-dimensional array. Something like

a=[[1,2],[1,2],[2,3],[3,4],[3,4]]
result=UNIQ2D(a)
print,result
[1,2], [2,3], [3,4]

Did anybody already solve that problem?

Harald Frey
hfrey@ssl.berkeley.edu
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: grey scale
Next Topic: Re: desensitizing selected elements of CW_BGROUP

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 02:07:05 PDT 2025

Total time taken to generate the page: 1.04263 seconds