On Thu, 22 Jan 2009 11:23:43 +0100
  Robert Cimrman <[email protected]> wrote:
> Nils Wagner wrote:
>> Hi all,
>> 
>> what is the best way to check if the entries (integers)
>> of an array are stored in ascending order ?
> 
> Hi Nils,
> 
> Try np.alltrue( ar[1:] > ar[:-1] ).
> 
> r.
  
Thank you !

Nils
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to