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
trait ComplexOrdering
trait ComplexIsFractional
trait Fractional[Complex]
trait ComplexIsConflicted
trait PartialOrdering[Complex]
trait Serializable
trait Comparator[Complex]
class Object
trait Matchable
class Any
ComplexIsFractional.type
Type members
Inherited classlikes
Value members
Concrete methods
Inherited methods
def thenComparing[U <: Comparable[_ >: U <: <FromJavaObject>]](x$0: Function[_ >: Complex <: <FromJavaObject>, _ <: U]): Comparator[Complex]
- Inherited from:
- Comparator
def thenComparing[U <: <FromJavaObject>](x$0: Function[_ >: Complex <: <FromJavaObject>, _ <: U], x$1: Comparator[_ >: U <: <FromJavaObject>]): Comparator[Complex]
- Inherited from:
- Comparator
def thenComparingDouble(x$0: ToDoubleFunction[_ >: Complex <: <FromJavaObject>]): Comparator[Complex]
- Inherited from:
- Comparator
Deprecated and Inherited methods
@deprecated(message = "use `sign` method instead", since = "2.13.0")
- Deprecated
[Since version 2.13.0]use `sign` method instead- Inherited from:
- Numeric