Plugins
|
Evaluate using (algebraic) infinity norm. More...
#include <time_extrapolation.h>
Public Member Functions | |
NormInfEstimator () | |
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) infinity norm.
Optional: provide component offset o and stride s, such that vector is evaluated at vec[o+k*s]
|
protected |
|
inline |
|
inline |
References ug::NormInfEstimator< TVector >::m_offset.
|
inline |
References ug::NormInfEstimator< 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::NormInfEstimator< TVector >::m_offset, ug::NormInfEstimator< TVector >::m_stride, and ug::tools::VecScaleAddWithNormInf().
|
protected |
|
protected |