scalation.math

Complex

object Complex extends Serializable

This 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. Hide All
  2. Show all
  1. Complex
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

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. val _0: Complex

    Zero (0) as a Complex number

  7. val _1: Complex

    One (1) as a Complex number

  8. val _1n: Complex

    Negative one (-1) as a Complex number

  9. val _i: Complex

    Imaginary one (i) as a Complex number

  10. val _in: Complex

    Negative imaginary one (-i) as a Complex number

  11. 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

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def clone(): AnyRef

    Attributes
    protected[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. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

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

    Ordering for complex numbers.

  25. def readResolve(): AnyRef

    Attributes
    protected
  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