Packages

case class Complex(r: Double, i: Double) extends Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Complex
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
Implicitly
  1. by richDrxAny
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Complex(r: Double, i: Double)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def *(s: Double): Complex
  4. def *(b: Complex): Complex
  5. def +(v: Double): Complex
  6. def +(b: Complex): Complex
  7. def -(v: Double): Complex
  8. def -(b: Complex): Complex
  9. def ->[B](y: B): (Complex, B)
    Implicit
    This member is added by an implicit conversion from Complex toArrowAssoc[Complex] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  10. def /(s: Double): Complex
  11. def /(b: Complex): Complex
  12. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def abs: Double
  14. def applyIf(t: Boolean, f: (Complex) => Complex): Complex
    Implicit
    This member is added by an implicit conversion from Complex toDrxAny[Complex] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  15. def applyIf(t: (Complex) => Boolean)(f: (Complex) => Complex): Complex

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from Complex toDrxAny[Complex] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  16. def arg: Double
  17. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  18. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  19. def conj: Complex
  20. def dist(that: Complex): Double
  21. def elementOf(xs: Set[Complex]): Boolean
    Implicit
    This member is added by an implicit conversion from Complex toDrxAny[Complex] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  22. def ensuring(cond: (Complex) => Boolean, msg: => Any): Complex
    Implicit
    This member is added by an implicit conversion from Complex toEnsuring[Complex] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. def ensuring(cond: (Complex) => Boolean): Complex
    Implicit
    This member is added by an implicit conversion from Complex toEnsuring[Complex] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. def ensuring(cond: Boolean, msg: => Any): Complex
    Implicit
    This member is added by an implicit conversion from Complex toEnsuring[Complex] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  25. def ensuring(cond: Boolean): Complex
    Implicit
    This member is added by an implicit conversion from Complex toEnsuring[Complex] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  26. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def exp: Complex
  28. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  29. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Complex toStringFormat[Complex] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  30. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. val i: Double
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. def log: Complex
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. def noneIf(f: (Complex) => Boolean): Option[Complex]
    Implicit
    This member is added by an implicit conversion from Complex toDrxAny[Complex] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  36. def norm: Double
  37. def normSq: Double
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. def optionIf(f: (Complex) => Boolean): Option[Complex]

    optionally wrap an object

    optionally wrap an object

    Implicit
    This member is added by an implicit conversion from Complex toDrxAny[Complex] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  41. def phase: Angle
  42. def preApply[B](f: (Complex) => B): B

    a preApply f => f(a)

    a preApply f => f(a)

    Implicit
    This member is added by an implicit conversion from Complex toDrxAny[Complex] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  43. def productElementNames: Iterator[String]
    Definition Classes
    Product
  44. val r: Double
  45. def sideEffect(f: (Complex) => Unit): Complex

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from Complex toDrxAny[Complex] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  46. def someIf(f: (Complex) => Boolean): Option[Complex]
    Implicit
    This member is added by an implicit conversion from Complex toDrxAny[Complex] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  47. def sqrt: Complex
  48. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  49. val thisAny: Complex
    Implicit
    This member is added by an implicit conversion from Complex toDrxAny[Complex] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  50. def toVec: Vec
  51. def unary_-: Complex

    negate the vector

  52. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  53. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  54. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Shadowed Implicit Value Members

  1. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Complex toany2stringadd[Complex] performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (complex: any2stringadd[Complex]).+(other)
    Definition Classes
    any2stringadd

Deprecated Value Members

  1. def ?>(f: (Complex) => Boolean): Option[Complex]

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from Complex toDrxAny[Complex] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) to many symbols are hard to undertand

  2. lazy val norm2: Double
    Annotations
    @deprecated
    Deprecated

    (Since version 0.2.13) use normSq instead

  3. def |>[B](f: (Complex) => B): B
    Implicit
    This member is added by an implicit conversion from Complex toDrxAny[Complex] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) use preApply if you must (symbols are concise without concision)

  4. def [B](y: B): (Complex, B)
    Implicit
    This member is added by an implicit conversion from Complex toArrowAssoc[Complex] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion richDrxAny fromComplex to DrxAny[Complex]

Inherited by implicit conversion any2stringadd fromComplex to any2stringadd[Complex]

Inherited by implicit conversion StringFormat fromComplex to StringFormat[Complex]

Inherited by implicit conversion Ensuring fromComplex to Ensuring[Complex]

Inherited by implicit conversion ArrowAssoc fromComplex to ArrowAssoc[Complex]

Ungrouped