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

Stuart Brorson sdb at cloud9.net
Fri Sep 21 21:23:37 EDT 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