CFL
Public Member Functions | List of all members

Standard concrete class for interpolation of one-dimensional functions. More...

#include <cfl/Interp.hpp>

Public Member Functions

 Interp (IInterp *pNewP=0)
 
template<class InIt1 , class InIt2 >
Function interpolate (InIt1 itArgBegin, InIt1 itArgEnd, InIt2 itValBegin) const
 

Detailed Description

This is the standard class for one-dimensional interpolation. It is implemented by a dynamically allocated object derived from interface class IInterp.

See also
IInterp and NInterp

Constructor & Destructor Documentation

cfl::Interp::Interp ( IInterp pNewP = 0)
explicit

A constructor.

Parameters
pNewPA dynamically allocated implementation of IInterp.

Member Function Documentation

template<class InIt1 , class InIt2 >
Function cfl::Interp::interpolate ( InIt1  itArgBegin,
InIt1  itArgEnd,
InIt2  itValBegin 
) const

Returns interpolated function for given arguments and values.

Parameters
itArgBeginThe iterator to the first element of the sequence of arguments
itArgEndThe iterator to the last plus one element of the sequence of arguments
itValBeginThe iterator to the first element of the sequence of values
Returns
Interpolating function.

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