Class/Object

cogx.cogmath.algebra.complex

Complex

Related Docs: object Complex | package complex

Permalink

class Complex extends Serializable

Complex numbers.

Annotations
@SerialVersionUID()
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Complex
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Complex(real: Float, imaginary: Float)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def *(that: Float): Complex

    Permalink

    this * that

  4. def *(that: Complex): Complex

    Permalink

    this * that

  5. def +(that: Float): Complex

    Permalink

    this + that

  6. def +(that: Complex): Complex

    Permalink

    this + that

  7. def -(that: Float): Complex

    Permalink

    this - that

  8. def -(that: Complex): Complex

    Permalink

    this - that

  9. def /(that: Complex): Complex

    Permalink

    this / that

  10. def /(that: Float): Complex

    Permalink

    this / that

  11. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def canEqual(other: Any): Boolean

    Permalink

    Helper for equals.

  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def conjugate: Complex

    Permalink

    Get the complex conjugate of this.

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

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

    Permalink

    Test this and other for deep equality.

    Test this and other for deep equality.

    Definition Classes
    Complex → AnyRef → Any
  18. def exp: Complex

    Permalink

    e ^ this

  19. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. def getData: ComplexArray

    Permalink

    Get the data in the tensor, flattened to a linear array.

    Get the data in the tensor, flattened to a linear array.

    Attributes
    protected
  22. def hashCode(): Int

    Permalink

    Required because of overriding equals.

    Required because of overriding equals.

    Definition Classes
    Complex → AnyRef → Any
  23. val imaginary: Float

    Permalink
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def magnitude: Float

    Permalink

    The length of the complex number.

  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. def normSq: Float

    Permalink

    The norm of the complex number.

  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. def phase: Float

    Permalink

    The phase (angle) in radians.

    The phase (angle) in radians.

    This is a number in the range (-Pi, Pi].

  31. def power(exponent: Int): Complex

    Permalink

    this ^ exponent

  32. def print: Unit

    Permalink

    Print out a complex number for debugging.

  33. val real: Float

    Permalink
  34. def reciprocal: Complex

    Permalink

    1/this

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

    Permalink
    Definition Classes
    AnyRef
  36. def toString(): String

    Permalink

    Format the complex number as a String.

    Format the complex number as a String.

    Definition Classes
    Complex → AnyRef → Any
  37. def unary_-(): Complex

    Permalink

    -this

  38. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def ~==(that: Complex): Boolean

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped