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 TypeClassDescriptionclassRingMatrix<T extends Ring<T>>Instances of this class represents a dense matrix backed by aRingarray.classRingVector<T extends Ring<T>>Instances of this class represents a dense vector backed by aRingarray.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 theshapeanddata.RingVector.makeLikeTensor(T[] entries) Constructs a dense vector with the specifieddataof 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 TypeClassDescriptionclassCooRingVector<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 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.