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