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

David Goldsmith David.L.Goldsmith@noaa....
Fri Sep 21 22:01:36 CDT 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@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