Uses of Class
org.flag4j.arrays.dense.RingTensor
Packages that use RingTensor
Package
Description
Provides implementations for dense tensors, matrices, and vectors.
Contains implementations for sparse tensors, matrices, and vectors.
-
Uses of RingTensor in org.flag4j.arrays.dense
Subclasses with type arguments of type RingTensor in org.flag4j.arrays.denseModifier and TypeClassDescriptionclassRingTensor<T extends Ring<T>>Instances of this class represent a dense tensor backed by aRingarray.Methods in org.flag4j.arrays.dense that return RingTensorModifier and TypeMethodDescriptionRingTensor.makeLikeTensor(Shape shape, T[] entries) Constructs a tensor of the same type as this tensor with the given theshapeanddata.RingMatrix.toTensor()Converts this matrix to an equivalent tensor.Converts this matrix to an equivalent tensor with the specifiednewShape. -
Uses of RingTensor in org.flag4j.arrays.sparse
Subclasses with type arguments of type RingTensor in org.flag4j.arrays.sparseModifier and TypeClassDescriptionclassCooRingTensor<T extends Ring<T>>Represents a sparse tensor 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 RingTensorModifier and TypeMethodDescriptionCooRingTensor.makeLikeDenseTensor(Shape shape, T[] entries) Constructs a dense tensor that is a similar type as this sparse COO tensor.CooRingMatrix.tensorDot(CooRingMatrix<T> src2, int[] aAxes, int[] bAxes) Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.CsrRingMatrix.tensorDot(CsrRingMatrix<T> src2, int[] aAxes, int[] bAxes) Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.