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