Class LinearSolverLu_FDRM

All Implemented Interfaces:
LinearSolver<FMatrixRMaj,​FMatrixRMaj>, LinearSolverDense<FMatrixRMaj>

public class LinearSolverLu_FDRM
extends LinearSolverLuBase_FDRM
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​(FMatrixRMaj B, FMatrixRMaj 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.