[Numpy-discussion] setmember1d memory leak?
robert.kern at gmail.com
Tue Jan 23 13:44:40 EST 2007
Robert Cimrman wrote:
> Robert Kern wrote:
>> Jan Strube wrote:
>>> I would also like to see a method that doesn't have the unique members
>>> If setmember1d cannot be modified to do that, is there another method
>>> that doesn't have these restrictions. Or could one be added?
>> If you can write one that's reasonably efficient, yes.
> Or you could just call unique1d prior to your call to setmember1d - it
> was meant to be used that way... you would not loose much speed that
> way, IMHO.
But that doesn't do what they want. They want a function that gives the mask
against their original array of the elements that are in the other array. The
is a mask against
as they want.
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the NumPy-Discussion