[Numpy-discussion] detecting point out of bounds...

fred fredmfp@gmail....
Wed Jun 17 18:04:39 CDT 2009


Robert Kern a écrit :

> ((data[:,0]<xmin) | (data[:,0]>xmax) | (data[:,1]<ymin) |
> (data[:,1]>ymax)).sum()
Nice, as usual ;-)
I did not know this writing.

Thanks a lot.


Cheers,


-- 
Fred


More information about the Numpy-discussion mailing list