Class LinearSolverLu_CDRM

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

@Generated("") public class LinearSolverLu_CDRM extends LinearSolverLuBase_CDRM
For each column in the B matrix it makes a copy, which is then solved for and writen into X. By making a copy of the column cpu cache issues are reduced.
  • Constructor Details

  • Method Details

    • solve

      public void solve(CMatrixRMaj B, CMatrixRMaj 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.

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