Uses of Class
org.flag4j.arrays.dense.SemiringVector
Packages that use SemiringVector
Package
Description
Provides implementations for dense tensors, matrices, and vectors.
Contains implementations for sparse tensors, matrices, and vectors.
-
Uses of SemiringVector in org.flag4j.arrays.dense
Subclasses with type arguments of type SemiringVector in org.flag4j.arrays.denseModifier and TypeClassDescriptionclass
SemiringMatrix<T extends Semiring<T>>
Instances of this class represents a dense matrix backed by aSemiring
array.class
SemiringVector<T extends Semiring<T>>
Instances of this class represents a dense vector backed by aSemiring
array.Methods in org.flag4j.arrays.dense that return SemiringVectorModifier and TypeMethodDescriptionSemiringVector.makeLikeTensor
(Shape shape, T[] entries) Constructs a tensor of the same type as this tensor with the given theshape
anddata
.SemiringVector.makeLikeTensor
(T[] entries) Constructs a dense vector with the specifieddata
of the same type as the vector.protected SemiringVector
<T> SemiringMatrix.makeLikeVector
(Shape shape, T[] entries) Constructs a vector of a similar type as this matrix.protected SemiringVector
<T> SemiringMatrix.makeLikeVector
(T[] entries) Constructs a vector of a similar type as this matrix.SemiringTensor.toVector()
Converts this tensor to an equivalent vector. -
Uses of SemiringVector in org.flag4j.arrays.sparse
Subclasses with type arguments of type SemiringVector in org.flag4j.arrays.sparseModifier and TypeClassDescriptionclass
CooSemiringVector<T extends Semiring<T>>
Represents a sparse vector whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specifiedSemiring
type.Methods in org.flag4j.arrays.sparse that return SemiringVectorModifier and TypeMethodDescriptionCooSemiringVector.makeLikeDenseTensor
(Shape shape, T... entries) Constructs a dense vector of a similar type as this vector with the specified shape and data.CooSemiringMatrix.mult
(CooSemiringVector<T> b) Computes the matrix-vector multiplication of a vector with this matrix.CsrSemiringMatrix.mult
(CooSemiringVector<T> b) Computes the matrix-vector multiplication of a vector with this matrix.CooSemiringTensor.toVector()
Converts this tensor to an equivalent vector.