Uses of Class
org.flag4j.arrays.backend.semiring_arrays.AbstractCsrSemiringMatrix
Packages that use AbstractCsrSemiringMatrix
Package
Description
Contains implementations for sparse tensors, matrices, and vectors.
-
Uses of AbstractCsrSemiringMatrix in org.flag4j.arrays.backend.field_arrays
Subclasses of AbstractCsrSemiringMatrix in org.flag4j.arrays.backend.field_arraysModifier and TypeClassDescriptionclass
AbstractCsrFieldMatrix<T extends AbstractCsrFieldMatrix<T,
U, V, W>, U extends AbstractDenseFieldMatrix<U, ?, W>, V extends AbstractCooFieldVector<V, ?, ?, U, W>, W extends Field<W>> -
Uses of AbstractCsrSemiringMatrix in org.flag4j.arrays.backend.ring_arrays
Subclasses of AbstractCsrSemiringMatrix in org.flag4j.arrays.backend.ring_arraysModifier and TypeClassDescriptionclass
AbstractCsrRingMatrix<T extends AbstractCsrRingMatrix<T,
U, V, W>, U extends AbstractDenseRingMatrix<U, ?, W>, V extends AbstractCooRingVector<V, ?, ?, U, W>, W extends Ring<W>> A sparse matrix stored in compressed sparse row (CSR) format. -
Uses of AbstractCsrSemiringMatrix in org.flag4j.arrays.backend.semiring_arrays
Classes in org.flag4j.arrays.backend.semiring_arrays with type parameters of type AbstractCsrSemiringMatrixModifier and TypeClassDescriptionclass
AbstractCsrSemiringMatrix<T extends AbstractCsrSemiringMatrix<T,
U, V, W>, U extends AbstractDenseSemiringMatrix<U, ?, W>, V extends AbstractCooSemiringVector<V, ?, ?, U, W>, W extends Semiring<W>> A sparse matrix stored in compressed sparse row (CSR) format.Methods in org.flag4j.arrays.backend.semiring_arrays that return AbstractCsrSemiringMatrixModifier and TypeMethodDescriptionabstract AbstractCsrSemiringMatrix
<?, U, V, W> AbstractCooSemiringMatrix.makeLikeCsrMatrix
(Shape shape, W[] entries, int[] rowPointers, int[] colIndices) Constructs a sparse CSR matrix of a similar type to this sparse COO matrix.abstract AbstractCsrSemiringMatrix
<?, T, ?, V> AbstractDenseSemiringMatrix.makeLikeCsrMatrix
(Shape shape, V[] entries, int[] rowPointers, int[] colIndices) Constructs a sparse CSR matrix which is of a similar type as this dense matrix.AbstractCooSemiringMatrix.toCsr()
Converts this sparse COO matrix to an equivalent sparse CSR matrix.AbstractCsrSemiringMatrix
<?, ?, ?, V> AbstractDenseSemiringMatrix.toCsr()
Converts this matrix to an equivalent sparse CSR matrix.AbstractCsrSemiringMatrix
<?, ?, ?, V> AbstractDenseSemiringMatrix.toCsr
(double estimatedSparsity) Converts this matrix to an equivalent sparse CSR matrix. -
Uses of AbstractCsrSemiringMatrix in org.flag4j.arrays.sparse
Subclasses of AbstractCsrSemiringMatrix in org.flag4j.arrays.sparseModifier and TypeClassDescriptionclass
A complex sparse matrix stored in compressed sparse row (CSR) format.class
CsrFieldMatrix<T extends Field<T>>
Instances of this class represent a sparse matrix using the compressed sparse row (CSR) format where all data elements belonging to a specifiedField
type.class
CsrRingMatrix<T extends Ring<T>>
class
CsrSemiringMatrix<T extends Semiring<T>>
Instances of this class represent a sparse matrix using the compressed sparse row (CSR) format where all data elements belonging to a specifiedSemiring
type.Methods in org.flag4j.arrays.sparse that return AbstractCsrSemiringMatrixModifier and TypeMethodDescriptionCooSemiringMatrix.makeLikeCsrMatrix
(Shape shape, T[] entries, int[] rowPointers, int[] colIndices) Constructs a sparse CSR matrix of a similar type to this sparse COO matrix. -
Uses of AbstractCsrSemiringMatrix in org.flag4j.linalg.ops.dense_sparse.csr.semiring_ops
Methods in org.flag4j.linalg.ops.dense_sparse.csr.semiring_ops with parameters of type AbstractCsrSemiringMatrixModifier and TypeMethodDescriptionstatic <T extends Semiring<T>>
AbstractDenseSemiringMatrix<?, ?, T> DenseCsrSemiringMatMult.standard
(AbstractCsrSemiringMatrix<?, ?, ?, T> src1, AbstractDenseSemiringMatrix<?, ?, T> src2) Computes the matrix multiplication between a sparse CSR matrix and a dense field matrix.static <T extends Semiring<T>>
AbstractDenseSemiringMatrix<?, ?, T> DenseCsrSemiringMatMult.standard
(AbstractDenseSemiringMatrix<?, ?, T> src1, AbstractCsrSemiringMatrix<?, ?, ?, T> src2) Computes the matrix multiplication between a dense matrix and a sparse CSR field matrix.static <T extends Semiring<T>>
AbstractDenseSemiringVector<?, ?, T> DenseCsrSemiringMatMult.standardVector
(AbstractCsrSemiringMatrix<?, ?, ?, T> src1, AbstractDenseSemiringVector<?, ?, T> src2) Computes the matrix-vector multiplication between a real sparse CSR matrix and a dense field vector. -
Uses of AbstractCsrSemiringMatrix in org.flag4j.linalg.ops.sparse
Methods in org.flag4j.linalg.ops.sparse with parameters of type AbstractCsrSemiringMatrixModifier and TypeMethodDescriptionstatic <T extends Semiring<T>>
booleanSparseUtils.CSREquals
(AbstractCsrSemiringMatrix<?, ?, ?, T> src1, AbstractCsrSemiringMatrix<?, ?, ?, T> src2) Checks if twoCSR Field matrices
are equal considering the fact that one may explicitly store zeros at some position that the other does not store. -
Uses of AbstractCsrSemiringMatrix in org.flag4j.linalg.ops.sparse.csr.semiring_ops
Methods in org.flag4j.linalg.ops.sparse.csr.semiring_ops with parameters of type AbstractCsrSemiringMatrixModifier and TypeMethodDescriptionstatic <T extends Semiring<T>>
booleanSemiringCsrProperties.isIdentity
(AbstractCsrSemiringMatrix<?, ?, ?, T> src) Checks if thesrc
matrix is the identity matrix.