"Kent Johnson" <[EMAIL PROTECTED]> wrote
Usually based on magnitude alone.
That seems a pretty strange definition of equal, that makes (1, 0)
== (0, 1).
Yes I know! But actually in many engineering situations where phase
is not important it's a good first approximation (for example power
calculation in a single phase AC circuit - you only care about the
magnitude of the current not it's phase.) Of course in other cases
its wildly wrong so you need to apply with caution. In those cases
comparison has to be defined arbitrarily to fit the scenario - but
that's
common practice in engineering. Adapting the rules of math to
suit is all part of the fun! -)
Alan G.
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor