breeze.math.Complex

ComplexIsFractional

implicit object ComplexIsFractional extends ComplexIsFractional with ComplexOrdering

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.

Linear Supertypes
ComplexOrdering, ComplexIsFractional, Fractional[Complex], ComplexIsConflicted, Numeric[Complex], Ordering[Complex], PartialOrdering[Complex], Equiv[Complex], Serializable, Serializable, Comparator[Complex], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ComplexIsFractional
  2. ComplexOrdering
  3. ComplexIsFractional
  4. Fractional
  5. ComplexIsConflicted
  6. Numeric
  7. Ordering
  8. PartialOrdering
  9. Equiv
  10. Serializable
  11. Serializable
  12. Comparator
  13. AnyRef
  14. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class FractionalOps extends scala.math.Fractional.Ops

    Definition Classes
    Fractional
  2. class Ops extends AnyRef

    Definition Classes
    Numeric → Ordering

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def abs(x: Complex): Complex

    Definition Classes
    Numeric
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def compare(a: Complex, b: Complex): Int

    Definition Classes
    ComplexOrdering → Ordering → Comparator
  10. def div(x: Complex, y: Complex): Complex

    Definition Classes
    ComplexIsFractional → Fractional
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def equiv(x: Complex, y: Complex): Boolean

    Definition Classes
    Ordering → PartialOrdering → Equiv
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def fromInt(x: Int): Complex

    Definition Classes
    ComplexIsConflicted → Numeric
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def gt(x: Complex, y: Complex): Boolean

    Definition Classes
    Ordering → PartialOrdering
  18. def gteq(x: Complex, y: Complex): Boolean

    Definition Classes
    Ordering → PartialOrdering
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. def lt(x: Complex, y: Complex): Boolean

    Definition Classes
    Ordering → PartialOrdering
  22. def lteq(x: Complex, y: Complex): Boolean

    Definition Classes
    Ordering → PartialOrdering
  23. def max(x: Complex, y: Complex): Complex

    Definition Classes
    Ordering
  24. def min(x: Complex, y: Complex): Complex

    Definition Classes
    Ordering
  25. def minus(x: Complex, y: Complex): Complex

    Definition Classes
    ComplexIsConflicted → Numeric
  26. implicit def mkNumericOps(lhs: Complex): FractionalOps

    Definition Classes
    Fractional → Numeric
  27. implicit def mkOrderingOps(lhs: Complex): ComplexIsFractional.Ops

    Definition Classes
    Ordering
  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. def negate(x: Complex): Complex

    Definition Classes
    ComplexIsConflicted → Numeric
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. def on[U](f: (U) ⇒ Complex): Ordering[U]

    Definition Classes
    Ordering
  33. def one: Complex

    Definition Classes
    Numeric
  34. def plus(x: Complex, y: Complex): Complex

    Definition Classes
    ComplexIsConflicted → Numeric
  35. def reverse: Ordering[Complex]

    Definition Classes
    Ordering → PartialOrdering
  36. def signum(x: Complex): Int

    Definition Classes
    Numeric
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  38. def times(x: Complex, y: Complex): Complex

    Definition Classes
    ComplexIsConflicted → Numeric
  39. def toDouble(x: Complex): Double

    Definition Classes
    ComplexIsConflicted → Numeric
  40. def toFloat(x: Complex): Float

    Definition Classes
    ComplexIsConflicted → Numeric
  41. def toInt(x: Complex): Int

    Definition Classes
    ComplexIsConflicted → Numeric
  42. def toLong(x: Complex): Long

    Definition Classes
    ComplexIsConflicted → Numeric
  43. def toString(): String

    Definition Classes
    AnyRef → Any
  44. def tryCompare(x: Complex, y: Complex): Some[Int]

    Definition Classes
    Ordering → PartialOrdering
  45. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. def zero: Complex

    Definition Classes
    Numeric

Inherited from ComplexOrdering

Inherited from ComplexIsFractional

Inherited from Fractional[Complex]

Inherited from ComplexIsConflicted

Inherited from Numeric[Complex]

Inherited from Ordering[Complex]

Inherited from PartialOrdering[Complex]

Inherited from Equiv[Complex]

Inherited from Serializable

Inherited from Serializable

Inherited from Comparator[Complex]

Inherited from AnyRef

Inherited from Any

Ungrouped