Plugins
|
Evaluate using (algebraic) L2 norm. More...
#include <time_extrapolation.h>
Public Member Functions | |
Norm2Estimator () | |
Norm2Estimator (int delta, int offset) | |
Norm2Estimator (int stride) | |
void | set_offset (int offset) |
void | set_stride (int delta) |
bool | update (SmartPtr< TVector > vUpdate, number alpha2, SmartPtr< TVector > vFine, SmartPtr< TVector > vCoarse) |
compute update vUpdate = vFine + alpha * (vFine- vCoarse) AND estimate error | alpha * (vFine- vCoarse)| More... | |
Public Member Functions inherited from ug::ISubDiagErrorEst< TVector > | |
virtual std::string | config_string () const |
number | get_current_estimate () |
get estimate More... | |
ISubDiagErrorEst () | |
void | reset_estimate () |
virtual | ~ISubDiagErrorEst () |
Protected Types | |
typedef ISubDiagErrorEst< TVector > | base_type |
Protected Attributes | |
int | m_offset |
int | m_stride |
Protected Attributes inherited from ug::ISubDiagErrorEst< TVector > | |
number | m_est |
Evaluate using (algebraic) L2 norm.
|
protected |
|
inline |
|
inline |
|
inline |
|
inline |
References ug::Norm2Estimator< TVector >::m_offset.
|
inline |
References ug::Norm2Estimator< TVector >::m_stride.
|
inlinevirtual |
compute update vUpdate = vFine + alpha * (vFine- vCoarse) AND estimate error | alpha * (vFine- vCoarse)|
Implements ug::ISubDiagErrorEst< TVector >.
References ug::ISubDiagErrorEst< TVector >::m_est, ug::Norm2Estimator< TVector >::m_offset, ug::Norm2Estimator< TVector >::m_stride, PCL_DT_DOUBLE, PCL_RO_SUM, and ug::tools::VecScaleAddWithNorm2().
|
protected |
Referenced by ug::Norm2Estimator< TVector >::set_offset(), and ug::Norm2Estimator< TVector >::update().
|
protected |
Referenced by ug::Norm2Estimator< TVector >::set_stride(), and ug::Norm2Estimator< TVector >::update().