KASKADE 7 development version
Loading...
Searching...
No Matches
Kaskade::ExtrapolationTableau< T > Class Template Reference

Polynomial extrapolation following Aitken-Neville. More...

#include <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)

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.

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.

◆ clear()

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

Removes all previously inserted polynomial values.

Definition at line 39 of file extrapolation.hh.

◆ 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 t,
double hnew )
inline

Inserts polynomial value t(hnew) into the tableau.

Definition at line 68 of file extrapolation.hh.

◆ 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.


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