Package org.ejml.dense.row.linsol.qr
Class LinearSolverQrpHouseCol_FDRM
java.lang.Object
org.ejml.dense.row.linsol.LinearSolverAbstract_FDRM
org.ejml.dense.row.linsol.qr.BaseLinearSolverQrp_FDRM
org.ejml.dense.row.linsol.qr.LinearSolverQrpHouseCol_FDRM
- All Implemented Interfaces:
LinearSolver<FMatrixRMaj,
,FMatrixRMaj> LinearSolverDense<FMatrixRMaj>
@Generated("org.ejml.dense.row.linsol.qr.LinearSolverQrpHouseCol_DDRM")
public class LinearSolverQrpHouseCol_FDRM
extends BaseLinearSolverQrp_FDRM
Performs a pseudo inverse solver using the QRColPivDecompositionHouseholderColumn_FDRM
decomposition
directly. For details on how the pseudo inverse is computed see BaseLinearSolverQrp_FDRM
.
-
Field Summary
Fields inherited from class org.ejml.dense.row.linsol.qr.BaseLinearSolverQrp_FDRM
I, internalSolver, norm2Solution, R, R11, rank, Y
Fields inherited from class org.ejml.dense.row.linsol.LinearSolverAbstract_FDRM
A, numCols, numRows
-
Constructor Summary
ConstructorDescriptionLinearSolverQrpHouseCol_FDRM
(QRColPivDecompositionHouseholderColumn_FDRM decomposition, boolean norm2Solution) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the passed in matrix toLinearSolver.setA(Matrix)
is modified.boolean
Returns true if the passed in 'B' matrix toLinearSolver.solve(Matrix, Matrix)
is modified.void
solve
(FMatrixRMaj B, FMatrixRMaj X) Solves for X in the linear system, A*X=B.Methods inherited from class org.ejml.dense.row.linsol.qr.BaseLinearSolverQrp_FDRM
getDecomposition, invert, quality, setA, upgradeSolution
Methods inherited from class org.ejml.dense.row.linsol.LinearSolverAbstract_FDRM
_setA, getA
-
Constructor Details
-
LinearSolverQrpHouseCol_FDRM
public LinearSolverQrpHouseCol_FDRM(QRColPivDecompositionHouseholderColumn_FDRM decomposition, boolean norm2Solution)
-
-
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.
-
modifiesA
public boolean modifiesA()Description copied from interface:LinearSolver
Returns true if the passed in matrix toLinearSolver.setA(Matrix)
is modified.- Returns:
- true if A is modified in setA().
-
modifiesB
public boolean modifiesB()Description copied from interface:LinearSolver
Returns true if the passed in 'B' matrix toLinearSolver.solve(Matrix, Matrix)
is modified.- Returns:
- true if B is modified in solve(B,X).
-