[Numpy-discussion] member1d and unique elements

Gael Varoquaux gael.varoquaux@normalesup....
Sun Aug 3 12:18:09 CDT 2008


On Sun, Aug 03, 2008 at 07:16:42PM +0200, Stéfan van der Walt wrote:
> 2008/8/3 Greg Novak <novak@ucolick.org>:
> > First of all, my desired operation is well-posed:  I'd like f(ar1,
> > ar2) to return something in the shape of ar1 with True if the value at
> > that position appears anywhere in ar2 (regardless of duplication) and
> > False otherwise.

> Just because one-liners are so irresistable:

Damn, a perl programmer has sneeked in this mailing-list. Please call
security.

Gaël


More information about the Numpy-discussion mailing list