Class for Hermite interpolation with a number of patches. More...
#include <hermite.h>
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. | |
Hermite & | operator= (const Hermite &other) |
Assignment operator. | |
~Hermite () | |
Trivial destructor. | |
result_type | operator() (argument_type x) const |
Return the interpolated function value. |
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.
Copy constructor.
Assignment operator.