#include <wls.h>
Public Member Functions | |
WLS (unsigned int s) | |
Default constructor. | |
void | Identity (Matrix<> &M, double d) |
void | clear (double prior=0) |
void | add_prior (double val) |
template<int VSize, class Accessor> | |
void | add_prior (const FixedVector< VSize, Accessor > &v) |
template<int MSize, class Accessor> | |
void | add_prior (const FixedMatrix< MSize, MSize, Accessor > &m) |
template<int VSize, class Accessor> | |
void | add_df (double m, const FixedVector< VSize, Accessor > &J, double weight=1) |
template<class Accessor> | |
void | add_df (double m, const DynamicVector< Accessor > &J, double weight=1) |
void | compute () |
const Vector & | get_mu () const |
Returns mu. | |
Vector & | get_mu () |
const Matrix & | get_C_inv () const |
Returns the inverse covariance matrix. | |
Matrix & | get_C_inv () |
const Vector & | get_vector () const |
Returns my_vector. | |
Vector & | get_vector () |
WLS (unsigned int s) | |
Default constructor. | |
void | Identity (Matrix<> &M, double d) |
void | clear (double prior=0) |
void | add_prior (double val) |
template<int VSize, class Accessor> | |
void | add_prior (const FixedVector< VSize, Accessor > &v) |
template<int MSize, class Accessor> | |
void | add_prior (const FixedMatrix< MSize, MSize, Accessor > &m) |
template<int VSize, class Accessor> | |
void | add_df (double m, const FixedVector< VSize, Accessor > &J, double weight=1) |
template<class Accessor> | |
void | add_df (double m, const DynamicVector< Accessor > &J, double weight=1) |
void | compute () |
const Vector & | get_mu () const |
Returns mu. | |
Vector & | get_mu () |
const Matrix & | get_C_inv () const |
Returns the inverse covariance matrix. | |
Matrix & | get_C_inv () |
const Vector & | get_vector () const |
Returns my_vector. | |
Vector & | get_vector () |
Size | The number of dimensions in the system |
Definition at line 156 of file wls.h.
void TooN::WLS<-1 >::clear | ( | double | prior = 0 |
) | [inline] |
Clear all the measurements and apply a constant regularisation term. Equates to a prior that says all the parameters are zero with .
prior | The strength of the prior |
Definition at line 181 of file wls.h.
References TooN::Identity().
void TooN::WLS<-1 >::add_prior | ( | double | val | ) | [inline] |
void TooN::WLS<-1 >::add_prior | ( | const FixedVector< VSize, Accessor > & | v | ) | [inline] |
void TooN::WLS<-1 >::add_prior | ( | const FixedMatrix< MSize, MSize, Accessor > & | m | ) | [inline] |
void TooN::WLS<-1 >::add_df | ( | double | m, | |
const FixedVector< VSize, Accessor > & | J, | |||
double | weight = 1 | |||
) | [inline] |
void TooN::WLS<-1 >::add_df | ( | double | m, | |
const DynamicVector< Accessor > & | J, | |||
double | weight = 1 | |||
) | [inline] |
void TooN::WLS<-1 >::clear | ( | double | prior = 0 |
) | [inline] |
Clear all the measurements and apply a constant regularisation term. Equates to a prior that says all the parameters are zero with .
prior | The strength of the prior |
Definition at line 181 of file wls.h.
References TooN::Identity().
void TooN::WLS<-1 >::add_prior | ( | double | val | ) | [inline] |
void TooN::WLS<-1 >::add_prior | ( | const FixedVector< VSize, Accessor > & | v | ) | [inline] |
void TooN::WLS<-1 >::add_prior | ( | const FixedMatrix< MSize, MSize, Accessor > & | m | ) | [inline] |
void TooN::WLS<-1 >::add_df | ( | double | m, | |
const FixedVector< VSize, Accessor > & | J, | |||
double | weight = 1 | |||
) | [inline] |
void TooN::WLS<-1 >::add_df | ( | double | m, | |
const DynamicVector< Accessor > & | J, | |||
double | weight = 1 | |||
) | [inline] |