package storage
Storage engines for vectors and matrices.
- Since
3.0.0
Type Members
-
trait
MatrixStore[E] extends AnyRef
Definition trait for storage of matrix elements.
Definition trait for storage of matrix elements.
Implementations of this trait need to provide concrete methods with signatures
def index: Index2 def row (i: Int): Vector[E] def col (j: Int): Vector[E] def apply (i: Int, j: Int): E protected def dataHashCode: Int
The
dataHashCode
method must be consistent over all implementations to ensure equality between different implementations of the same data.- Since
2.0.0
-
trait
RowMatrixStore[E] extends MatrixStore[E]
Implementation trait that uses
scala.collection.immutable.Vector
as storage of row vectors.Implementation trait that uses
scala.collection.immutable.Vector
as storage of row vectors.- Since
2.0.0
-
trait
SimpleVectorStore[E] extends VectorStore[E]
Implementation trait that uses
scala.collection.immutable.Vector
as storage.Implementation trait that uses
scala.collection.immutable.Vector
as storage.- Since
2.0.0
-
trait
SparseRowMatrixStore[E] extends MatrixStore[E]
Implementation trait for matrices that are sparse on rows.
Implementation trait for matrices that are sparse on rows.
- Since
3.0.0
-
trait
SparseVectorStore[E] extends VectorStore[E]
Implementation trait for sparse vectors.
Implementation trait for sparse vectors.
- Since
3.0.0
-
trait
VectorStore[E] extends AnyRef
Definition trait for storage of vector elements.
Definition trait for storage of vector elements.
Implementations of this trait need to provide concrete methods with signatures
def index: Index def apply (i: Int): E protected def dataHashCode: Int
The
dataHashCode
method must be consistent over all implementations to ensure equality between different implementations of the same data.- Since
2.0.0