Uses of Class
org.flag4j.arrays.backend.AbstractTensor
Packages that use AbstractTensor
Package
Description
Provides implementations for dense tensors, matrices, and vectors.
Contains implementations for sparse tensors, matrices, and vectors.
IO for vector, matrix, and tensor objects.
Contains solvers which solve well determined linear tensor and matrix equations in an exact sense.
-
Uses of AbstractTensor in org.flag4j.arrays.backend
Classes in org.flag4j.arrays.backend with type parameters of type AbstractTensorModifier and TypeClassDescriptionclassAbstractTensor<T extends AbstractTensor<T,U, V>, U, V> The base abstract class for all tensors, including matrices and vectors.Methods in org.flag4j.arrays.backend with parameters of type AbstractTensorModifier and TypeMethodDescriptionbooleanAbstractTensor.sameShape(AbstractTensor<?, ?, ?> B) Checks if a tensor has the same shape as this tensor. -
Uses of AbstractTensor in org.flag4j.arrays.backend.field_arrays
Subclasses of AbstractTensor in org.flag4j.arrays.backend.field_arraysModifier and TypeClassDescriptionclassAbstractCooFieldMatrix<T extends AbstractCooFieldMatrix<T,U, V, W>, U extends AbstractDenseFieldMatrix<U, ?, W>, V extends AbstractCooFieldVector<V, ?, T, U, W>, W extends Field<W>> A sparse matrix stored in coordinate list (COO) format.classAbstractCooFieldTensor<T extends AbstractCooFieldTensor<T,U, V>, U extends AbstractDenseFieldTensor<U, V>, V extends Field<V>> Base class for all sparseFieldtensors stored in coordinate list (COO) format.classAbstractCooFieldVector<T extends AbstractCooFieldVector<T,U, V, W, Y>, U extends AbstractDenseFieldVector<U, W, Y>, V extends AbstractCooFieldMatrix<V, W, T, Y>, W extends AbstractDenseFieldMatrix<W, U, Y>, Y extends Field<Y>> A sparse vector stored in coordinate list (COO) format.classAbstractCsrFieldMatrix<T extends AbstractCsrFieldMatrix<T,U, V, W>, U extends AbstractDenseFieldMatrix<U, ?, W>, V extends AbstractCooFieldVector<V, ?, ?, U, W>, W extends Field<W>> classAbstractDenseFieldMatrix<T extends AbstractDenseFieldMatrix<T,U, V>, U extends AbstractDenseFieldVector<U, T, V>, V extends Field<V>> classAbstractDenseFieldTensor<T extends AbstractDenseFieldTensor<T,V>, V extends Field<V>> The base class for all denseFieldtensors.classAbstractDenseFieldVector<T extends AbstractDenseFieldVector<T,U, V>, U extends AbstractDenseFieldMatrix<U, T, V>, V extends Field<V>> The base class for all dense vectors whose data areFieldelements. -
Uses of AbstractTensor in org.flag4j.arrays.backend.primitive_arrays
Subclasses of AbstractTensor in org.flag4j.arrays.backend.primitive_arraysModifier and TypeClassDescriptionclassAbstractDenseDoubleTensor<T extends AbstractDoubleTensor<T>>This is the base class of all real primitive double tensors.classAbstractDoubleTensor<T extends AbstractDoubleTensor<T>>This is the base class of all real primitive double tensors, matrices, or vectors. -
Uses of AbstractTensor in org.flag4j.arrays.backend.ring_arrays
Subclasses of AbstractTensor in org.flag4j.arrays.backend.ring_arraysModifier and TypeClassDescriptionclassAbstractCooRingMatrix<T extends AbstractCooRingMatrix<T,U, V, W>, U extends AbstractDenseRingMatrix<U, ?, W>, V extends AbstractCooRingVector<V, ?, T, U, W>, W extends Ring<W>> A sparse matrix stored in coordinate list (COO) format.classAbstractCooRingTensor<T extends AbstractCooRingTensor<T,U, V>, U extends AbstractDenseRingTensor<U, V>, V extends Ring<V>> Base class for all sparseRingtensors stored in coordinate list (COO) format.classAbstractCooRingVector<T extends AbstractCooRingVector<T,U, V, W, Y>, U extends AbstractDenseRingVector<U, W, Y>, V extends AbstractCooRingMatrix<V, W, T, Y>, W extends AbstractDenseRingMatrix<W, U, Y>, Y extends Ring<Y>> A sparse vector stored in coordinate list (COO) format.classAbstractCsrRingMatrix<T extends AbstractCsrRingMatrix<T,U, V, W>, U extends AbstractDenseRingMatrix<U, ?, W>, V extends AbstractCooRingVector<V, ?, ?, U, W>, W extends Ring<W>> A sparse matrix stored in compressed sparse row (CSR) format.classAbstractDenseRingMatrix<T extends AbstractDenseRingMatrix<T,U, V>, U extends AbstractDenseRingVector<U, T, V>, V extends Ring<V>> The base class for all dense matrices whose elements are members of aRing.classAbstractDenseRingTensor<T extends AbstractDenseRingTensor<T,V>, V extends Ring<V>> The base class for all denseRingtensors.classAbstractDenseRingVector<T extends AbstractDenseRingVector<T,U, V>, U extends AbstractDenseRingMatrix<U, T, V>, V extends Ring<V>> The base class for all dense vectors whose data areRingelements. -
Uses of AbstractTensor in org.flag4j.arrays.backend.semiring_arrays
Subclasses of AbstractTensor in org.flag4j.arrays.backend.semiring_arraysModifier and TypeClassDescriptionclassAbstractCooSemiringMatrix<T extends AbstractCooSemiringMatrix<T,U, V, W>, U extends AbstractDenseSemiringMatrix<U, ?, W>, V extends AbstractCooSemiringVector<V, ?, T, U, W>, W extends Semiring<W>> A sparse matrix stored in coordinate list (COO) format.classAbstractCooSemiringTensor<T extends AbstractCooSemiringTensor<T,U, V>, U extends AbstractDenseSemiringTensor<U, V>, V extends Semiring<V>> Base class for all sparse tensors stored in coordinate list (COO) format.classAbstractCooSemiringVector<T extends AbstractCooSemiringVector<T,U, V, W, Y>, U extends AbstractDenseSemiringVector<U, W, Y>, V extends AbstractCooSemiringMatrix<V, W, T, Y>, W extends AbstractDenseSemiringMatrix<W, U, Y>, Y extends Semiring<Y>> A sparse vector stored in coordinate list (COO) format.classAbstractCsrSemiringMatrix<T extends AbstractCsrSemiringMatrix<T,U, V, W>, U extends AbstractDenseSemiringMatrix<U, ?, W>, V extends AbstractCooSemiringVector<V, ?, ?, U, W>, W extends Semiring<W>> A sparse matrix stored in compressed sparse row (CSR) format.classAbstractDenseSemiringMatrix<T extends AbstractDenseSemiringMatrix<T,U, V>, U extends AbstractDenseSemiringVector<U, T, V>, V extends Semiring<V>> The base class for all dense matrices whose elements are members of aSemiring.classAbstractDenseSemiringTensor<T extends AbstractDenseSemiringTensor<T,V>, V extends Semiring<V>> The base class for all denseSemiringtensors.classAbstractDenseSemiringVector<T extends AbstractDenseSemiringVector<T,U, V>, U extends AbstractDenseSemiringMatrix<U, T, V>, V extends Semiring<V>> The base class for all dense vectors whose data areSemiringelements.Methods in org.flag4j.arrays.backend.semiring_arrays that return AbstractTensorModifier and TypeMethodDescriptionprotected abstract AbstractTensor<?, V[], V> AbstractDenseSemiringTensor.makeLikeCooTensor(Shape shape, V[] data, int[][] indices) Constructs a sparse COO tensor which is of a similar type as this dense tensor.default AbstractTensor<?, V, W> Computes the tensor dot product of this tensor with a second tensor.default AbstractTensor<?, V, W> Computes the tensor contraction of this tensor with a specified tensor over the specified axes.AbstractTensor<?, V, W> Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.default AbstractTensor<?, V, W> Computes the tensor contraction of this tensor with a specified tensor over the specified axes.AbstractTensor<?, V[], V> AbstractDenseSemiringTensor.toCoo()Converts this tensor to an equivalent sparse COO tensor.AbstractTensor<?, V[], V> AbstractDenseSemiringTensor.toCoo(double estimatedSparsity) Converts this tensor to an equivalent sparse COO tensor.abstract AbstractTensor<?, Y[], Y> AbstractCooSemiringVector.toTensor()Converts this matrix to an equivalent rank 1 tensor.abstract AbstractTensor<?, Y[], Y> Converts this vector to an equivalent tensor with the specified shape. -
Uses of AbstractTensor in org.flag4j.arrays.dense
Subclasses of AbstractTensor in org.flag4j.arrays.denseModifier and TypeClassDescriptionclassInstances of this class represents a complex dense matrix backed by aComplex128array.classA dense complex tensor backed by an array ofComplex128's.classclassFieldMatrix<T extends Field<T>>Instances of this class represents a dense matrix backed by aFieldarray.classFieldTensor<T extends Field<T>>Instances of this class represent a dense tensor backed by aFieldarray.classFieldVector<T extends Field<T>>Instances of this class represents a dense vector backed by aFieldarray.classInstances of this class represents a complex dense matrix backed by adouble[]array.classRingMatrix<T extends Ring<T>>Instances of this class represents a dense matrix backed by aRingarray.classRingTensor<T extends Ring<T>>Instances of this class represent a dense tensor backed by aRingarray.classRingVector<T extends Ring<T>>Instances of this class represents a dense vector backed by aRingarray.classSemiringMatrix<T extends Semiring<T>>Instances of this class represents a dense matrix backed by aSemiringarray.classSemiringTensor<T extends Semiring<T>>Instances of this class represent a dense tensor backed by aSemiringarray.classSemiringVector<T extends Semiring<T>>Instances of this class represents a dense vector backed by aSemiringarray.classA real dense tensor backed by a primitive double array.classA dense vector backed by a primitive double array. -
Uses of AbstractTensor in org.flag4j.arrays.sparse
Subclasses of AbstractTensor in org.flag4j.arrays.sparseModifier and TypeClassDescriptionclassA complex sparse matrix stored in coordinate list (COO) format.classSparse complex tensor stored in coordinate list (COO) format.classA complex sparse vector stored in coordinate list (COO) format.classCooFieldMatrix<T extends Field<T>>Instances of this class represent a sparse matrix whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specifiedFieldtype.classCooFieldTensor<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 specifiedFieldtype.classCooFieldVector<T extends Field<T>>Represents a sparse vector whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specifiedFieldtype.classA real sparse matrix stored in coordinate list (COO) format.classCooRingMatrix<T extends Ring<T>>Represents a sparse matrix whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specifiedRingtype.classCooRingTensor<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.classCooRingVector<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.classCooSemiringMatrix<T extends Semiring<T>>Represents a sparse matrix whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specifiedSemiringtype.classCooSemiringTensor<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.classCooSemiringVector<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 specifiedSemiringtype.classA real sparse tensor stored in coordinate list (COO) format.classA real sparse vector stored in coordinate list (COO) format.classInstances of this class represent a complex sparse matrix using the compressed sparse row (CSR) format.classCsrFieldMatrix<T extends Field<T>>Instances of this class represent a sparse matrix using the compressed sparse row (CSR) format where all data elements belonging to a specifiedFieldtype.classInstances of this class represent a real sparse matrix using the compressed sparse row (CSR) format.classCsrRingMatrix<T extends Ring<T>>classCsrSemiringMatrix<T extends Semiring<T>>Instances of this class represent a sparse matrix using the compressed sparse row (CSR) format where all data elements belonging to a specifiedSemiringtype.Methods in org.flag4j.arrays.sparse that return AbstractTensorModifier and TypeMethodDescriptionCooCMatrix.tensorDot(CooCMatrix src2, int[] aAxes, int[] bAxes) Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes.AbstractTensor<?, T[], T> CsrFieldMatrix.tensorDot(CsrFieldMatrix<T> src2, int[] aAxes, int[] bAxes) Computes the tensor contraction of this tensor with a specified tensor over the specified set of axes. -
Uses of AbstractTensor in org.flag4j.io
Methods in org.flag4j.io that return AbstractTensorModifier and TypeMethodDescriptionAbstractTensor<?, ?, ?> Loads Matrix Market data from the file specified on instantiation of thisMatrixMarketReader.static AbstractTensor<?, ?, ?> Reads a serializedAbstractTensorfrom a specified file using aObjectInputStream.Methods in org.flag4j.io with parameters of type AbstractTensorModifier and TypeMethodDescriptionstatic voidTensorWriter.write(String fileName, AbstractTensor<?, ?, ?> src) Writes a tensor to a file using aObjectOutputStream. -
Uses of AbstractTensor in org.flag4j.linalg.ops.dispatch
Classes in org.flag4j.linalg.ops.dispatch with type parameters of type AbstractTensorModifier and TypeClassDescriptionclassBiTensorOpDispatcher<T extends AbstractTensor<T,?, ?>, U extends AbstractTensor<U, ?, ?>, R extends AbstractTensor<R, ?, ?>> Base class for all dispatchers which apply a binary tensor operation.classBiTensorOpDispatcher<T extends AbstractTensor<T,?, ?>, U extends AbstractTensor<U, ?, ?>, R extends AbstractTensor<R, ?, ?>> Base class for all dispatchers which apply a binary tensor operation.classBiTensorOpDispatcher<T extends AbstractTensor<T,?, ?>, U extends AbstractTensor<U, ?, ?>, R extends AbstractTensor<R, ?, ?>> Base class for all dispatchers which apply a binary tensor operation. -
Uses of AbstractTensor in org.flag4j.linalg.solvers.exact
Classes in org.flag4j.linalg.solvers.exact with type parameters of type AbstractTensorModifier and TypeClassDescriptionclassExactTensorSolver<T extends AbstractTensor<T,?, ?>, U extends MatrixMixin<U, ?, V, ?>, V extends VectorMixin<V, U, ?, ?>> Solves a well determined system of equations \( AX = B \) in an exact sense where \( A \), \( X \), and \( B \) are tensors.