#include <lu.h>
Public Member Functions | |
| LMS_Solver (unsigned nEq) | |
| Create a new LMS solver. | |
| ~LMS_Solver () | |
| template<class Iter> | |
| void | addRow (Iter Arow, double b) |
| Add a single equation (row) to the solver. | |
| template<class Vector> | |
| bool | solve (Vector &x) |
| calculate LMS solution, returns false if no solution could be found | |
Protected Attributes | |
| unsigned | m_nEq |
| double * | m_AtA |
Definition at line 88 of file lu.h.
|
|
Create a new LMS solver. A*x = b, solve for x using the pseudoinverse and LU decomposition: A'A x = A' b. |
|
|
|
|
||||||||||||||||
|
Add a single equation (row) to the solver.
Definition at line 109 of file lu.h. Referenced by vigra_ext::VigQuotientEstimator::leastSquaresEstimate(). |
|
||||||||||
|
calculate LMS solution, returns false if no solution could be found
Definition at line 124 of file lu.h. References math_lu_solve(). Referenced by vigra_ext::VigQuotientEstimator::leastSquaresEstimate(). |
|
|
|
|
|
|
1.3.9.1