Class/Object

cogx.cogmath.algebra.complex

ComplexArray

Related Docs: object ComplexArray | package complex

Permalink

class ComplexArray extends IndexedSeq[Complex] with Serializable

An array of complex numbers; unlike other collections in this package, ComplexArrays are mutable.

Complex numbers are stored in a non-interleaved format in an array of floats: real parts in the first half of the array, followed by imaginary parts in the second half of the array.

Annotations
@SerialVersionUID()
Linear Supertypes
Serializable, Serializable, IndexedSeq[Complex], IndexedSeqLike[Complex, IndexedSeq[Complex]], IndexedSeq[Complex], IndexedSeqLike[Complex, IndexedSeq[Complex]], Seq[Complex], SeqLike[Complex, Seq[Complex]], Cloneable[Seq[Complex]], Cloneable, Cloneable, Seq[Complex], SeqLike[Complex, IndexedSeq[Complex]], GenSeq[Complex], GenSeqLike[Complex, IndexedSeq[Complex]], PartialFunction[Int, Complex], (Int) ⇒ Complex, Iterable[Complex], Iterable[Complex], IterableLike[Complex, IndexedSeq[Complex]], Equals, GenIterable[Complex], GenIterableLike[Complex, IndexedSeq[Complex]], Traversable[Complex], Mutable, Traversable[Complex], GenTraversable[Complex], GenericTraversableTemplate[Complex, IndexedSeq], TraversableLike[Complex, IndexedSeq[Complex]], GenTraversableLike[Complex, IndexedSeq[Complex]], Parallelizable[Complex, ParSeq[Complex]], TraversableOnce[Complex], GenTraversableOnce[Complex], FilterMonadic[Complex, IndexedSeq[Complex]], HasNewBuilder[Complex, scala.collection.mutable.IndexedSeq[cogx.cogmath.algebra.complex.Complex] @scala.annotation.unchecked.uncheckedVariance], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ComplexArray
  2. Serializable
  3. Serializable
  4. IndexedSeq
  5. IndexedSeqLike
  6. IndexedSeq
  7. IndexedSeqLike
  8. Seq
  9. SeqLike
  10. Cloneable
  11. Cloneable
  12. Cloneable
  13. Seq
  14. SeqLike
  15. GenSeq
  16. GenSeqLike
  17. PartialFunction
  18. Function1
  19. Iterable
  20. Iterable
  21. IterableLike
  22. Equals
  23. GenIterable
  24. GenIterableLike
  25. Traversable
  26. Mutable
  27. Traversable
  28. GenTraversable
  29. GenericTraversableTemplate
  30. TraversableLike
  31. GenTraversableLike
  32. Parallelizable
  33. TraversableOnce
  34. GenTraversableOnce
  35. FilterMonadic
  36. HasNewBuilder
  37. AnyRef
  38. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ComplexArray(c: Complex*)

    Permalink

    Convert a sequence of complex numbers to a complex array.

  2. new ComplexArray(length: Int, values: Iterable[Complex])

    Permalink

    Convert an Iterable[Complex] to a complex array.

  3. new ComplexArray(values: Array[Complex])

    Permalink

    Convert an array of Complex to a complex array.

  4. new ComplexArray(size: Int)

    Permalink

    Create a zero-filled complex array of length "size".

  5. new ComplexArray(data: Array[Float])

    Permalink

    data

    Data for the array.

Type Members

  1. class Elements extends AbstractIterator[A] with BufferedIterator[A] with Serializable

    Permalink
    Attributes
    protected
    Definition Classes
    IndexedSeqLike
    Annotations
    @SerialVersionUID()
  2. type Self = IndexedSeq[Complex]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  3. class WithFilter extends FilterMonadic[A, Repr]

    Permalink
    Definition Classes
    TraversableLike

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: Complex): ComplexArray

    Permalink
  4. def *(that: Float): ComplexArray

    Permalink
  5. def +(that: Complex): ComplexArray

    Permalink
  6. def +(that: Float): ComplexArray

    Permalink
  7. def +(that: ComplexArray): ComplexArray

    Permalink

    this + that

  8. def ++[B >: Complex, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[IndexedSeq[Complex], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  9. def ++:[B >: Complex, That](that: Traversable[B])(implicit bf: CanBuildFrom[IndexedSeq[Complex], B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  10. def ++:[B >: Complex, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[IndexedSeq[Complex], B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  11. def +:[B >: Complex, That](elem: B)(implicit bf: CanBuildFrom[IndexedSeq[Complex], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  12. def -(that: Complex): ComplexArray

    Permalink
  13. def -(that: Float): ComplexArray

    Permalink
  14. def -(that: ComplexArray): ComplexArray

    Permalink

    this - that

  15. def /(that: Complex): ComplexArray

    Permalink
  16. def /(that: Float): ComplexArray

    Permalink
  17. def /:[B](z: B)(op: (B, Complex) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  18. def :*(that: ComplexArray): ComplexArray

    Permalink

    this :* that (element-wise multiply)

  19. def :+[B >: Complex, That](elem: B)(implicit bf: CanBuildFrom[IndexedSeq[Complex], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  20. def :/(that: ComplexArray): ComplexArray

    Permalink

    this :/ that (element-wise division)

  21. def :\[B](z: B)(op: (Complex, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  22. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  23. def addString(b: StringBuilder): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  24. def addString(b: StringBuilder, sep: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  25. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  26. def aggregate[B](z: ⇒ B)(seqop: (B, Complex) ⇒ B, combop: (B, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  27. def andThen[C](k: (Complex) ⇒ C): PartialFunction[Int, C]

    Permalink
    Definition Classes
    PartialFunction → Function1
  28. def apply(index: Int): Complex

    Permalink

    Real complex number at location "index" in the array.

    Real complex number at location "index" in the array.

    Definition Classes
    ComplexArray → SeqLike → GenSeqLike → Function1
  29. def applyOrElse[A1 <: Int, B1 >: Complex](x: A1, default: (A1) ⇒ B1): B1

    Permalink
    Definition Classes
    PartialFunction
  30. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  31. def asRawArray: Array[Float]

    Permalink

    Peek at data.

    Peek at data. This is DANGEROUS and exists only for use by the GPU.

    APPLICATIONS MUST NOT USE THIS.

  32. def canEqual(other: Any): Boolean

    Permalink

    Helper for equals.

    Helper for equals.

    Definition Classes
    ComplexArray → IterableLike → Equals
  33. def clone(): Seq[Complex]

    Permalink
    Definition Classes
    Cloneable → AnyRef
  34. def collect[B, That](pf: PartialFunction[Complex, B])(implicit bf: CanBuildFrom[IndexedSeq[Complex], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  35. def collectFirst[B](pf: PartialFunction[Complex, B]): Option[B]

    Permalink
    Definition Classes
    TraversableOnce
  36. def combinations(n: Int): Iterator[IndexedSeq[Complex]]

    Permalink
    Definition Classes
    SeqLike
  37. def companion: GenericCompanion[IndexedSeq]

    Permalink
    Definition Classes
    IndexedSeq → IndexedSeq → Seq → Seq → GenSeq → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
  38. def compose[A](g: (A) ⇒ Int): (A) ⇒ Complex

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  39. def contains[A1 >: Complex](elem: A1): Boolean

    Permalink
    Definition Classes
    SeqLike
  40. def containsSlice[B](that: GenSeq[B]): Boolean

    Permalink
    Definition Classes
    SeqLike
  41. def copy: ComplexArray

    Permalink

    Create a deep copy of this complex array.

  42. def copyTo(target: ComplexArray): Unit

    Permalink

    Copy from "this" to "target".

  43. def copyToArray[B >: Complex](xs: Array[B], start: Int, len: Int): Unit

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  44. def copyToArray[B >: Complex](xs: Array[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  45. def copyToArray[B >: Complex](xs: Array[B], start: Int): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  46. def copyToBuffer[B >: Complex](dest: Buffer[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce
  47. def corresponds[B](that: GenSeq[B])(p: (Complex, B) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  48. def count(p: (Complex) ⇒ Boolean): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  49. def diff[B >: Complex](that: GenSeq[B]): IndexedSeq[Complex]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  50. def distinct: IndexedSeq[Complex]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  51. def dot(that: ComplexArray): Complex

    Permalink
  52. def dotProduct(that: ComplexArray): Complex

    Permalink

    Compute the complex dot product of this and that.

  53. def drop(n: Int): IndexedSeq[Complex]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  54. def dropRight(n: Int): IndexedSeq[Complex]

    Permalink
    Definition Classes
    IterableLike
  55. def dropWhile(p: (Complex) ⇒ Boolean): IndexedSeq[Complex]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  56. def endsWith[B](that: GenSeq[B]): Boolean

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  57. final def eq(arg0: AnyRef): Boolean

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

    Permalink

    Test this and other for deep equality.

    Test this and other for deep equality. Allows == to work.

    Definition Classes
    ComplexArray → GenSeqLike → Equals → AnyRef → Any
  59. def exists(p: (Complex) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  60. def filter(p: (Complex) ⇒ Boolean): IndexedSeq[Complex]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  61. def filterNot(p: (Complex) ⇒ Boolean): IndexedSeq[Complex]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  62. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  63. def find(p: (Complex) ⇒ Boolean): Option[Complex]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  64. def flatMap[B, That](f: (Complex) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[IndexedSeq[Complex], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  65. def flatten[B](implicit asTraversable: (Complex) ⇒ GenTraversableOnce[B]): IndexedSeq[B]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  66. def fold[A1 >: Complex](z: A1)(op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  67. def foldLeft[B](z: B)(op: (B, Complex) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  68. def foldRight[B](z: B)(op: (Complex, B) ⇒ B): B

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  69. def forall(p: (Complex) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  70. def foreach[U](f: (Complex) ⇒ U): Unit

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  71. def genericBuilder[B]: Builder[B, IndexedSeq[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  72. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  73. def groupBy[K](f: (Complex) ⇒ K): Map[K, IndexedSeq[Complex]]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  74. def grouped(size: Int): Iterator[IndexedSeq[Complex]]

    Permalink
    Definition Classes
    IterableLike
  75. def hasDefiniteSize: Boolean

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  76. def hashCode(): Int

    Permalink

    Required because of overriding equals.

    Required because of overriding equals.

    Definition Classes
    ComplexArray → IndexedSeqLike → GenSeqLike → AnyRef → Any
  77. def head: Complex

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  78. def headOption: Option[Complex]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  79. def imaginary(index: Int): Float

    Permalink

    Get the imaginary part of the complex number at location "index".

  80. def imaginaryPart: Array[Float]

    Permalink

    Copy and return the real part of the array.

  81. def indexOf[B >: Complex](elem: B, from: Int): Int

    Permalink
    Definition Classes
    GenSeqLike
  82. def indexOf[B >: Complex](elem: B): Int

    Permalink
    Definition Classes
    GenSeqLike
  83. def indexOfSlice[B >: Complex](that: GenSeq[B], from: Int): Int

    Permalink
    Definition Classes
    SeqLike
  84. def indexOfSlice[B >: Complex](that: GenSeq[B]): Int

    Permalink
    Definition Classes
    SeqLike
  85. def indexWhere(p: (Complex) ⇒ Boolean, from: Int): Int

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  86. def indexWhere(p: (Complex) ⇒ Boolean): Int

    Permalink
    Definition Classes
    GenSeqLike
  87. def indices: Range

    Permalink
    Definition Classes
    SeqLike
  88. def init: IndexedSeq[Complex]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  89. def inits: Iterator[IndexedSeq[Complex]]

    Permalink
    Definition Classes
    TraversableLike
  90. def intersect[B >: Complex](that: GenSeq[B]): IndexedSeq[Complex]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  91. def isDefinedAt(idx: Int): Boolean

    Permalink
    Definition Classes
    GenSeqLike
  92. def isEmpty: Boolean

    Permalink
    Definition Classes
    SeqLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  93. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  94. final def isTraversableAgain: Boolean

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  95. def iterator: Iterator[Complex]

    Permalink
    Definition Classes
    IndexedSeqLike → IterableLike → GenIterableLike
  96. def last: Complex

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  97. def lastIndexOf[B >: Complex](elem: B, end: Int): Int

    Permalink
    Definition Classes
    GenSeqLike
  98. def lastIndexOf[B >: Complex](elem: B): Int

    Permalink
    Definition Classes
    GenSeqLike
  99. def lastIndexOfSlice[B >: Complex](that: GenSeq[B], end: Int): Int

    Permalink
    Definition Classes
    SeqLike
  100. def lastIndexOfSlice[B >: Complex](that: GenSeq[B]): Int

    Permalink
    Definition Classes
    SeqLike
  101. def lastIndexWhere(p: (Complex) ⇒ Boolean, end: Int): Int

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  102. def lastIndexWhere(p: (Complex) ⇒ Boolean): Int

    Permalink
    Definition Classes
    GenSeqLike
  103. def lastOption: Option[Complex]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  104. def length: Int

    Permalink

    Number of elements in the array.

    Number of elements in the array.

    Definition Classes
    ComplexArray → SeqLike → GenSeqLike
  105. def lengthCompare(len: Int): Int

    Permalink
    Definition Classes
    SeqLike
  106. def lift: (Int) ⇒ Option[Complex]

    Permalink
    Definition Classes
    PartialFunction
  107. def map[B, That](f: (Complex) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[Complex], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  108. def mapComplex(f: (Complex) ⇒ Complex): ComplexArray

    Permalink

    Map this array using "f".

  109. def mapToReal(f: (Complex) ⇒ Float): Array[Float]

    Permalink

    Map this array using "f".

  110. def max[B >: Complex](implicit cmp: Ordering[B]): Complex

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  111. def maxBy[B](f: (Complex) ⇒ B)(implicit cmp: Ordering[B]): Complex

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  112. def min[B >: Complex](implicit cmp: Ordering[B]): Complex

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  113. def minBy[B](f: (Complex) ⇒ B)(implicit cmp: Ordering[B]): Complex

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  114. def mkString: String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  115. def mkString(sep: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  116. def mkString(start: String, sep: String, end: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  117. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  118. def newBuilder: Builder[Complex, IndexedSeq[Complex]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    GenericTraversableTemplate → HasNewBuilder
  119. def nonEmpty: Boolean

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  120. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  122. def orElse[A1 <: Int, B1 >: Complex](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

    Permalink
    Definition Classes
    PartialFunction
  123. def padTo[B >: Complex, That](len: Int, elem: B)(implicit bf: CanBuildFrom[IndexedSeq[Complex], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  124. def par: ParSeq[Complex]

    Permalink
    Definition Classes
    Parallelizable
  125. def parCombiner: Combiner[Complex, ParSeq[Complex]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    SeqLike → SeqLike → TraversableLike → Parallelizable
  126. def partition(p: (Complex) ⇒ Boolean): (IndexedSeq[Complex], IndexedSeq[Complex])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  127. def patch[B >: Complex, That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[IndexedSeq[Complex], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  128. def permutations: Iterator[IndexedSeq[Complex]]

    Permalink
    Definition Classes
    SeqLike
  129. def prefixLength(p: (Complex) ⇒ Boolean): Int

    Permalink
    Definition Classes
    GenSeqLike
  130. def product[B >: Complex](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  131. def real(index: Int): Float

    Permalink

    Get the real part of the complex number at location "index".

  132. def realPart: Array[Float]

    Permalink

    Copy and return the real part of the array.

  133. def reduce[A1 >: Complex](op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  134. def reduceLeft[B >: Complex](op: (B, Complex) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce
  135. def reduceLeftOption[B >: Complex](op: (B, Complex) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  136. def reduceOption[A1 >: Complex](op: (A1, A1) ⇒ A1): Option[A1]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  137. def reduceRight[B >: Complex](op: (Complex, B) ⇒ B): B

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  138. def reduceRightOption[B >: Complex](op: (Complex, B) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  139. def repr: IndexedSeq[Complex]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  140. def reverse: IndexedSeq[Complex]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  141. def reverseIterator: Iterator[Complex]

    Permalink
    Definition Classes
    SeqLike
  142. def reverseMap[B, That](f: (Complex) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[Complex], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  143. def reversed: List[Complex]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  144. def runWith[U](action: (Complex) ⇒ U): (Int) ⇒ Boolean

    Permalink
    Definition Classes
    PartialFunction
  145. def sameElements[B >: Complex](that: GenIterable[B]): Boolean

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  146. def scan[B >: Complex, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[IndexedSeq[Complex], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  147. def scanLeft[B, That](z: B)(op: (B, Complex) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[Complex], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  148. def scanRight[B, That](z: B)(op: (Complex, B) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[Complex], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  149. def segmentLength(p: (Complex) ⇒ Boolean, from: Int): Int

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  150. def seq: IndexedSeq[Complex]

    Permalink
    Definition Classes
    IndexedSeq → IndexedSeq → IndexedSeqLike → Seq → Seq → GenSeq → GenSeqLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  151. def size: Int

    Permalink
    Definition Classes
    SeqLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
  152. def slice(from: Int, until: Int): ComplexArray

    Permalink

    Extract subarray from index "from" (inclusive) to "until" (exclusive).

    Extract subarray from index "from" (inclusive) to "until" (exclusive).

    Definition Classes
    ComplexArray → IterableLike → TraversableLike → GenTraversableLike
  153. def sliceAndCopyTo(from: Int, until: Int, to: ComplexArray, toStart: Int): Unit

    Permalink

    Copy a contiguous slice of "this" complex array spanning indices ("from" until "until") into the complex array "to" starting at index "toStart"

  154. def sliding(size: Int, step: Int): Iterator[IndexedSeq[Complex]]

    Permalink
    Definition Classes
    IterableLike
  155. def sliding(size: Int): Iterator[IndexedSeq[Complex]]

    Permalink
    Definition Classes
    IterableLike
  156. def sortBy[B](f: (Complex) ⇒ B)(implicit ord: Ordering[B]): IndexedSeq[Complex]

    Permalink
    Definition Classes
    SeqLike
  157. def sortWith(lt: (Complex, Complex) ⇒ Boolean): IndexedSeq[Complex]

    Permalink
    Definition Classes
    SeqLike
  158. def sorted[B >: Complex](implicit ord: Ordering[B]): IndexedSeq[Complex]

    Permalink
    Definition Classes
    SeqLike
  159. def span(p: (Complex) ⇒ Boolean): (IndexedSeq[Complex], IndexedSeq[Complex])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  160. def splitAt(n: Int): (IndexedSeq[Complex], IndexedSeq[Complex])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  161. def startsWith[B](that: GenSeq[B], offset: Int): Boolean

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  162. def startsWith[B](that: GenSeq[B]): Boolean

    Permalink
    Definition Classes
    GenSeqLike
  163. def stringPrefix: String

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  164. def sum[B >: Complex](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  165. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  166. def tail: IndexedSeq[Complex]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  167. def tails: Iterator[IndexedSeq[Complex]]

    Permalink
    Definition Classes
    TraversableLike
  168. def take(n: Int): IndexedSeq[Complex]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  169. def takeRight(n: Int): IndexedSeq[Complex]

    Permalink
    Definition Classes
    IterableLike
  170. def takeWhile(p: (Complex) ⇒ Boolean): IndexedSeq[Complex]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  171. def thisCollection: IndexedSeq[Complex]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IndexedSeqLike → IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  172. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Complex, Col[Complex]]): Col[Complex]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  173. def toArray[B >: Complex](implicit arg0: ClassTag[B]): Array[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  174. def toBuffer[A1 >: Complex]: Buffer[A1]

    Permalink
    Definition Classes
    IndexedSeqLike → TraversableOnce → GenTraversableOnce
  175. def toCollection(repr: IndexedSeq[Complex]): IndexedSeq[Complex]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IndexedSeqLike → IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  176. def toIndexedSeq: IndexedSeq[Complex]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  177. def toIterable: Iterable[Complex]

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  178. def toIterator: Iterator[Complex]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  179. def toList: List[Complex]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  180. def toMap[T, U](implicit ev: <:<[Complex, (T, U)]): Map[T, U]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  181. def toSeq: Seq[Complex]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
  182. def toSet[B >: Complex]: Set[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  183. def toStream: Stream[Complex]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  184. def toString(): String

    Permalink
    Definition Classes
    SeqLike → TraversableLike → Any
  185. def toTraversable: Traversable[Complex]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  186. def toVector: scala.Vector[Complex]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  187. def transform(f: (Complex) ⇒ Complex): ComplexArray.this.type

    Permalink
    Definition Classes
    SeqLike
  188. def transpose[B](implicit asTraversable: (Complex) ⇒ GenTraversableOnce[B]): IndexedSeq[IndexedSeq[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  189. def union[B >: Complex, That](that: GenSeq[B])(implicit bf: CanBuildFrom[IndexedSeq[Complex], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  190. def unzip[A1, A2](implicit asPair: (Complex) ⇒ (A1, A2)): (IndexedSeq[A1], IndexedSeq[A2])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  191. def unzip3[A1, A2, A3](implicit asTriple: (Complex) ⇒ (A1, A2, A3)): (IndexedSeq[A1], IndexedSeq[A2], IndexedSeq[A3])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  192. def update(index: Int, realOnly: Float): Unit

    Permalink

    Write location "index" with Float "value".

    Write location "index" with Float "value". Hopefully higher performing than invoking an implicit conversion to a Complex.

  193. def update(index: Int, real: Float, imaginary: Float): Unit

    Permalink

    Write location "index" with (real, imaginary).

  194. def update(index: Int, value: Complex): Unit

    Permalink

    Write location "index" with "value".

    Write location "index" with "value".

    Definition Classes
    ComplexArray → IndexedSeqLike → SeqLike
  195. def updated[B >: Complex, That](index: Int, elem: B)(implicit bf: CanBuildFrom[IndexedSeq[Complex], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  196. def view(from: Int, until: Int): IndexedSeqView[Complex, IndexedSeq[Complex]]

    Permalink
    Definition Classes
    IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  197. def view: IndexedSeqView[Complex, IndexedSeq[Complex]]

    Permalink
    Definition Classes
    IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  198. def viewImaginaryPart: VirtualArray

    Permalink

    Get the imaginary part of the complex array.

  199. def viewRealPart: VirtualArray

    Permalink

    Get the real part of the complex array.

  200. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  203. def withFilter(p: (Complex) ⇒ Boolean): FilterMonadic[Complex, IndexedSeq[Complex]]

    Permalink
    Definition Classes
    TraversableLike → FilterMonadic
  204. def zip[A1 >: Complex, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[IndexedSeq[Complex], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  205. def zipAll[B, A1 >: Complex, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[IndexedSeq[Complex], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  206. def zipWithIndex[A1 >: Complex, That](implicit bf: CanBuildFrom[IndexedSeq[Complex], (A1, Int), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  207. def ~==(that: ComplexArray): Boolean

    Permalink

    Compare this and that for approximate equality.

Inherited from Serializable

Inherited from Serializable

Inherited from IndexedSeq[Complex]

Inherited from IndexedSeqLike[Complex, IndexedSeq[Complex]]

Inherited from IndexedSeq[Complex]

Inherited from IndexedSeqLike[Complex, IndexedSeq[Complex]]

Inherited from Seq[Complex]

Inherited from SeqLike[Complex, Seq[Complex]]

Inherited from Cloneable[Seq[Complex]]

Inherited from Cloneable

Inherited from Cloneable

Inherited from Seq[Complex]

Inherited from SeqLike[Complex, IndexedSeq[Complex]]

Inherited from GenSeq[Complex]

Inherited from GenSeqLike[Complex, IndexedSeq[Complex]]

Inherited from PartialFunction[Int, Complex]

Inherited from (Int) ⇒ Complex

Inherited from Iterable[Complex]

Inherited from Iterable[Complex]

Inherited from IterableLike[Complex, IndexedSeq[Complex]]

Inherited from Equals

Inherited from GenIterable[Complex]

Inherited from GenIterableLike[Complex, IndexedSeq[Complex]]

Inherited from Traversable[Complex]

Inherited from Mutable

Inherited from Traversable[Complex]

Inherited from GenTraversable[Complex]

Inherited from GenericTraversableTemplate[Complex, IndexedSeq]

Inherited from TraversableLike[Complex, IndexedSeq[Complex]]

Inherited from GenTraversableLike[Complex, IndexedSeq[Complex]]

Inherited from Parallelizable[Complex, ParSeq[Complex]]

Inherited from TraversableOnce[Complex]

Inherited from GenTraversableOnce[Complex]

Inherited from FilterMonadic[Complex, IndexedSeq[Complex]]

Inherited from HasNewBuilder[Complex, scala.collection.mutable.IndexedSeq[cogx.cogmath.algebra.complex.Complex] @scala.annotation.unchecked.uncheckedVariance]

Inherited from AnyRef

Inherited from Any

Ungrouped