KASKADE 7 development version
Public Types | Public Member Functions | List of all members
Kaskade::ExtrapolationTableau< T > Class Template Reference

Polynomial extrapolation following Aitken-Neville. More...

#include <extrapolation.hh>

Detailed Description

template<class T>
class Kaskade::ExtrapolationTableau< T >

Polynomial extrapolation following Aitken-Neville.

An Aitken-Neville extrapolation tableau for polynomial interpolation/extrapolation.

Definition at line 28 of file extrapolation.hh.

Public Types

typedef T value_type
 

Public Member Functions

 ExtrapolationTableau (double hTarget_)
 
void clear ()
 
T const & back () const
 
T const & operator[] (int i) const
 
int size () const
 
void push_back (T t, double hnew)
 

Member Typedef Documentation

◆ value_type

template<class T >
typedef T Kaskade::ExtrapolationTableau< T >::value_type

Definition at line 31 of file extrapolation.hh.

Constructor & Destructor Documentation

◆ ExtrapolationTableau()

template<class T >
Kaskade::ExtrapolationTableau< T >::ExtrapolationTableau ( double  hTarget_)
inlineexplicit

Definition at line 33 of file extrapolation.hh.

Member Function Documentation

◆ back()

template<class T >
T const & Kaskade::ExtrapolationTableau< T >::back ( ) const
inline

Returns the current extrapolation value, which takes all inserted values into account. This is supposed to be the most accurate one.

Definition at line 46 of file extrapolation.hh.

Referenced by Kaskade::Limex< Eq >::step().

◆ clear()

template<class T >
void Kaskade::ExtrapolationTableau< T >::clear ( )
inline

Removes all previously inserted polynomial values.

Definition at line 39 of file extrapolation.hh.

Referenced by Kaskade::Limex< Eq >::step().

◆ operator[]()

template<class T >
T const & Kaskade::ExtrapolationTableau< T >::operator[] ( int  i) const
inline

Returns the order i extrapolation value based on the i+1 most recently pushed values.

Definition at line 52 of file extrapolation.hh.

◆ push_back()

template<class T >
void Kaskade::ExtrapolationTableau< T >::push_back ( t,
double  hnew 
)
inline

Inserts polynomial value t(hnew) into the tableau.

Definition at line 68 of file extrapolation.hh.

Referenced by Kaskade::Limex< Eq >::step().

◆ size()

template<class T >
int Kaskade::ExtrapolationTableau< T >::size ( ) const
inline

Returns the number of available extrapolation values in the current line of the tableau. This is one more than the maximal order.

Definition at line 62 of file extrapolation.hh.

Referenced by Kaskade::Limex< Eq >::estimateError().


The documentation for this class was generated from the following file: