ComplexIsFractional

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 Equiv[Complex]
trait Serializable
trait Comparator[Complex]
class Object
trait Matchable
class Any

Type members

Inherited classlikes

Inherited from:
Fractional
Inherited from:
Numeric
Inherited from:
Ordering

Value members

Concrete methods

Inherited methods

Inherited from:
Numeric
override def compare(a: Complex, b: Complex): Int
Definition Classes
ComplexOrdering -> Ordering -> Comparator
Inherited from:
ComplexOrdering
def div(x: Complex, y: Complex): Complex
Inherited from:
ComplexIsFractional
override def equiv(x: Complex, y: Complex): Boolean
Definition Classes
Inherited from:
Ordering
Inherited from:
ComplexIsConflicted
override def gt(x: Complex, y: Complex): Boolean
Definition Classes
Inherited from:
Ordering
override def gteq(x: Complex, y: Complex): Boolean
Definition Classes
Inherited from:
Ordering
def isReverseOf(other: Ordering[_]): Boolean
Inherited from:
Ordering
override def lt(x: Complex, y: Complex): Boolean
Definition Classes
Inherited from:
Ordering
override def lteq(x: Complex, y: Complex): Boolean
Definition Classes
Inherited from:
Ordering
def max[U <: Complex](x: U, y: U): U
Inherited from:
Ordering
def min[U <: Complex](x: U, y: U): U
Inherited from:
Ordering
Inherited from:
ComplexIsConflicted
Inherited from:
ComplexIsConflicted
def on[U](f: U => Complex): Ordering[U]
Inherited from:
Ordering
Inherited from:
Numeric
Inherited from:
Ordering
def orElseBy[S](f: Complex => S)(implicit ord: Ordering[S]): Ordering[Complex]
Inherited from:
Ordering
Inherited from:
ComplexIsConflicted
override def reverse: Ordering[Complex]
Definition Classes
Inherited from:
Ordering
def reversed(): Comparator[Complex]
Inherited from:
Comparator
Inherited from:
Numeric
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 thenComparing(x$0: Comparator[_ >: Complex <: <FromJavaObject>]): Comparator[Complex]
Inherited from:
Comparator
def thenComparingDouble(x$0: ToDoubleFunction[_ >: Complex <: <FromJavaObject>]): Comparator[Complex]
Inherited from:
Comparator
def thenComparingInt(x$0: ToIntFunction[_ >: Complex <: <FromJavaObject>]): Comparator[Complex]
Inherited from:
Comparator
def thenComparingLong(x$0: ToLongFunction[_ >: Complex <: <FromJavaObject>]): Comparator[Complex]
Inherited from:
Comparator
Inherited from:
ComplexIsConflicted
Inherited from:
ComplexIsConflicted
def toInt(x: Complex): Int
Inherited from:
ComplexIsConflicted
Inherited from:
ComplexIsConflicted
Inherited from:
Ordering
Inherited from:
Numeric

Deprecated and Inherited methods

@deprecated(message = "use `sign` method instead", since = "2.13.0")
def signum(x: Complex): Int
Deprecated
[Since version 2.13.0] use `sign` method instead
Inherited from:
Numeric

Implicits

Inherited implicits

implicit override def mkNumericOps(lhs: Complex): FractionalOps
Definition Classes
Inherited from:
Fractional
implicit def mkOrderingOps(lhs: Complex): OrderingOps
Inherited from:
Ordering