Class LinearSolverLu_ZDRM

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

public class LinearSolverLu_ZDRM extends LinearSolverLuBase_ZDRM
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(ZMatrixRMaj B, ZMatrixRMaj 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.