Uses of Class
org.flag4j.arrays.dense.FieldTensor
Packages that use FieldTensor
Package
Description
Provides implementations for dense tensors, matrices, and vectors.
Contains implementations for sparse tensors, matrices, and vectors.
-
Uses of FieldTensor in org.flag4j.arrays.dense
Subclasses with type arguments of type FieldTensor in org.flag4j.arrays.denseModifier and TypeClassDescriptionclass
FieldTensor<T extends Field<T>>
Instances of this class represent a dense tensor backed by aField
array.Methods in org.flag4j.arrays.dense that return FieldTensorModifier and TypeMethodDescriptionFieldTensor.makeLikeTensor
(Shape shape, T[] entries) Constructs a tensor of the same type as this tensor with the given the shape and data.FieldMatrix.toTensor()
Converts this matrix to an equivalent tensor.Converts this matrix to an equivalent tensor with the specifiednewShape
. -
Uses of FieldTensor in org.flag4j.arrays.sparse
Subclasses with type arguments of type FieldTensor in org.flag4j.arrays.sparseModifier and TypeClassDescriptionclass
CooFieldTensor<T extends Field<T>>
Represents a sparse tensor whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specifiedField
type.Methods in org.flag4j.arrays.sparse that return FieldTensorModifier and TypeMethodDescriptionCooFieldTensor.makeLikeDenseTensor
(Shape shape, T[] entries) Constructs a dense tensor that is a similar type as this sparse COO tensor.CooFieldMatrix.tensorDot
(CooFieldMatrix<T> src2, int[] aAxes, int[] bAxes) Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.