Trait/Object

de.h2b.scala.lib.math.linalg

Matrix

Related Docs: object Matrix | package linalg

Permalink

trait Matrix[E] extends Iterable[Vector[E]] with MatrixLike[E, Matrix[E]] with MatrixStore[E] with Equals with Immutable

An immutable algebraic matrix consisting of E elements.

The index range of a matrix in both dimensions spans the whole Int set. The concrete range is [(index.dim1.low,index.dim1.high),(index.dim2.low,index.dim2.high)]; all values outside of the concrete range are treated as zero. An IndexOutOfBoundsException will never occur.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Matrix
  2. Immutable
  3. MatrixStore
  4. MatrixLike
  5. Iterable
  6. IterableLike
  7. Equals
  8. GenIterable
  9. GenIterableLike
  10. Traversable
  11. GenTraversable
  12. GenericTraversableTemplate
  13. TraversableLike
  14. GenTraversableLike
  15. Parallelizable
  16. TraversableOnce
  17. GenTraversableOnce
  18. FilterMonadic
  19. HasNewBuilder
  20. AnyRef
  21. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Self = Matrix[E]

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

    Permalink
    Definition Classes
    TraversableLike

Abstract Value Members

  1. abstract def apply(i: Int, j: Int): E

    Permalink

    i

    the row index

    j

    the column index

    returns

    the element with index i,j

    Definition Classes
    MatrixStore
  2. abstract def col(j: Int): Vector[E]

    Permalink

    j

    the column index

    returns

    the column vector with index j

    Definition Classes
    MatrixStore
  3. abstract val dataHashCode: Int

    Permalink
    Attributes
    protected
    Definition Classes
    MatrixStore
  4. implicit abstract val elemTag: ClassTag[E]

    Permalink
    Attributes
    protected
    Definition Classes
    MatrixStore
  5. abstract val index: Index2

    Permalink
    Definition Classes
    MatrixStore
  6. abstract def row(i: Int): Vector[E]

    Permalink

    i

    the row index

    returns

    the row vector with index i

    Definition Classes
    MatrixStore

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
    MatrixLike
  4. def *[That >: Matrix[E] <: Matrix[E]](b: That)(implicit vbf: VectorCanBuildFrom[Vector[E], E, Vector[E]], mbf: MatrixCanBuildFrom[Matrix.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
    MatrixLike
  5. def *(s: E): Matrix[E]

    Permalink

    Scales this matrix by s.

    Scales this matrix by s.

    returns

    this*s

    Definition Classes
    MatrixLike
  6. def +[That >: Matrix[E] <: Matrix[E]](b: That)(implicit vbf: VectorCanBuildFrom[Vector[E], E, Vector[E]], mbf: MatrixCanBuildFrom[Matrix.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
    MatrixLike
  7. def ++[B >: Vector[E], That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Matrix[E], B, That]): That

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

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

    Permalink
    Definition Classes
    TraversableLike
  10. def -[That >: Matrix[E] <: Matrix[E]](b: That)(implicit vbf: VectorCanBuildFrom[Vector[E], E, Vector[E]], mbf: MatrixCanBuildFrom[Matrix.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
    MatrixLike
  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)): Matrix[E]

    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
    MatrixLike
  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. def apply(i: Int): Vector[E]

    Permalink

    i

    the row index

    returns

    the row vector with index i

    Definition Classes
    MatrixStore
  20. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  21. def atCol(at: Int): Matrix[E]

    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
    MatrixLike
  22. def atRow(at: Int): Matrix[E]

    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
    MatrixLike
  23. def canEqual(other: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. def colIterator: Iterator[Vector[E]]

    Permalink
  26. def colSum(): Vector[E]

    Permalink

    Returns the vector of column sums of this matrix.

    Returns the vector of column sums of this matrix.

    returns

    the vector of column sums of this

  27. def collect[B, That](pf: PartialFunction[Vector[E], B])(implicit bf: CanBuildFrom[Matrix[E], B, That]): That

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

    Permalink
    Definition Classes
    TraversableOnce
  29. def companion: GenericCompanion[Iterable]

    Permalink
    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
  30. def copyToArray[B >: Vector[E]](xs: Array[B], start: Int, len: Int): Unit

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

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

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  35. def drop(n: Int): Matrix[E]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  36. def dropRight(n: Int): Matrix[E]

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

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  38. def elemIterator: Iterator[E]

    Permalink
  39. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  47. def flatten[B](implicit asTraversable: (Vector[E]) ⇒ GenTraversableOnce[B]): Iterable[B]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  48. def fold[A1 >: Vector[E]](z: A1)(op: (A1, A1) ⇒ A1): A1

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  56. def grouped(size: Int): Iterator[Matrix[E]]

    Permalink
    Definition Classes
    IterableLike
  57. def hasDefiniteSize: Boolean

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

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

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

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  61. def height: Int

    Permalink

    returns

    the number of rows of this matrix

  62. def init: Matrix[E]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  63. def inits: Iterator[Matrix[E]]

    Permalink
    Definition Classes
    TraversableLike
  64. def isEmpty: Boolean

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

    Permalink
    Definition Classes
    Any
  66. def isSquare: Boolean

    Permalink

    returns

    if this is a square matrix (regarding to the concrete index range)

  67. final def isTraversableAgain: Boolean

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  68. def isZero: Boolean

    Permalink

    returns

    if this matrix contains no elements other than scal0

  69. def iterator: Iterator[Vector[E]]

    Permalink
    Definition Classes
    Matrix → IterableLike → GenIterableLike
  70. def last: Vector[E]

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  81. def newBuilder: MatrixBuilder[Vector[E], Matrix[E]]

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  95. def repr: Matrix[E]

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  97. def rowIterator: Iterator[Vector[E]]

    Permalink
  98. def rowSum(): Vector[E]

    Permalink

    Returns the vector of row sums of this matrix.

    Returns the vector of row sums of this matrix.

    returns

    the vector of row sums of this

  99. def sameElements[B >: Vector[E]](that: GenIterable[B]): Boolean

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

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

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

  103. def seq: Iterable[Vector[E]]

    Permalink
    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  104. def shorten: Matrix[E]

    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
    MatrixLike
    Since

    2.1.0

  105. def size: Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  106. def slice(from: Int, until: Int): Matrix[E]

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

    Permalink
    Definition Classes
    IterableLike
  108. def sliding(size: Int): Iterator[Matrix[E]]

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

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  110. def splitAt(n: Int): (Matrix[E], Matrix[E])

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

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

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

    Permalink
    Definition Classes
    AnyRef
  114. def tail: Matrix[E]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  115. def tails: Iterator[Matrix[E]]

    Permalink
    Definition Classes
    TraversableLike
  116. def take(n: Int): Matrix[E]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  117. def takeRight(n: Int): Matrix[E]

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

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  119. def thisCollection: Matrix[E]

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

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  123. def toCollection(repr: Matrix[E]): Matrix[E]

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Matrix → TraversableLike → AnyRef → Any
  133. def toTraversable: Traversable[Vector[E]]

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  135. def transpose[B](implicit asTraversable: (Vector[E]) ⇒ GenTraversableOnce[B]): Iterable[Iterable[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

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

  136. def transposed(): Matrix[E]

    Permalink

    Returns the transpose of this matrix..

    Returns the transpose of this matrix..

    returns

    thisT

    Definition Classes
    MatrixLike
  137. def unary_+(): Matrix[E]

    Permalink

    Returns identity.

    Returns identity. Can also be used to copy this.

    returns

    +this

    Definition Classes
    MatrixLike
  138. def unary_-(): Matrix[E]

    Permalink

    Returns negative complement of this.

    Returns negative complement of this.

    returns

    -this

    Definition Classes
    MatrixLike
  139. def unzip[A1, A2](implicit asPair: (Vector[E]) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  140. def unzip3[A1, A2, A3](implicit asTriple: (Vector[E]) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  141. def view(from: Int, until: Int): IterableView[Vector[E], Matrix[E]]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  146. def widen(index: Index2): Matrix[E]

    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
    MatrixLike
    Since

    2.1.0

  147. def width: Int

    Permalink

    returns

    the number of columns of this matrix

  148. def withFilter(p: (Vector[E]) ⇒ Boolean): FilterMonadic[Vector[E], Matrix[E]]

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

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

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

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  152. def ~~(other: Matrix[E]): Boolean

    Permalink

    Checks if this matrix is similar to the other one in terms of stripping by leading and trailing zero elements in both dimensions, respectively.

    Checks if this matrix is similar to the other one in terms of stripping by leading and trailing zero elements in both dimensions, respectively.

    returns

    true if both matrices have the same elements in equal index positions, disregarding the concrete index ranges; false otherwise

    Since

    2.1.0

Inherited from Immutable

Inherited from MatrixStore[E]

Inherited from MatrixLike[E, Matrix[E]]

Inherited from Iterable[Vector[E]]

Inherited from IterableLike[Vector[E], Matrix[E]]

Inherited from Equals

Inherited from GenIterable[Vector[E]]

Inherited from GenIterableLike[Vector[E], Matrix[E]]

Inherited from Traversable[Vector[E]]

Inherited from GenTraversable[Vector[E]]

Inherited from TraversableLike[Vector[E], Matrix[E]]

Inherited from GenTraversableLike[Vector[E], Matrix[E]]

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

Inherited from TraversableOnce[Vector[E]]

Inherited from GenTraversableOnce[Vector[E]]

Inherited from FilterMonadic[Vector[E], Matrix[E]]

Inherited from HasNewBuilder[Vector[E], Matrix[E]]

Inherited from AnyRef

Inherited from Any

Ungrouped