org.ejml.alg.dense.linsol.lu
Class LinearSolverLu
java.lang.Object
org.ejml.alg.dense.linsol.LinearSolverAbstract
org.ejml.alg.dense.linsol.lu.LinearSolverLuBase
org.ejml.alg.dense.linsol.lu.LinearSolverLu
- All Implemented Interfaces:
- LinearSolver<DenseMatrix64F>
public class LinearSolverLu
- extends LinearSolverLuBase
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.
- Author:
- Peter Abeles
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinearSolverLu
public LinearSolverLu(LUDecompositionBase decomp)
LinearSolverLu
public LinearSolverLu(LUDecompositionBase decomp,
boolean doImprove)
solve
public void solve(DenseMatrix64F b,
DenseMatrix64F 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.
Copyright © 2012. All Rights Reserved.