Class ComplexExactSolver

java.lang.Object
org.flag4j.linalg.solvers.exact.ExactSolver<CMatrix,CVector>
org.flag4j.linalg.solvers.exact.ComplexExactSolver
All Implemented Interfaces:
LinearMatrixSolver<CMatrix,CVector>, LinearSolver<CMatrix>

public class ComplexExactSolver extends ExactSolver<CMatrix,CVector>
Solver for solving a well determined system of linear equations in an exact sense using the LU decomposition.
  • Constructor Details

    • ComplexExactSolver

      public ComplexExactSolver()
      Constructs an exact LU solver where the coefficient matrix is real dense.
  • Method Details

    • permuteRows

      protected CVector permuteRows(CVector b)
      Permute the rows of a vector using the row permutation matrix from the LU decomposition.
      Specified by:
      permuteRows in class ExactSolver<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

      protected CMatrix permuteRows(CMatrix B)
      Permute the rows of a matrix using the row permutation matrix from the LU decomposition.
      Specified by:
      permuteRows in class ExactSolver<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.