scalation.math

Complex

Related Docs: class Complex | package math

object Complex extends Serializable

The Complex companion object defines the origin (zero) and the fourth roots of unity as well as some utility functions.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Complex
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. val _0: Complex

    Zero (0) as a Complex number

  5. val _1: Complex

    One (1) as a Complex number

  6. val _1n: Complex

    Negative one (-1) as a Complex number

  7. val _i: Complex

    Imaginary one (i) as a Complex number

  8. val _in: Complex

    Negative imaginary one (-i) as a Complex number

  9. def abs(c: Complex): Complex

    Return the absolute value of that complex number.

    Return the absolute value of that complex number.

    c

    that complex number

  10. def apply(cs: String): Complex

    Create a complex number from its primary string representation "a+bi".

    Create a complex number from its primary string representation "a+bi". Examples: "2.1+3.2i", "2.1", "3.2i".

    cs

    the string form of a complex number

  11. def apply(ct: (Double, Double)): Complex

    Create a complex number from a pair (Tuple2) of Doubles.

    Create a complex number from a pair (Tuple2) of Doubles.

    ct

    the tuple form of a complex number

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def create(rad: Double, ang: Double): Complex

    Create a complex number from the given polar coordinates.

    Create a complex number from the given polar coordinates.

    rad

    the radius (the length of the vector in the re-im plane)

    ang

    the angle (the angle of the vector above the re-axis)

  15. def create(cs: String): Complex

    Create a complex number from its secondary string representation "(a, b)".

    Create a complex number from its secondary string representation "(a, b)". Examples: "(2.1, 3.2)", "(2.1, 0)", "(0, 3.2)".

    cs

    the string form of a complex number

  16. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

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

    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

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

    Definition Classes
    AnyRef
  25. val ord: Ordering[Complex]

    Ordering for complex numbers.

  26. def sqrt(c: Complex): Complex

    Return the square root of that complex number.

    Return the square root of that complex number.

    c

    that complex number

    See also

    www.mathpropress.com/stan/bibliography/complexSquareRoot.pdf

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped