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 
Return to the default flat view 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
[Message index]
 
Read Message
Previous Topic: grey scale
Next Topic: Re: desensitizing selected elements of CW_BGROUP

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

Current Time: Mon Oct 13 02:14:06 PDT 2025

Total time taken to generate the page: 1.03855 seconds