Uses of Class
org.flag4j.arrays.dense.SemiringTensor
Packages that use SemiringTensor
Package
Description
Provides implementations for dense tensors, matrices, and vectors.
Contains implementations for sparse tensors, matrices, and vectors.
-
Uses of SemiringTensor in org.flag4j.arrays.dense
Subclasses with type arguments of type SemiringTensor in org.flag4j.arrays.denseModifier and TypeClassDescriptionclassSemiringTensor<T extends Semiring<T>>Instances of this class represent a dense tensor backed by aSemiringarray.Methods in org.flag4j.arrays.dense that return SemiringTensorModifier and TypeMethodDescriptionSemiringTensor.makeLikeTensor(Shape shape, T[] entries) Constructs a tensor of the same type as this tensor with the given theshapeanddata.SemiringMatrix.toTensor()Converts this matrix to an equivalent tensor.Converts this matrix to an equivalent tensor with the specifiednewShape. -
Uses of SemiringTensor in org.flag4j.arrays.sparse
Subclasses with type arguments of type SemiringTensor in org.flag4j.arrays.sparseModifier and TypeClassDescriptionclassCooSemiringTensor<T extends Semiring<T>>Represents a sparse tensor whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specifiedSemiringtype.Methods in org.flag4j.arrays.sparse that return SemiringTensorModifier and TypeMethodDescriptionCooSemiringTensor.makeLikeDenseTensor(Shape shape, T[] entries) Constructs a dense tensor that is a similar type as this sparse COO tensor.CooSemiringMatrix.tensorDot(CooSemiringMatrix<T> src2, int[] aAxes, int[] bAxes) Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.CsrSemiringMatrix.tensorDot(CsrSemiringMatrix<T> src2, int[] aAxes, int[] bAxes) Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.