org.ejml.alg.dense.linsol.lu
Class LinearSolverLu_CD64
- java.lang.Object
-
- org.ejml.alg.dense.linsol.LinearSolverAbstract_CD64
-
- org.ejml.alg.dense.linsol.lu.LinearSolverLuBase_CD64
-
- org.ejml.alg.dense.linsol.lu.LinearSolverLu_CD64
-
- All Implemented Interfaces:
- LinearSolver<CDenseMatrix64F>
public class LinearSolverLu_CD64 extends LinearSolverLuBase_CD64
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.
-
-
Constructor Summary
Constructors Constructor and Description LinearSolverLu_CD64(LUDecompositionBase_CD64 decomp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidsolve(CDenseMatrix64F b, CDenseMatrix64F x)Solves for X in the linear system, A*X=B.-
Methods inherited from class org.ejml.alg.dense.linsol.lu.LinearSolverLuBase_CD64
getDecomposition, invert, modifiesA, modifiesB, quality, setA
-
Methods inherited from class org.ejml.alg.dense.linsol.LinearSolverAbstract_CD64
getA
-
-
-
-
Constructor Detail
-
LinearSolverLu_CD64
public LinearSolverLu_CD64(LUDecompositionBase_CD64 decomp)
-
-
Method Detail
-
solve
public void solve(CDenseMatrix64F b, CDenseMatrix64F x)
Description copied from interface:LinearSolverSolves 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.
-
-
DMelt 3.0 © DataMelt by jWork.ORG