- Companion:
- class
Type members
Classlikes
Complex as scala.math.Numeric trait.
Conversions to Int, Float and Double are only performed
if the imaginary component of the complex number is exactly 0.
Complex as scala.math.Numeric trait.
Conversions to Int, Float and Double are only performed
if the imaginary component of the complex number is exactly 0.
Implicit object providing scala.math.Fractional capabilities.
Although complex numbers have no natural ordering, some kind of
Ordering is required because Numeric extends Ordering. Hence,
an ordering based upon the real then imaginary components is used.
Implicit object providing scala.math.Fractional capabilities.
Although complex numbers have no natural ordering, some kind of
Ordering is required because Numeric extends Ordering. Hence,
an ordering based upon the real then imaginary components is used.
- Companion:
- class
Ordering for complex numbers: orders lexicographically first on the real, then on the imaginary part of the number.
Ordering for complex numbers: orders lexicographically first on the real, then on the imaginary part of the number.