[Numpy-discussion] Efficient removal of duplicates

Hanno Klemm klemm at phys.ethz.ch
Mon Dec 15 13:27:51 EST 2008


Hi,

I the following problem: I have a relatively long array of points
[(x0,y0), (x1,y1), ...]. Apparently, I have some duplicate entries, which
prevents the Delaunay triangulation algorithm from completing its task.

Question, is there an efficent way, of getting rid of the duplicate
entries?
All I can think of involves loops. 

Thanks and regards,
Hanno


-- 
Hanno Klemm
klemm at phys.ethz.ch





More information about the NumPy-Discussion mailing list