Comparison of functions
Adriano Varoli Piazza
moranar at alice.it
Sat Jul 30 09:30:20 EDT 2005
Adriano Varoli Piazza ha scritto:
> As far as I recall from Math Analysis, which I studied two months ago,
> you can't sort complex numbers. It makes no sense. The reason being
> (reading from my book), it's not possible to define an order that
> preserves the properties of arithmetical operations on complex numbers.
> So you can't order them, and you can't compare them.
>
Sorry, that should have been "you can't sort them, and you can't compare
them with greater than, lesser than, etc. Of course, using == will work.
But tell me, how do you think sort works if not with <, >, ==, <= and >=
? I'm really interested.
--
Adriano Varoli Piazza
The Inside Out: http://moranar.com.ar
MSN: adrianomd at hotmail.com
ICQ: 4410132
More information about the Python-list
mailing list