hermite.h File Reference

Hermite interpolation. More...

#include "../polynomial/evaluate.h"
#include "../../ads/array/Array.h"
#include <functional>
#include "hermite.ipp"

Go to the source code of this file.

Classes

class  Hermite< T >
 Class for Hermite interpolation with a number of patches. More...
class  HermiteFunctionDerivative< T >
 Class for Hermite interpolation with a number of patches. More...

Functions

template<typename T >
hermiteInterpolate (T t, T value0, T value1, T derivative0, T derivative1)
 Hermite interpolation.
template<typename T >
void computeHermitePolynomialCoefficients (T value0, T value1, T derivative0, T derivative1, T *coefficients)
 Compute the polynomial coefficients for Hermite interpolation.

Detailed Description

Hermite interpolation.


Function Documentation

template<typename T >
void computeHermitePolynomialCoefficients ( value0,
value1,
derivative0,
derivative1,
T *  coefficients 
) [inline]

Compute the polynomial coefficients for Hermite interpolation.

Parameters:
value0 f(0)
value1 f(1)
derivative0 f'(0)
derivative1 f'(1)
coefficients The coefficients of the cubic polynomial for performing Hermite interpolation of f(x).

The coefficients c of the polynomial are

\[ c[0] + c[1] x + c[2] x^2 + c[3] x^3. \]

Generated on Thu Jun 30 02:15:00 2016 for Numerical Algorithms Package by  doxygen 1.6.3