Uses of Class
org.flag4j.arrays.sparse.CooRingMatrix
Packages that use CooRingMatrix
Package
Description
Provides implementations for dense tensors, matrices, and vectors.
Contains implementations for sparse tensors, matrices, and vectors.
-
Uses of CooRingMatrix in org.flag4j.arrays.backend.smart_visitors
Methods in org.flag4j.arrays.backend.smart_visitors with parameters of type CooRingMatrixModifier and TypeMethodDescription<U extends Ring<U>>
MatrixMixin<?, ?, ?, ?> AddVisitor.visit(CooRingMatrix<U> matrix) <U extends Ring<U>>
MatrixMixin<?, ?, ?, ?> DivVisitor.visit(CooRingMatrix<U> matrix) <U extends Ring<U>>
MatrixMixin<?, ?, ?, ?> ElemMultVisitor.visit(CooRingMatrix<U> matrix) <U extends Ring<U>>
MatrixMixin<?, ?, ?, ?> MatMultVisitor.visit(CooRingMatrix<U> matrix) MatrixVisitor.visit(CooRingMatrix<U> matrix) <U extends Ring<U>>
MatrixMixin<?, ?, ?, ?> SubVisitor.visit(CooRingMatrix<U> matrix) -
Uses of CooRingMatrix in org.flag4j.arrays.dense
Methods in org.flag4j.arrays.dense that return CooRingMatrixModifier and TypeMethodDescriptionprotected CooRingMatrix<T> RingMatrix.makeLikeCooMatrix(Shape shape, T[] entries, int[] rowIndices, int[] colIndices) Constructs a sparse COO matrix which is of a similar type as this dense matrix.RingMatrix.toCoo()Converts this dense tensor to an equivalent sparse COO tensor.RingMatrix.toCoo(double estimatedSparsity) Converts this matrix to an equivalent sparse COO matrix. -
Uses of CooRingMatrix in org.flag4j.arrays.sparse
Subclasses with type arguments of type CooRingMatrix in org.flag4j.arrays.sparseModifier and TypeClassDescriptionclassCooRingMatrix<T extends Ring<T>>Represents a sparse matrix whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specifiedRingtype.classCooRingVector<T extends Ring<T>>Represents a sparse vector whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specifiedRingtype.Methods in org.flag4j.arrays.sparse that return CooRingMatrixModifier and TypeMethodDescriptionCooRingMatrix.div(CooRingMatrix<T> b) Computes the element-wise quotient of two matrices.CsrRingMatrix.makeLikeCooMatrix(Shape shape, T[] entries, int[] rowIndices, int[] colIndices) Constructs a sparse COO matrix of a similar type to this sparse CSR matrix.CooRingVector.makeLikeMatrix(Shape shape, T[] entries, int[] rowIndices, int[] colIndices) Constructs a COO matrix with the specified shape, non-zero data, and row and column indices.CooRingMatrix.makeLikeTensor(Shape shape, List<T> entries, List<Integer> rowIndices, List<Integer> colIndices) Constructs a COO matrix with the specified shape, non-zero data, and non-zero indices.CooRingMatrix.makeLikeTensor(Shape shape, T[] entries) Constructs a tensor of the same type as this tensor with the given theshapeanddata.CooRingMatrix.makeLikeTensor(Shape shape, T[] entries, int[] rowIndices, int[] colIndices) Constructs a sparse COO tensor of the same type as this tensor with the specified non-zero data and indices.CsrRingMatrix.toCoo()Converts this sparse CSR matrix to an equivalent sparse COO matrix.CooRingTensor.toMatrix()Converts this tensor to an equivalent matrix.Converts this tensor to a matrix with the specified shape.CooRingVector.toMatrix(boolean columVector) Converts a vector to an equivalent matrix representing either a row or column vector.static <T extends Ring<T>>
CooRingMatrix<T> CooRingMatrix.unsafeMake(Shape shape, T[] data, int[] rowIndices, int[] colIndices) Factory to construct a COO matrix which bypasses any validation checks on the data and indices.Methods in org.flag4j.arrays.sparse with parameters of type CooRingMatrixModifier and TypeMethodDescriptionCooRingMatrix.div(CooRingMatrix<T> b) Computes the element-wise quotient of two matrices.CooRingMatrix.tensorDot(CooRingMatrix<T> src2, int[] aAxes, int[] bAxes) Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.