Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages
hugin_utils::LMS_Solver Class Reference
Solve a linear least squares problem. More...
#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 |
Detailed Description
Solve a linear least squares problem.
Constructor & Destructor Documentation
|
|
Create a new LMS solver. A*x = b, solve for x using the pseudoinverse and LU decomposition: A'A x = A' b. |
|
|
|
Member Function Documentation
|
||||||||||||||||
|
Add a single equation (row) to the solver.
|
|
||||||||||
|
calculate LMS solution, returns false if no solution could be found
|
Member Data Documentation
|
|
|
|
|
|
The documentation for this class was generated from the following file:
- hugin_base/hugin_math/lu.h
1.3.9.1