Obsolesence of <>
dnew at san.rr.com
Fri Jun 1 22:43:58 CEST 2001
Jose' Sebrosa wrote:
> The problem with complexes is to arrange them in a unidimentional structure. As
> we can map R to C (and vice-versa), it is possible:
> Thats the only way I can figure to invent a comparison between two complexes,
> and it seems preety absurd to me...
If you're looking for a consistant but nonsense way of comparing tuples,
you could compare them as tuples of floats. A < B if A.real < B.real ||
(A.real == B.real && A.imag < B.imag).
Not very good mathematics, but then mathematicians don't try to do that.
:-) It certainly doesn't make any *less* sense than "foo" < 27.
Darren New / Senior MTS & Free Radical / Invisible Worlds Inc.
San Diego, CA, USA (PST). Cryptokeys on demand.
This is top-quality raw fish, the Rolls-Rice of Sushi!
More information about the Python-list