Uses of Class
org.flag4j.arrays.dense.FieldMatrix
Packages that use FieldMatrix
Package
Description
Provides implementations for dense tensors, matrices, and vectors.
Contains implementations for sparse tensors, matrices, and vectors.
-
Uses of FieldMatrix in org.flag4j.arrays.backend.smart_visitors
Methods in org.flag4j.arrays.backend.smart_visitors with parameters of type FieldMatrixModifier and TypeMethodDescription<U extends Field<U>>
MatrixMixin<?, ?, ?, ?> AddVisitor.visit
(FieldMatrix<U> matrix) <U extends Field<U>>
MatrixMixin<?, ?, ?, ?> DivVisitor.visit
(FieldMatrix<U> matrix) <U extends Field<U>>
MatrixMixin<?, ?, ?, ?> ElemMultVisitor.visit
(FieldMatrix<U> matrix) <U extends Field<U>>
MatrixMixin<?, ?, ?, ?> MatMultVisitor.visit
(FieldMatrix<U> matrix) MatrixVisitor.visit
(FieldMatrix<U> matrix) <U extends Field<U>>
MatrixMixin<?, ?, ?, ?> SubVisitor.visit
(FieldMatrix<U> matrix) -
Uses of FieldMatrix in org.flag4j.arrays.dense
Subclasses with type arguments of type FieldMatrix in org.flag4j.arrays.denseModifier and TypeClassDescriptionclass
FieldMatrix<T extends Field<T>>
Instances of this class represents a dense matrix backed by aField
array.class
FieldVector<T extends Field<T>>
Instances of this class represents a dense vector backed by aField
array.Methods in org.flag4j.arrays.dense that return FieldMatrixModifier and TypeMethodDescriptionstatic <T extends Field<T>>
FieldMatrix<T> FieldMatrix.I
(int numRows, int numCols, T fieldValue) Constructs an identity-like matrix of the specified shape.static <T extends Field<T>>
FieldMatrix<T> FieldMatrix.I
(int size, T fieldValue) Constructs an identity matrix of the specified size.static <T extends Field<T>>
FieldMatrix<T> Constructs an identity-like matrix of the specified shape.FieldVector.makeLikeMatrix
(Shape shape, T[] entries) Constructs a matrix of similar type to this vector with the specifiedshape
anddata
.FieldMatrix.makeLikeTensor
(Shape shape, T[] entries) Constructs a tensor of the same type as this tensor with the given the shape and data.FieldMatrix.pow
(int n) Computes the matrix multiplication of this matrix with itselfn
times.FieldTensor.toMatrix()
Converts this tensor to an equivalent matrix.Converts this tensor to a matrix with the specified shape. -
Uses of FieldMatrix in org.flag4j.arrays.sparse
Subclasses with type arguments of type FieldMatrix in org.flag4j.arrays.sparseModifier and TypeClassDescriptionclass
CooFieldMatrix<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 specifiedField
type.class
CooFieldVector<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 specifiedField
type.class
CsrFieldMatrix<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 specifiedField
type.Methods in org.flag4j.arrays.sparse that return FieldMatrixModifier and TypeMethodDescriptionCooFieldVector.makeLikeDenseMatrix
(Shape shape, T... entries) Constructs a dense matrix of a similar type as this vector with the specified shape and data.CooFieldMatrix.makeLikeDenseTensor
(Shape shape, T[] entries) Constructs a dense tensor with the specifiedshape
anddata
which is a similar type to this sparse tensor.CsrFieldMatrix.makeLikeDenseTensor
(Shape shape, T[] entries) Constructs a dense matrix which is of a similar type to this sparse CSR matrix. -
Uses of FieldMatrix in org.flag4j.linalg.decompositions.lu
Subclasses with type arguments of type FieldMatrix in org.flag4j.linalg.decompositions.luModifier and TypeClassDescriptionclass
This class provides methods for computing the LU decomposition of a dense matrix whose elements are members of aField
.Methods in org.flag4j.linalg.decompositions.lu that return FieldMatrixModifier and TypeMethodDescriptionFieldLU.getL()
Gets the unit lower triangular matrix of the decomposition.FieldLU.getU()
Gets the upper triangular matrix of the decomposition.Methods in org.flag4j.linalg.decompositions.lu with parameters of type FieldMatrixModifier and TypeMethodDescriptionprotected void
FieldLU.initLU
(FieldMatrix<T> src) Initializes theLU
matrix by copying the source matrix to decompose. -
Uses of FieldMatrix in org.flag4j.linalg.ops
Methods in org.flag4j.linalg.ops with parameters of type FieldMatrixModifier and TypeMethodDescriptionstatic <T extends Field<T>>
T[]MatrixMultiplyDispatcher.dispatch
(FieldMatrix<T> A, FieldMatrix<T> B) Dispatches a matrix multiplication problem to the appropriate algorithm based on the size.static <T extends Field<T>>
T[]MatrixMultiplyDispatcher.dispatch
(FieldMatrix<T> A, FieldVector<T> b) Dynamically chooses the appropriate matrix-vector multiplication algorithm based on the shapes of the matrix and vector.