class SparseMatrixBuilder[E] extends MatrixBuilder[Vector[E], SparseMatrix[E]]
- Since
3.0.0
- Note
It is unfortunate inheriting the
elems
array which is useless here, but we keep the super trait as it was before for compatibility reasons.
- Alphabetic
- By Inheritance
- SparseMatrixBuilder
- MatrixBuilder
- Builder
- Growable
- Clearable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
++=(xs: TraversableOnce[Vector[E]]): SparseMatrixBuilder.this.type
- Definition Classes
- Growable
-
def
+=(x: Vector[E]): SparseMatrixBuilder.this.type
Sets the element to the given value which index is defined by:
Sets the element to the given value which index is defined by:
- the default start index 1 (if nothing of the following applies) or
- the next index following the last
update
operation.In all cases, an already existing value at this index will be overridden.
- Definition Classes
- SparseMatrixBuilder → MatrixBuilder → Builder → Growable
-
def
+=(elem1: Vector[E], elem2: Vector[E], elems: Vector[E]*): SparseMatrixBuilder.this.type
- Definition Classes
- Growable
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
at(row: Int): SparseMatrixBuilder.this.type
- Definition Classes
- MatrixBuilder
-
def
clear(): Unit
- Definition Classes
- SparseMatrixBuilder → MatrixBuilder → Builder → Growable → Clearable
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
val
elems: ArrayBuffer[Vector[E]]
- Attributes
- protected
- Definition Classes
- MatrixBuilder
-
val
elemsMap: Map[Int, Vector[E]]
- Attributes
- protected
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapResult[NewTo](f: (SparseMatrix[E]) ⇒ NewTo): Builder[Vector[E], NewTo]
- Definition Classes
- Builder
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
result(): SparseRowMatrix[E]
- Definition Classes
- SparseMatrixBuilder → MatrixBuilder → Builder
-
val
rowStart: Int
- Attributes
- protected
- Definition Classes
- MatrixBuilder
-
def
sizeHint(coll: TraversableLike[_, _], delta: Int): Unit
- Definition Classes
- Builder
-
def
sizeHint(coll: TraversableLike[_, _]): Unit
- Definition Classes
- Builder
-
def
sizeHint(size: Int): Unit
- Definition Classes
- Builder
-
def
sizeHintBounded(size: Int, boundingColl: TraversableLike[_, _]): Unit
- Definition Classes
- Builder
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
update(i: Int, x: Vector[E]): Unit
Sets the element with the specified index to the given value.
Sets the element with the specified index to the given value.
In case there exists already a value at this index, it will be overridden.
- i
the index
- x
the value
- Definition Classes
- SparseMatrixBuilder → MatrixBuilder
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
val
zerovec: Vector[E]
- Attributes
- protected
- Definition Classes
- SparseMatrixBuilder → MatrixBuilder