Uses of Class
org.flag4j.arrays.dense.RingVector
Packages that use RingVector
Package
Description
Provides implementations for dense tensors, matrices, and vectors.
Contains implementations for sparse tensors, matrices, and vectors.
-
Uses of RingVector in org.flag4j.arrays.dense
Subclasses with type arguments of type RingVector in org.flag4j.arrays.denseModifier and TypeClassDescriptionclass
RingMatrix<T extends Ring<T>>
Instances of this class represents a dense matrix backed by aRing
array.class
RingVector<T extends Ring<T>>
Instances of this class represents a dense vector backed by aRing
array.Methods in org.flag4j.arrays.dense that return RingVectorModifier and TypeMethodDescriptionRingVector.makeLikeTensor
(Shape shape, T[] entries) Constructs a tensor of the same type as this tensor with the given theshape
anddata
.RingVector.makeLikeTensor
(T[] entries) Constructs a dense vector with the specifieddata
of the same type as the vector.protected RingVector
<T> RingMatrix.makeLikeVector
(Shape shape, T[] entries) Constructs a vector of a similar type as this matrix.protected RingVector
<T> RingMatrix.makeLikeVector
(T[] entries) Constructs a vector of a similar type as this matrix.RingTensor.toVector()
Converts this tensor to an equivalent vector. -
Uses of RingVector in org.flag4j.arrays.sparse
Subclasses with type arguments of type RingVector in org.flag4j.arrays.sparseModifier and TypeClassDescriptionclass
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.Methods in org.flag4j.arrays.sparse that return RingVectorModifier and TypeMethodDescriptionCooRingVector.makeLikeDenseTensor
(Shape shape, T... entries) Constructs a dense vector of a similar type as this vector with the specified shape and data.CooRingMatrix.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.CooRingTensor.toVector()
Converts this tensor to an equivalent vector.