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.
Provides implementations of the LU decomposition for real, complex, and field matrices.
-
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[] data) 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
Instances of this class can be used to compute the LU decomposition of a complex dense matrix.Methods in org.flag4j.linalg.decompositions.lu that return FieldMatrix