Package org.flag4j.linalg.solvers.exact
Class ComplexExactSolver
java.lang.Object
org.flag4j.linalg.solvers.exact.ExactSolver<CMatrix,CVector>
org.flag4j.linalg.solvers.exact.ComplexExactSolver
- All Implemented Interfaces:
LinearSolver<CMatrix,
CVector>
Solver for solving a well determined system of linear equations in an exact sense using the
LU decomposition.
-
Field Summary
Fields inherited from class org.flag4j.linalg.solvers.exact.ExactSolver
backSolver, forwardSolver, lu, LU, rowPermute
-
Constructor Summary
ConstructorDescriptionConstructs an exact LU solver where the coefficient matrix is real dense. -
Method Summary
Methods inherited from class org.flag4j.linalg.solvers.exact.ExactSolver
decompose, solve, solve
-
Constructor Details
-
ComplexExactSolver
public ComplexExactSolver()Constructs an exact LU solver where the coefficient matrix is real dense.
-
-
Method Details
-
permuteRows
Permute the rows of a vector using the row permutation matrix from the LU decomposition.- Specified by:
permuteRows
in classExactSolver<CMatrix,
CVector> - Parameters:
b
- Vector to permute the rows of.- Returns:
- A vector which is the result of applying the row permutation from the LU decomposition
to the vector
b
.
-
permuteRows
Permute the rows of a matrix using the row permutation matrix from the LU decomposition.- Specified by:
permuteRows
in classExactSolver<CMatrix,
CVector> - Parameters:
B
- matrix to permute the rows of.- Returns:
- A matrix which is the result of applying the row permutation from the LU decomposition
to the matrix
B
.
-