TooN 2.1
Public Member Functions
IRLS< Size, Precision, Reweight > Class Template Reference

Performs iterative reweighted least squares. More...

#include <irls.h>

Inheritance diagram for IRLS< Size, Precision, Reweight >:
WLS< Size, Precision >

List of all members.

Public Member Functions

 IRLS (int size=Size)
template<int Size2, typename Precision2 , typename Base2 >
void add_mJ (Precision m, const Vector< Size2, Precision2, Base2 > &J)
void operator+= (const IRLS &meas)
Matrix< Size, Size, Precision > & get_true_C_inv ()
const Matrix< Size, Size,
Precision > & 
get_true_C_inv () const
Precision get_residual ()
void clear ()

Detailed Description

template<int Size, typename Precision, template< typename Precision > class Reweight>
class TooN::IRLS< Size, Precision, Reweight >

Performs iterative reweighted least squares.

Parameters:
Sizethe size
ReweightThe reweighting functor. This structure must provide reweight(), true-scale() and objective() methods. Existing examples are Robust I, Robust II and ILinear.