Trait

de.h2b.scala.lib.math.linalg

MatrixLike

Related Doc: package linalg

Permalink

trait MatrixLike[E, +M <: Matrix[E]] extends GenMatrixLike[E, M]

Implementation trait for matrices of type Matrix[E}.

Since

2.0.0

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MatrixLike
  2. GenMatrixLike
  3. IterableLike
  4. GenIterableLike
  5. TraversableLike
  6. GenTraversableLike
  7. Parallelizable
  8. TraversableOnce
  9. GenTraversableOnce
  10. FilterMonadic
  11. HasNewBuilder
  12. Equals
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Self = M

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

    Permalink
    Definition Classes
    TraversableLike

Abstract Value Members

  1. implicit abstract val elemTag: ClassTag[E]

    Permalink
    Attributes
    protected
    Definition Classes
    GenMatrixLike
  2. abstract def iterator: Iterator[Vector[E]]

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  3. abstract def newBuilder: MatrixBuilder[Vector[E], M]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    GenMatrixLike → TraversableLike → HasNewBuilder
  4. abstract def seq: TraversableOnce[Vector[E]]

    Permalink
    Definition Classes
    Parallelizable

Concrete 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 <: Vector[E]](v: That)(implicit vbf: VectorCanBuildFrom[That, E, That]): That

    Permalink

    Returns the product of this and v.

    Returns the product of this and v.

    v

    the vector to be multiplied

    returns

    this*v

    Definition Classes
    MatrixLikeGenMatrixLike
  4. def *[That >: M <: Matrix[E]](b: That)(implicit vbf: VectorCanBuildFrom[Vector[E], E, Vector[E]], mbf: MatrixCanBuildFrom[MatrixLike.this.type, Vector[E], That]): That

    Permalink

    Returns the product of this and b.

    Returns the product of this and b.

    b

    the other matrix to be multiplied

    returns

    this*b

    Definition Classes
    MatrixLikeGenMatrixLike
  5. def *(s: E): M

    Permalink

    Scales this matrix by s.

    Scales this matrix by s.

    returns

    this*s

    Definition Classes
    GenMatrixLike
  6. def +[That >: M <: Matrix[E]](b: That)(implicit vbf: VectorCanBuildFrom[Vector[E], E, Vector[E]], mbf: MatrixCanBuildFrom[MatrixLike.this.type, Vector[E], That]): That

    Permalink

    Returns the sum of this and b.

    Returns the sum of this and b.

    b

    the other matrix to be added

    returns

    this+b

    Definition Classes
    GenMatrixLike
  7. def ++[B >: Vector[E], That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[M, B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  8. def ++:[B >: Vector[E], That](that: Traversable[B])(implicit bf: CanBuildFrom[M, B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  9. def ++:[B >: Vector[E], That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[M, B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  10. def -[That >: M <: Matrix[E]](b: That)(implicit vbf: VectorCanBuildFrom[Vector[E], E, Vector[E]], mbf: MatrixCanBuildFrom[MatrixLike.this.type, Vector[E], That]): That

    Permalink

    Returns the difference of this and b.

    Returns the difference of this and b.

    b

    the other matrix to be subtracted

    returns

    this-b

    Definition Classes
    GenMatrixLike
  11. def /:[B](z: B)(op: (B, Vector[E]) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  12. def :\[B](z: B)(op: (Vector[E], B) ⇒ B): B

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def @@(at: (Int, Int)): M

    Permalink

    at

    tuple of the lower row- and column-index bounds of the new matrix

    returns

    a copy of this matrix with the specified lower row- and column-index bounds; all row vectors are shifted to this bound

    Definition Classes
    GenMatrixLike
  15. def addString(b: StringBuilder): StringBuilder

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

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

    Permalink
    Definition Classes
    TraversableOnce
  18. def aggregate[B](z: ⇒ B)(seqop: (B, Vector[E]) ⇒ B, combop: (B, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  19. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  20. def atCol(at: Int): M

    Permalink

    at

    the lower column-index bound of the new matrix

    returns

    a copy of this matrix with the specified lower column-index bound; all row vectors are shifted to this bound

    Definition Classes
    MatrixLikeGenMatrixLike
  21. def atRow(at: Int): M

    Permalink

    at

    the lower row-index bound of the new matrix

    returns

    a copy of this matrix with the specified lower row-index bound

    Definition Classes
    MatrixLikeGenMatrixLike
  22. def binaryOp[That >: M <: Matrix[E]](f: (Vector[E], Vector[E]) ⇒ Vector[E], b: That)(implicit bf: MatrixCanBuildFrom[MatrixLike.this.type, Vector[E], That]): That

    Permalink
    Attributes
    protected
    Definition Classes
    MatrixLikeGenMatrixLike
  23. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    IterableLike → Equals
  24. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. def collect[B, That](pf: PartialFunction[Vector[E], B])(implicit bf: CanBuildFrom[M, B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  26. def collectFirst[B](pf: PartialFunction[Vector[E], B]): Option[B]

    Permalink
    Definition Classes
    TraversableOnce
  27. def copyToArray[B >: Vector[E]](xs: Array[B], start: Int, len: Int): Unit

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  30. def copyToBuffer[B >: Vector[E]](dest: Buffer[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce
  31. def count(p: (Vector[E]) ⇒ Boolean): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  32. def drop(n: Int): M

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  33. def dropRight(n: Int): M

    Permalink
    Definition Classes
    IterableLike
  34. def dropWhile(p: (Vector[E]) ⇒ Boolean): M

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  35. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  37. def exists(p: (Vector[E]) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  38. def filter(p: (Vector[E]) ⇒ Boolean): M

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  39. def filterNot(p: (Vector[E]) ⇒ Boolean): M

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

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

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  42. def flatMap[B, That](f: (Vector[E]) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[M, B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  43. def fold[A1 >: Vector[E]](z: A1)(op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  44. def foldLeft[B](z: B)(op: (B, Vector[E]) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  45. def foldRight[B](z: B)(op: (Vector[E], B) ⇒ B): B

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  46. def forall(p: (Vector[E]) ⇒ Boolean): Boolean

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

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  48. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  49. def groupBy[K](f: (Vector[E]) ⇒ K): Map[K, M]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  50. def grouped(size: Int): Iterator[M]

    Permalink
    Definition Classes
    IterableLike
  51. def hasDefiniteSize: Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  53. def head: Vector[E]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  54. def headOption: Option[Vector[E]]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  55. def init: M

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  56. def inits: Iterator[M]

    Permalink
    Definition Classes
    TraversableLike
  57. def isEmpty: Boolean

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

    Permalink
    Definition Classes
    Any
  59. final def isTraversableAgain: Boolean

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  60. def last: Vector[E]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  61. def lastOption: Option[Vector[E]]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  62. def map[B, That](f: (Vector[E]) ⇒ B)(implicit bf: CanBuildFrom[M, B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  63. def max[B >: Vector[E]](implicit cmp: Ordering[B]): Vector[E]

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  65. def min[B >: Vector[E]](implicit cmp: Ordering[B]): Vector[E]

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  71. def nonEmpty: Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  74. def par: ParIterable[Vector[E]]

    Permalink
    Definition Classes
    Parallelizable
  75. def parCombiner: Combiner[Vector[E], ParIterable[Vector[E]]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableLike → Parallelizable
  76. def partition(p: (Vector[E]) ⇒ Boolean): (M, M)

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  77. def product[B >: Vector[E]](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  78. def reduce[A1 >: Vector[E]](op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  79. def reduceLeft[B >: Vector[E]](op: (B, Vector[E]) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce
  80. def reduceLeftOption[B >: Vector[E]](op: (B, Vector[E]) ⇒ B): Option[B]

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  82. def reduceRight[B >: Vector[E]](op: (Vector[E], B) ⇒ B): B

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  84. def repr: M

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  85. def reversed: List[Vector[E]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  86. def sameElements[B >: Vector[E]](that: GenIterable[B]): Boolean

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  87. def scan[B >: Vector[E], That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[M, B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  88. def scanLeft[B, That](z: B)(op: (B, Vector[E]) ⇒ B)(implicit bf: CanBuildFrom[M, B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  89. def scanRight[B, That](z: B)(op: (Vector[E], B) ⇒ B)(implicit bf: CanBuildFrom[M, 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.

  90. def shorten: M

    Permalink

    returns

    this matrix with a shortened index range stripped by leading and trailing zero-vector elements after shortening the vector elements itself (i.e., making concrete leading and trailing zeroes virtual in both dimensions)

    Definition Classes
    MatrixLikeGenMatrixLike
    Since

    2.1.0

  91. def size: Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  92. def slice(from: Int, until: Int): M

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  93. def sliding(size: Int, step: Int): Iterator[M]

    Permalink
    Definition Classes
    IterableLike
  94. def sliding(size: Int): Iterator[M]

    Permalink
    Definition Classes
    IterableLike
  95. def span(p: (Vector[E]) ⇒ Boolean): (M, M)

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  96. def splitAt(n: Int): (M, M)

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  97. def stringPrefix: String

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  98. def sum[B >: Vector[E]](implicit num: Numeric[B]): B

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

    Permalink
    Definition Classes
    AnyRef
  100. def tail: M

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  101. def tails: Iterator[M]

    Permalink
    Definition Classes
    TraversableLike
  102. def take(n: Int): M

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  103. def takeRight(n: Int): M

    Permalink
    Definition Classes
    IterableLike
  104. def takeWhile(p: (Vector[E]) ⇒ Boolean): M

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  105. def thisCollection: M

    Permalink
    Attributes
    protected[this]
    Definition Classes
    GenMatrixLike → IterableLike → TraversableLike
  106. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Vector[E], Col[Vector[E]]]): Col[Vector[E]]

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  108. def toBuffer[B >: Vector[E]]: Buffer[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  109. def toCollection(repr: M): M

    Permalink
    Attributes
    protected[this]
    Definition Classes
    GenMatrixLike → IterableLike → TraversableLike
  110. def toIndexedSeq: IndexedSeq[Vector[E]]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  111. def toIterable: Iterable[Vector[E]]

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  112. def toIterator: Iterator[Vector[E]]

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  115. def toSeq: Seq[Vector[E]]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  116. def toSet[B >: Vector[E]]: Set[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  117. def toStream: Stream[Vector[E]]

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

    Permalink
    Definition Classes
    TraversableLike → Any
  119. def toTraversable: Traversable[Vector[E]]

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  121. def transposed(): M

    Permalink

    Returns the transpose of this matrix..

    Returns the transpose of this matrix..

    returns

    thisT

    Definition Classes
    MatrixLikeGenMatrixLike
  122. def unaryOp(f: (Vector[E]) ⇒ Vector[E]): M

    Permalink
    Attributes
    protected
    Definition Classes
    MatrixLikeGenMatrixLike
  123. def unary_+(): M

    Permalink

    Returns identity.

    Returns identity. Can also be used to copy this.

    returns

    +this

    Definition Classes
    GenMatrixLike
  124. def unary_-(): M

    Permalink

    Returns negative complement of this.

    Returns negative complement of this.

    returns

    -this

    Definition Classes
    GenMatrixLike
  125. def view(from: Int, until: Int): IterableView[Vector[E], M]

    Permalink
    Definition Classes
    IterableLike → TraversableLike
  126. def view: IterableView[Vector[E], M]

    Permalink
    Definition Classes
    IterableLike → TraversableLike
  127. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  130. def widen(index: Index2): M

    Permalink

    index

    the requested index ranges in both dimensions (the actual index ranges will be the union of this argument and the existing ones)

    returns

    this vector with widened index ranges extended by leading and trailing zero-vector elements according to index.dim1 and then widening the vector elements itself according to index.dim2 (i.e., in both dimensions adding concrete leading and trailing zeroes that were virtual before)

    Definition Classes
    MatrixLikeGenMatrixLike
    Since

    2.1.0

  131. def withFilter(p: (Vector[E]) ⇒ Boolean): FilterMonadic[Vector[E], M]

    Permalink
    Definition Classes
    TraversableLike → FilterMonadic
  132. def zip[A1 >: Vector[E], B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[M, (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  133. def zipAll[B, A1 >: Vector[E], That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[M, (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  134. def zipWithIndex[A1 >: Vector[E], That](implicit bf: CanBuildFrom[M, (A1, Int), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike

Inherited from GenMatrixLike[E, M]

Inherited from IterableLike[Vector[E], M]

Inherited from GenIterableLike[Vector[E], M]

Inherited from TraversableLike[Vector[E], M]

Inherited from GenTraversableLike[Vector[E], M]

Inherited from Parallelizable[Vector[E], ParIterable[Vector[E]]]

Inherited from TraversableOnce[Vector[E]]

Inherited from GenTraversableOnce[Vector[E]]

Inherited from FilterMonadic[Vector[E], M]

Inherited from HasNewBuilder[Vector[E], M]

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped