Hermite< T > Class Template Reference

Class for Hermite interpolation with a number of patches. More...

#include <hermite.h>

List of all members.

Public Types

typedef T Number
 The number type.
typedef Base::argument_type argument_type
 The argument type.
typedef Base::result_type result_type
 The result type.

Public Member Functions

template<typename Function , typename Derivative >
 Hermite (const Function &function, const Derivative &derivative, Number closedLowerBound, Number openUpperBound, int numberOfPatches)
 Construct from the functor, its derivative, the range, and the number of patches.
 Hermite (const Hermite &other)
 Copy constructor.
Hermiteoperator= (const Hermite &other)
 Assignment operator.
 ~Hermite ()
 Trivial destructor.
result_type operator() (argument_type x) const
 Return the interpolated function value.

Detailed Description

template<typename T = double>
class Hermite< T >

Class for Hermite interpolation with a number of patches.

This class stores the cubic polynomial coefficients. This requires twice the storage of HermiteFunctionDerivative, but the interpolation is faster.


Constructor & Destructor Documentation

template<typename T = double>
Hermite< T >::Hermite ( const Hermite< T > &  other  ) 

Copy constructor.

Note:
This function is expensive.

Member Function Documentation

template<typename T = double>
Hermite& Hermite< T >::operator= ( const Hermite< T > &  other  ) 

Assignment operator.

Note:
This function is expensive.

The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:15:00 2016 for Numerical Algorithms Package by  doxygen 1.6.3