[Numpy-discussion] Question about numpy.max(<complex matrix>)

David Goldsmith David.L.Goldsmith at noaa.gov
Fri Sep 21 23:01:36 EDT 2007


In reply to your reply (which I inadvertently deleted  :-[ ) to my reply:

Point well-made and taken. :-)

DG

Stuart Brorson wrote:
>> No. It is a matter of sorting first on the real part, and then resolving
>> duplicates by sorting on the imaginary part.  The magnitude is not used:
>>     
> [snip]
>
> Oh, OK.  So the ordering algorithm for complex numbers is:
>
> 1.  First sort on real part.
> 2.  Then sort on imag part.
>
> Right?
>
> Stuart
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>   

-- 
ERD/ORR/NOS/NOAA <http://response.restoration.noaa.gov/emergencyresponse/>



More information about the NumPy-Discussion mailing list