Mondschein Engine  0.3.0
Public Member Functions | List of all members
mondschein::math::Pol_Int Class Referenceabstract

This class is the polynomial interpolation interface. More...

#include <pol_int.h>

Inheritance diagram for mondschein::math::Pol_Int:
mondschein::math::Aitken_Neville

Public Member Functions

virtual std::map< float64,
float64
get_points () const
 Get the interpolation points. More...
 
virtual float64 interpolate (float64 _x) const =0
 Interpolate the polynomial. More...
 

Detailed Description

This class is the polynomial interpolation interface.

The Pol_Int interface class is the common base for polynomial interpolation algorithms and techniques. This common part is an array of points defining the interpolation polyomial.
Since various algorithms significantly differ in their structure and requirements each and every algorithm is implemented in its own class derived from Pol_Int.

Definition at line 39 of file pol_int.h.

Member Function Documentation

std::map< float64, float64 > Pol_Int::get_points ( ) const
virtual

Get the interpolation points.

Returns
theinterpolation points of *this

Definition at line 52 of file pol_int.cpp.

virtual float64 mondschein::math::Pol_Int::interpolate ( float64  _x) const
pure virtual

Interpolate the polynomial.

Parameters
_xthe interpolation location
Returns
the interpolated point

Implemented in mondschein::math::Aitken_Neville.


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