[Numpy-discussion] flatiter and inequality comparison

Alan G Isaac aisaac at american.edu
Sat Jun 24 09:41:06 CDT 2006


On Fri, 23 Jun 2006, Travis Oliphant apparently wrote: 
> option 2 does make sense (an array of resulting comparisions is returned).  
> Thus now: 
>  >> x=arange(3).flat 
>  >>> x>2 
> array([False, False, False], dtype=bool) 

Thanks!!
Alan







More information about the Numpy-discussion mailing list