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

Home » Public Forums » archive » remove duplicates WITHOUT sorting
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
remove duplicates WITHOUT sorting [message #52573] Mon, 12 February 2007 09:02
rpertaub@gmail.com is currently offline  rpertaub@gmail.com
Messages: 43
Registered: January 2007
Member
Hello All,
I have an array of 2xn which is a list of coordinates (x,y positions)
and I need to remove any duplicates in this array. Since they are x,y
coordinates I cannot really sort the array, hence cannot use the Uniq
function. Is there another way of doing this?
My array:
2 30
4 5
3 9
51 19
12 15
3 9
11 22
32 33
14 25
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: log output of an existing idl process
Next Topic: remove duplicates WITHOUT sorting

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

Current Time: Thu Oct 09 21:15:36 PDT 2025

Total time taken to generate the page: 0.64307 seconds