Class LinearSolverQrpHouseCol_DDRM

All Implemented Interfaces:
LinearSolver<DMatrixRMaj,DMatrixRMaj>, LinearSolverDense<DMatrixRMaj>

public class LinearSolverQrpHouseCol_DDRM extends BaseLinearSolverQrp_DDRM

Performs a pseudo inverse solver using the QRColPivDecompositionHouseholderColumn_DDRM decomposition directly. For details on how the pseudo inverse is computed see BaseLinearSolverQrp_DDRM.

  • Constructor Details

  • Method Details

    • solve

      public void solve(DMatrixRMaj B, DMatrixRMaj X)
      Description copied from interface: LinearSolver

      Solves for X in the linear system, A*X=B.

      In some implementations 'B' and 'X' can be the same instance of a variable. Call LinearSolver.modifiesB() to determine if 'B' is modified.

      Parameters:
      B - A matrix ℜ m × p. Might be modified.
      X - A matrix ℜ n × p, where the solution is written to. Modified.
    • modifiesA

      public boolean modifiesA()
      Description copied from interface: LinearSolver
      Returns true if the passed in matrix to LinearSolver.setA(Matrix) is modified.
      Returns:
      true if A is modified in setA().
    • modifiesB

      public boolean modifiesB()
      Description copied from interface: LinearSolver
      Returns true if the passed in 'B' matrix to LinearSolver.solve(Matrix, Matrix) is modified.
      Returns:
      true if B is modified in solve(B,X).