Package org.ejml.dense.row.factory
Class LinearSolverFactory_MT_DDRM
java.lang.Object
org.ejml.dense.row.factory.LinearSolverFactory_MT_DDRM
A factory for generating solvers for systems of the form A*x=b, where A and B are known and x is unknown.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LinearSolverDense<DMatrixRMaj>
chol
(int numRows) Creates a linear solver using Cholesky decompositionstatic LinearSolverDense<DMatrixRMaj>
leastSquares
(int numRows, int numCols) Creates a good general purpose solver for over determined systems and returns the optimal least-squares solution.static LinearSolverDense<DMatrixRMaj>
qr
(int numRows, int numCols) Creates a linear solver using QR decompositionstatic LinearSolverDense<DMatrixRMaj>
symmPosDef
(int matrixWidth) Creates a solver for symmetric positive definite matrices.
-
Constructor Details
-
LinearSolverFactory_MT_DDRM
public LinearSolverFactory_MT_DDRM()
-
-
Method Details
-
chol
Creates a linear solver using Cholesky decomposition -
qr
Creates a linear solver using QR decomposition -
leastSquares
Creates a good general purpose solver for over determined systems and returns the optimal least-squares solution. The A matrix will have dimensions (m,n) where m ≥ n.- Parameters:
numRows
- The number of rows that the decomposition is optimized for.numCols
- The number of columns that the decomposition is optimized for.- Returns:
- A new least-squares solver for over determined systems.
-
symmPosDef
Creates a solver for symmetric positive definite matrices.- Returns:
- A new solver for symmetric positive definite matrices.
-