Uses of Class
org.flag4j.arrays.sparse.CooRingVector
Packages that use CooRingVector
Package
Description
Provides implementations for dense tensors, matrices, and vectors.
Contains implementations for sparse tensors, matrices, and vectors.
-
Uses of CooRingVector in org.flag4j.arrays.dense
Methods in org.flag4j.arrays.dense that return CooRingVectorModifier and TypeMethodDescriptionprotected CooRingVector
<T> RingVector.makeLikeCooTensor
(Shape shape, T[] data, int[][] indices) Constructs a sparse COO tensor which is of a similar type as this dense tensor. -
Uses of CooRingVector in org.flag4j.arrays.sparse
Subclasses with type arguments of type CooRingVector in org.flag4j.arrays.sparseModifier and TypeClassDescriptionclass
CooRingMatrix<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 specifiedRing
type.class
CooRingVector<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 specifiedRing
type.class
CsrRingMatrix<T extends Ring<T>>
Methods in org.flag4j.arrays.sparse that return CooRingVectorModifier and TypeMethodDescriptionCsrRingMatrix.getCol
(int colIdx, int rowStart, int rowEnd) Gets a range of a column of this matrix.CsrRingMatrix.getDiag
(int diagOffset) Gets the elements of this matrix along the specified diagonal.CsrRingMatrix.getRow
(int rowIdx, int colStart, int colEnd) Gets a range of a row of this matrix.Constructs a COO vector with the specified shape, non-zero data, and non-zero indices.CooRingVector.makeLikeTensor
(Shape shape, T[] entries) Constructs a tensor of the same type as this tensor with the given theshape
anddata
.CooRingVector.makeLikeTensor
(Shape shape, T[] entries, int[] indices) Constructs a sparse COO vector of the same type as this vector with the specified non-zero data and indices.CooRingMatrix.makeLikeVector
(Shape shape, T[] entries, int[] indices) Constructs a sparse COO vector of a similar type to this COO matrix.Methods in org.flag4j.arrays.sparse with parameters of type CooRingVectorModifier and TypeMethodDescriptionCooRingMatrix.mult
(CooRingVector<T> b) Computes the matrix-vector multiplication of a vector with this matrix.CsrRingMatrix.mult
(CooRingVector<T> b) Computes the matrix-vector multiplication of a vector with this matrix.