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