Uses of Class
org.flag4j.arrays.sparse.CsrRingMatrix
Packages that use CsrRingMatrix
Package
Description
Provides implementations for dense tensors, matrices, and vectors.
Contains implementations for sparse tensors, matrices, and vectors.
-
Uses of CsrRingMatrix in org.flag4j.arrays.backend.smart_visitors
Methods in org.flag4j.arrays.backend.smart_visitors with parameters of type CsrRingMatrixModifier and TypeMethodDescription<U extends Ring<U>>
MatrixMixin<?, ?, ?, ?> AddVisitor.visit
(CsrRingMatrix<U> matrix) <U extends Ring<U>>
MatrixMixin<?, ?, ?, ?> DivVisitor.visit
(CsrRingMatrix<U> matrix) <U extends Ring<U>>
MatrixMixin<?, ?, ?, ?> ElemMultVisitor.visit
(CsrRingMatrix<U> matrix) <U extends Ring<U>>
MatrixMixin<?, ?, ?, ?> MatMultVisitor.visit
(CsrRingMatrix<U> matrix) MatrixVisitor.visit
(CsrRingMatrix<U> matrix) <U extends Ring<U>>
MatrixMixin<?, ?, ?, ?> SubVisitor.visit
(CsrRingMatrix<U> matrix) -
Uses of CsrRingMatrix in org.flag4j.arrays.dense
Methods in org.flag4j.arrays.dense that return CsrRingMatrixModifier and TypeMethodDescriptionRingMatrix.makeLikeCsrMatrix
(Shape shape, T[] entries, int[] rowPointers, int[] colIndices) Constructs a sparse CSR matrix which is of a similar type as this dense matrix.RingMatrix.toCsr()
Converts this matrix to an equivalent sparse CSR matrix.RingMatrix.toCsr
(double estimatedSparsity) Converts this matrix to an equivalent sparse CSR matrix. -
Uses of CsrRingMatrix in org.flag4j.arrays.sparse
Subclasses with type arguments of type CsrRingMatrix in org.flag4j.arrays.sparseMethods in org.flag4j.arrays.sparse that return CsrRingMatrixModifier and TypeMethodDescriptionCsrRingMatrix.dropZeros()
Drops any explicit zeros in this sparse COO matrix.CooRingMatrix.makeLikeCsrMatrix
(Shape shape, T[] entries, int[] rowPointers, int[] colIndices) Constructs a sparse CSR matrix of a similar type to this sparse COO matrix.CsrRingMatrix.makeLikeTensor
(Shape shape, List<T> entries, List<Integer> rowPointers, List<Integer> colIndices) Constructs a CSR matrix with the specified shape, non-zero data, and non-zero indices.CsrRingMatrix.makeLikeTensor
(Shape shape, T[] entries) Constructs a tensor of the same type as this tensor with the given theshape
anddata
.CsrRingMatrix.makeLikeTensor
(Shape shape, T[] entries, int[] rowPointers, int[] colIndices) Constructs a sparse CSR tensor of the same type as this tensor with the specified non-zero data and indices.CooRingMatrix.toCsr()
Converts this sparse COO matrix to an equivalent compressed sparse row (CSR) matrix.static <T extends Ring<T>>
CsrRingMatrix<T> CsrRingMatrix.unsafeMake
(Shape shape, Complex128[] data, int[] rowPointers, int[] colIndices) Factory to construct a CSR matrix which bypasses any validation checks on the data and indices.Methods in org.flag4j.arrays.sparse with parameters of type CsrRingMatrixModifier and TypeMethodDescriptionCsrRingMatrix.tensorDot
(CsrRingMatrix<T> src2, int[] aAxes, int[] bAxes) Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.