Class/Object

cogx.cogmath.algebra.complex

ComplexVector

Related Docs: object ComplexVector | package complex

Permalink

class ComplexVector extends AnyRef

An immutable vector of complex numbers.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ComplexVector
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ComplexVector(values: Array[Complex])

    Permalink
  2. new ComplexVector(real: real.Vector)

    Permalink

    Create a complex vector from a "real" vector (imaginary part = 0).

  3. new ComplexVector(length: Int)

    Permalink

    Create a zero-filled vector of size "length".

  4. new ComplexVector(real: real.Vector, imaginary: real.Vector)

    Permalink

    Create a complex vector from a real and imaginary vector.

  5. new ComplexVector(data: ComplexArray)

    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 *(d: Float): ComplexVector

    Permalink
  4. def +(that: ComplexVector): ComplexVector

    Permalink
  5. def +(c: Complex): ComplexVector

    Permalink
  6. def +(d: Float): ComplexVector

    Permalink
  7. def -(that: ComplexVector): ComplexVector

    Permalink
  8. def -(c: Complex): ComplexVector

    Permalink
  9. def -(d: Float): ComplexVector

    Permalink
  10. def /(d: Float): ComplexVector

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def apply(index: Int): Complex

    Permalink

    Read element "index".

  13. def asComplexArray: ComplexArray

    Permalink

    View the complex vector as a complex array.

  14. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def copy: ComplexVector

    Permalink

    Make a copy of this complex vector.

  17. def dot(that: ComplexVector): Complex

    Permalink

    Dot product of "this" and "that".

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

    Permalink
    Definition Classes
    AnyRef
  19. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    ComplexVector → AnyRef → Any
  20. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. def imaginary: real.Vector

    Permalink

    Read the imaginary part of all vector elements as a Vector.

  24. def imaginaryAt(index: Int): Float

    Permalink

    Read the imaginary part of element "index".

  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def length: Int

    Permalink
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  30. def print: Unit

    Permalink

    Print out the vector for debugging.

  31. def real: real.Vector

    Permalink

    Read the real part of all vector elements as a Vector.

  32. def realAt(index: Int): Float

    Permalink

    Read the real part of element "index".

  33. def reduce(f: (Complex, Complex) ⇒ Complex): Complex

    Permalink

    Reduce a complex vector to a single number.

  34. val shape: geometry.Shape

    Permalink

    Number of elements in the vector.

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

    Permalink
    Definition Classes
    AnyRef
  36. def toArray: Array[Complex]

    Permalink
  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. def unary_-(): ComplexVector

    Permalink
  39. final def wait(): Unit

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

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

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

    Permalink

    Compare against another ComplexVector for approximate equality

Inherited from AnyRef

Inherited from Any

Ungrouped