TooN::IRLS< Size, Precision, Reweight > Class Template Reference
[Linear equation solvers]
#include <irls.h>
List of all members.
Public Member Functions |
template<int Size2, typename Precision2 , typename Base2 > |
void | add_mJ (Precision m, const Vector< Size2, Precision2, Base2 > &J) |
void | clear () |
| Clear all the measurements and apply a constant regularisation term.
|
Precision | get_residual () |
const Matrix< Size, Size,
Precision > & | get_true_C_inv () const |
Matrix< Size, Size, Precision > & | get_true_C_inv () |
| IRLS (int size=Size) |
void | operator+= (const IRLS &meas) |
Private Member Functions |
| IRLS (IRLS ©of) |
int | operator= (IRLS ©of) |
Private Attributes |
Precision | my_residual |
Matrix< Size, Size, Precision > | my_true_C_inv |
Detailed Description
template<int Size, typename Precision, template< typename Precision > class Reweight>
class TooN::IRLS< Size, Precision, Reweight >
Performs iterative reweighted least squares.
- Parameters:
-
| Size | the size |
| Reweight | The reweighting functor. This structure must provide reweight(), true-scale() and objective() methods. Existing examples are Robust I, Robust II and ILinear. |
Definition at line 104 of file irls.h.
Constructor & Destructor Documentation
template<int Size, typename Precision , template< typename Precision > class Reweight>
TooN::IRLS< Size, Precision, Reweight >::IRLS |
( |
int |
size = Size |
) |
[inline] |
template<int Size, typename Precision , template< typename Precision > class Reweight>
TooN::IRLS< Size, Precision, Reweight >::IRLS |
( |
IRLS< Size, Precision, Reweight > & |
copyof |
) |
[private] |
Member Function Documentation
template<int Size, typename Precision , template< typename Precision > class Reweight>
template<int Size2, typename Precision2 , typename Base2 >
void TooN::IRLS< Size, Precision, Reweight >::add_mJ |
( |
Precision |
m, |
|
|
const Vector< Size2, Precision2, Base2 > & |
J | |
|
) |
| | [inline] |
template<int Size, typename Precision , template< typename Precision > class Reweight>
void TooN::IRLS< Size, Precision, Reweight >::clear |
( |
|
) |
[inline] |
template<int Size, typename Precision , template< typename Precision > class Reweight>
Precision TooN::IRLS< Size, Precision, Reweight >::get_residual |
( |
|
) |
[inline] |
template<int Size, typename Precision , template< typename Precision > class Reweight>
const Matrix<Size,Size,Precision>& TooN::IRLS< Size, Precision, Reweight >::get_true_C_inv |
( |
|
) |
const [inline] |
template<int Size, typename Precision , template< typename Precision > class Reweight>
Matrix<Size,Size,Precision>& TooN::IRLS< Size, Precision, Reweight >::get_true_C_inv |
( |
|
) |
[inline] |
template<int Size, typename Precision , template< typename Precision > class Reweight>
void TooN::IRLS< Size, Precision, Reweight >::operator+= |
( |
const IRLS< Size, Precision, Reweight > & |
meas |
) |
[inline] |
template<int Size, typename Precision , template< typename Precision > class Reweight>
int TooN::IRLS< Size, Precision, Reweight >::operator= |
( |
IRLS< Size, Precision, Reweight > & |
copyof |
) |
[private] |
Member Data Documentation
template<int Size, typename Precision , template< typename Precision > class Reweight>
template<int Size, typename Precision , template< typename Precision > class Reweight>
The documentation for this class was generated from the following file: