Uses of Class
org.flag4j.arrays.backend.field_arrays.AbstractDenseFieldMatrix
Packages that use AbstractDenseFieldMatrix
Package
Description
Provides implementations for dense tensors, matrices, and vectors.
-
Uses of AbstractDenseFieldMatrix in org.flag4j.arrays.backend.field_arrays
Classes in org.flag4j.arrays.backend.field_arrays with type parameters of type AbstractDenseFieldMatrixModifier and TypeClassDescriptionclass
AbstractCooFieldMatrix<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.class
AbstractCooFieldVector<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.class
AbstractCsrFieldMatrix<T extends AbstractCsrFieldMatrix<T,
U, V, W>, U extends AbstractDenseFieldMatrix<U, ?, W>, V extends AbstractCooFieldVector<V, ?, ?, U, W>, W extends Field<W>> class
AbstractDenseFieldMatrix<T extends AbstractDenseFieldMatrix<T,
U, V>, U extends AbstractDenseFieldVector<U, T, V>, V extends Field<V>> class
AbstractDenseFieldVector<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 areField
elements. -
Uses of AbstractDenseFieldMatrix in org.flag4j.arrays.dense
Subclasses of AbstractDenseFieldMatrix in org.flag4j.arrays.denseModifier and TypeClassDescriptionclass
Instances of this class represents a complex dense matrix backed by aComplex128
array.class
FieldMatrix<T extends Field<T>>
Instances of this class represents a dense matrix backed by aField
array. -
Uses of AbstractDenseFieldMatrix in org.flag4j.linalg.ops.dense_sparse.coo.field_ops
Methods in org.flag4j.linalg.ops.dense_sparse.coo.field_ops that return AbstractDenseFieldMatrixModifier and TypeMethodDescriptionstatic <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCooFieldMatrixOps.add
(AbstractDenseFieldMatrix<?, ?, T> src1, AbstractCooFieldMatrix<?, ?, ?, T> src2) Computes the element-wise sum of a dense matrix to a sparse COO matrix.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCooFieldMatrixOps.addToEachCol
(AbstractCooFieldMatrix<?, ?, ?, T> src, AbstractDenseFieldVector<?, ?, T> col) Adds a dense vector to each column as if the vector is a column vector.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCooFieldMatrixOps.addToEachRow
(AbstractCooFieldMatrix<?, ?, ?, T> src, AbstractDenseFieldVector<?, ?, T> row) Adds a dense vector to add to each row as if the vector is a row vector.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCooFieldMatrixOps.sub
(AbstractCooFieldMatrix<?, ?, ?, T> src2, AbstractDenseFieldMatrix<?, ?, T> src1) Subtracts a complex dense matrix from a complex sparse matrix.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCooFieldMatrixOps.sub
(AbstractDenseFieldMatrix<?, ?, T> src1, AbstractCooFieldMatrix<?, ?, ?, T> src2) Subtracts a real sparse matrix from a real dense matrix.Methods in org.flag4j.linalg.ops.dense_sparse.coo.field_ops with parameters of type AbstractDenseFieldMatrixModifier and TypeMethodDescriptionstatic <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCooFieldMatrixOps.add
(AbstractDenseFieldMatrix<?, ?, T> src1, AbstractCooFieldMatrix<?, ?, ?, T> src2) Computes the element-wise sum of a dense matrix to a sparse COO matrix.static <T extends Field<T>>
voidDenseCooFieldMatrixOps.addEq
(AbstractDenseFieldMatrix<?, ?, T> src1, AbstractCooFieldMatrix<?, ?, ?, T> src2) Adds a complex dense matrix to a real sparse matrix and stores the result in the first matrix.static <T extends Field<T>>
AbstractCooFieldMatrix<?, ?, ?, T> DenseCooFieldMatrixOps.elemDiv
(AbstractCooFieldMatrix<?, ?, ?, T> src1, AbstractDenseFieldMatrix<?, ?, T> src2) Computes the element-wise division between a complex sparse matrix and a complex dense matrix.static <T extends Field<T>>
booleanDenseCooFieldEquals.matrixEquals
(AbstractDenseFieldMatrix<?, ?, T> A, AbstractCooFieldMatrix<?, ?, ?, T> B) Checks if two real dense matrices are equal.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCooFieldMatrixOps.sub
(AbstractCooFieldMatrix<?, ?, ?, T> src2, AbstractDenseFieldMatrix<?, ?, T> src1) Subtracts a complex dense matrix from a complex sparse matrix.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCooFieldMatrixOps.sub
(AbstractDenseFieldMatrix<?, ?, T> src1, AbstractCooFieldMatrix<?, ?, ?, T> src2) Subtracts a real sparse matrix from a real dense matrix.static <T extends Field<T>>
voidDenseCooFieldMatrixOps.subEq
(AbstractDenseFieldMatrix<?, ?, T> src1, AbstractCooFieldMatrix<?, ?, ?, T> src2) Subtracts a complex sparse matrix from a complex dense matrix and stores the result in the dense matrix. -
Uses of AbstractDenseFieldMatrix in org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops
Methods in org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops that return AbstractDenseFieldMatrixModifier and TypeMethodDescriptionstatic <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCooMatrixOps.add
(AbstractDenseFieldMatrix<?, ?, T> src1, CooMatrix src2) Adds a real dense matrix to a real sparse matrix.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCooMatrixOps.sub
(AbstractDenseFieldMatrix<?, ?, T> src1, CooMatrix src2) Subtracts a real sparse matrix from a complex dense matrix.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCooMatrixOps.sub
(CooMatrix src1, AbstractDenseFieldMatrix<?, ?, T> src2) Subtracts a real sparse matrix from a real dense matrix.Methods in org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops with parameters of type AbstractDenseFieldMatrixModifier and TypeMethodDescriptionstatic <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCooMatrixOps.add
(AbstractDenseFieldMatrix<?, ?, T> src1, CooMatrix src2) Adds a real dense matrix to a real sparse matrix.static <T extends Field<T>>
voidRealFieldDenseCooMatrixOps.addEq
(AbstractDenseFieldMatrix<?, ?, T> src1, CooMatrix src2) Adds a complex dense matrix to a real sparse matrix and stores the result in the first matrix.static <T extends Field<T>>
voidRealFieldDenseCooMatrixOps.elemMult
(AbstractDenseFieldMatrix<?, ?, T> src1, CooMatrix src2, Field<T>[] destEntries) Computes the element-wise multiplication between two matrices.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCooMatrixOps.sub
(AbstractDenseFieldMatrix<?, ?, T> src1, CooMatrix src2) Subtracts a real sparse matrix from a complex dense matrix.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCooMatrixOps.sub
(CooMatrix src1, AbstractDenseFieldMatrix<?, ?, T> src2) Subtracts a real sparse matrix from a real dense matrix.static <T extends Field<T>>
voidRealFieldDenseCooMatrixOps.subEq
(AbstractDenseFieldMatrix<?, ?, T> src1, CooMatrix src2) Subtracts a real sparse matrix from a complex dense matrix and stores the result in the first matrix. -
Uses of AbstractDenseFieldMatrix in org.flag4j.linalg.ops.dense_sparse.csr.field_ops
Methods in org.flag4j.linalg.ops.dense_sparse.csr.field_ops that return AbstractDenseFieldMatrixModifier and TypeMethodDescriptionstatic <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCsrFieldOps.add
(AbstractCsrFieldMatrix<?, ?, ?, T> a, AbstractDenseFieldMatrix<?, ?, T> b) Computes the element-wise sum of two matrices.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCsrFieldOps.applyBinOpp
(AbstractCsrFieldMatrix<?, ?, ?, T> src1, double b, BinaryOperator<T> opp, UnaryOperator<Double> uOpp) Applies the specified binary operator element-wise to a matrix and a scalar.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCsrFieldOps.applyBinOpp
(AbstractCsrFieldMatrix<?, ?, ?, T> src1, AbstractDenseFieldMatrix<?, ?, T> src2, BinaryOperator<T> opp, UnaryOperator<T> uOpp) Applies the specified binary operator element-wise to the two matrices.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCsrFieldOps.applyBinOpp
(AbstractCsrFieldMatrix<?, ?, ?, T> src1, T b, BinaryOperator<T> opp, UnaryOperator<T> uOpp) Applies the specified binary operator element-wise to a matrix and a scalar.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCsrFieldOps.applyBinOpp
(AbstractDenseFieldMatrix<?, ?, T> src1, AbstractCsrFieldMatrix<?, ?, ?, T> src2, BinaryOperator<T> opp) Applies the specified binary operator element-wise to the two matrices.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCsrFieldOps.sub
(AbstractCsrFieldMatrix<?, ?, ?, T> a, AbstractDenseFieldMatrix<?, ?, T> b) Computes the element-wise difference of two matrices.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCsrFieldOps.sub
(AbstractDenseFieldMatrix<?, ?, T> a, AbstractCsrFieldMatrix<?, ?, ?, T> b) Computes the element-wise difference of two matrices.Methods in org.flag4j.linalg.ops.dense_sparse.csr.field_ops with parameters of type AbstractDenseFieldMatrixModifier and TypeMethodDescriptionstatic <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCsrFieldOps.add
(AbstractCsrFieldMatrix<?, ?, ?, T> a, AbstractDenseFieldMatrix<?, ?, T> b) Computes the element-wise sum of two matrices.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCsrFieldOps.applyBinOpp
(AbstractCsrFieldMatrix<?, ?, ?, T> src1, AbstractDenseFieldMatrix<?, ?, T> src2, BinaryOperator<T> opp, UnaryOperator<T> uOpp) Applies the specified binary operator element-wise to the two matrices.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCsrFieldOps.applyBinOpp
(AbstractDenseFieldMatrix<?, ?, T> src1, AbstractCsrFieldMatrix<?, ?, ?, T> src2, BinaryOperator<T> opp) Applies the specified binary operator element-wise to the two matrices.static <T extends Field<T>>
AbstractCsrFieldMatrix<?, ?, ?, T> DenseCsrFieldOps.applyBinOppToSparse
(AbstractDenseFieldMatrix<?, ?, T> src1, AbstractCsrFieldMatrix<?, ?, ?, T> src2, BinaryOperator<T> opp) Applies an element-wise binary operation to a real dense and real sparse CSR matrix under the assumption thatopp.apply(x, 0d) = 0d
andopp.apply(0d, x) = 0d
.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCsrFieldOps.sub
(AbstractCsrFieldMatrix<?, ?, ?, T> a, AbstractDenseFieldMatrix<?, ?, T> b) Computes the element-wise difference of two matrices.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCsrFieldOps.sub
(AbstractDenseFieldMatrix<?, ?, T> a, AbstractCsrFieldMatrix<?, ?, ?, T> b) Computes the element-wise difference of two matrices. -
Uses of AbstractDenseFieldMatrix in org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops
Methods in org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops that return AbstractDenseFieldMatrixModifier and TypeMethodDescriptionstatic <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrOps.add
(CsrMatrix a, AbstractDenseFieldMatrix<?, ?, T> b) Computes the element-wise sum of two matrices.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrOps.applyBinOpp
(AbstractDenseFieldMatrix<?, ?, T> src1, CsrMatrix src2, BiFunction<T, Double, T> opp) Applies the specified binary operator element-wise to the two matrices.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrOps.applyBinOpp
(CsrMatrix src1, AbstractDenseFieldMatrix<?, ?, T> src2, BiFunction<Double, T, T> opp, UnaryOperator<T> uOpp) Applies the specified binary operator element-wise to the two matrices.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrMatMult.standard
(AbstractCsrFieldMatrix<?, ?, ?, T> src1, Matrix src2) Computes the matrix multiplication between a complex sparse CSR matrix and a real dense matrix.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrMatMult.standard
(AbstractDenseFieldMatrix<?, ?, T> src1, CsrMatrix src2) Computes the matrix multiplication between a real dense matrix and a real sparse CSR matrix.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrMatMult.standard
(Matrix src1, AbstractCsrFieldMatrix<?, ?, ?, T> src2) Computes the matrix multiplication between a real dense matrix and a real sparse CSR matrix.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrMatMult.standard
(CsrMatrix src1, AbstractDenseFieldMatrix<?, ?, T> src2) Computes the matrix multiplication between a real sparse CSR matrix and a complex dense matrix.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrMatMult.standardTranspose
(CsrMatrix src1, AbstractDenseFieldMatrix<?, ?, T> src2) Computes the matrix multiplication between a real sparse CSR matrix and the transpose of a complex dense matrix.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrOps.sub
(AbstractDenseFieldMatrix<?, ?, T> a, CsrMatrix b) Computes the element-wise difference of two matrices.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrOps.sub
(CsrMatrix a, AbstractDenseFieldMatrix<?, ?, T> b) Computes the element-wise difference of two matrices.Methods in org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops with parameters of type AbstractDenseFieldMatrixModifier and TypeMethodDescriptionstatic <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrOps.add
(CsrMatrix a, AbstractDenseFieldMatrix<?, ?, T> b) Computes the element-wise sum of two matrices.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrOps.applyBinOpp
(AbstractDenseFieldMatrix<?, ?, T> src1, CsrMatrix src2, BiFunction<T, Double, T> opp) Applies the specified binary operator element-wise to the two matrices.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrOps.applyBinOpp
(CsrMatrix src1, AbstractDenseFieldMatrix<?, ?, T> src2, BiFunction<Double, T, T> opp, UnaryOperator<T> uOpp) Applies the specified binary operator element-wise to the two matrices.static <T extends Field<T>>
AbstractCsrFieldMatrix<?, ?, ?, T> RealFieldDenseCsrOps.applyBinOppToSparse
(AbstractDenseFieldMatrix<?, ?, T> src1, CsrMatrix src2, BiFunction<T, Double, T> opp) Applies an element-wise binary operation to a real dense and real sparse CSR matrix under the assumption thatopp.apply(x, 0d) = 0d
andopp.apply(0d, x) = 0d
.static <T extends Field<T>>
AbstractCsrFieldMatrix<?, ?, ?, T> RealFieldDenseCsrOps.applyBinOppToSparse
(CsrMatrix src1, AbstractDenseFieldMatrix<?, ?, T> src2, BiFunction<Double, T, T> opp) Applies an element-wise binary operation to a real sparse and complex dense CSR matrix under the assumption thatopp.apply(0d, x) = 0d
wherex
is aComplex128
.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrMatMult.standard
(AbstractDenseFieldMatrix<?, ?, T> src1, CsrMatrix src2) Computes the matrix multiplication between a real dense matrix and a real sparse CSR matrix.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrMatMult.standard
(CsrMatrix src1, AbstractDenseFieldMatrix<?, ?, T> src2) Computes the matrix multiplication between a real sparse CSR matrix and a complex dense matrix.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrMatMult.standardTranspose
(CsrMatrix src1, AbstractDenseFieldMatrix<?, ?, T> src2) Computes the matrix multiplication between a real sparse CSR matrix and the transpose of a complex dense matrix.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrOps.sub
(AbstractDenseFieldMatrix<?, ?, T> a, CsrMatrix b) Computes the element-wise difference of two matrices.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrOps.sub
(CsrMatrix a, AbstractDenseFieldMatrix<?, ?, T> b) Computes the element-wise difference of two matrices. -
Uses of AbstractDenseFieldMatrix in org.flag4j.linalg.ops.dense.field_ops
Methods in org.flag4j.linalg.ops.dense.field_ops with parameters of type AbstractDenseFieldMatrixModifier and TypeMethodDescriptionstatic <T extends Field<T>>
TDenseFieldDeterminant.det
(AbstractDenseFieldMatrix<?, ?, T> mat) Computes the determinant of a square matrix.static <T extends Field<T>>
TDenseFieldDeterminant.det1
(AbstractDenseFieldMatrix<?, ?, T> mat) Explicitly computes the determinant of a 1x1 matrix.static <T extends Field<T>>
TDenseFieldDeterminant.det2
(AbstractDenseFieldMatrix<?, ?, T> mat) Explicitly computes the determinant of a 2x2 matrix.static <T extends Field<T>>
TDenseFieldDeterminant.det3
(AbstractDenseFieldMatrix<?, ?, T> mat) Explicitly computes the determinant of a 3x3 matrix.static <T extends Field<T>>
TDenseFieldDeterminant.detLU
(AbstractDenseFieldMatrix<?, ?, T> mat) Computes the determinant of a square matrix using theLU factorization
.static <T extends Field<T>>
TDenseFieldDeterminant.detTri
(AbstractDenseFieldMatrix<?, ?, T> tri) Computes the determinant of a triangular matrix.static <T extends Field<T>>
TDenseFieldDeterminant.detTriUnsafe
(AbstractDenseFieldMatrix<?, ?, T> tri) Computes the determinant of a triangular matrix. -
Uses of AbstractDenseFieldMatrix in org.flag4j.linalg.ops.dense.real_field_ops
Methods in org.flag4j.linalg.ops.dense.real_field_ops with parameters of type AbstractDenseFieldMatrixModifier and TypeMethodDescriptionstatic <T extends Field<T>>
booleanRealFieldDenseEquals.matrixEquals
(Matrix A, AbstractDenseFieldMatrix<?, ?, T> B) Checks if two real dense matrices are equal.