Package org.ejml.dense.row.linsol.lu
Class LinearSolverLu_DDRM
java.lang.Object
org.ejml.dense.row.linsol.LinearSolverAbstract_DDRM
org.ejml.dense.row.linsol.lu.LinearSolverLuBase_DDRM
org.ejml.dense.row.linsol.lu.LinearSolverLu_DDRM
- All Implemented Interfaces:
LinearSolver<DMatrixRMaj,
,DMatrixRMaj> LinearSolverDense<DMatrixRMaj>
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.
-
Field Summary
Fields inherited from class org.ejml.dense.row.linsol.lu.LinearSolverLuBase_DDRM
decomp
Fields inherited from class org.ejml.dense.row.linsol.LinearSolverAbstract_DDRM
A, numCols, numRows
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
solve
(DMatrixRMaj B, DMatrixRMaj X) Solves for X in the linear system, A*X=B.Methods inherited from class org.ejml.dense.row.linsol.lu.LinearSolverLuBase_DDRM
getDecomposition, improveSol, invert, modifiesA, modifiesB, quality, setA
Methods inherited from class org.ejml.dense.row.linsol.LinearSolverAbstract_DDRM
_setA, getA
-
Constructor Details
-
LinearSolverLu_DDRM
-
LinearSolverLu_DDRM
-
-
Method Details
-
solve
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.
-