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

Stuart Brorson sdb@cloud9....
Fri Sep 21 20:23:37 CDT 2007


> 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


More information about the Numpy-discussion mailing list