What is your actual problem that you are trying to solve by comparing
imaginary numbers?
The reals are an ordered field.
The complex numbers are a field but cannot support an ordering that is
consistent with
the field (or even ring) axioms.
The imaginary numbers are not a field or even a ring.
To q
That's hard to define unambiguously at a mathematical level. What
definition did you have in mind? Can you provide more context? (Maybe
you want to compare Mod(x) to Mod(y) ?)
On 2024-03-25 3:23 a.m., Thomas K wrote:
Needing a < , > comparison for imaginary numbers
__
?complex
On March 25, 2024 12:23:43 AM PDT, Thomas K wrote:
>Needing a < , > comparison for imaginary numbers
>
>__
>R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the post
Hi Thomas,
If you want to compare the imaginary portions, you could do:
Im(z1) < Im(z2)
If you want to compare the magnitudes, you could do:
Mod(z1) < Mod(z2)
If you want to compare complex numbers, i.e. z1 < z2, well that just
doesn't make sense.
On Mon, Mar 25, 2024, 10:17 Thomas K wrote:
4 matches
Mail list logo