Go to the documentation of this file.
20 #ifndef _CUBICHERMITESPLINE_HPP
21 #define _CUBICHERMITESPLINE_HPP
72 #endif // _CUBICHERMITESPLINE_HPP
CubicHermiteSpline(const std::vector< double > &points, const std::vector< double > &values)
Constructs a CubicHermiteSpline using standard vectors.
void CheckForError() const
Checks for errors and throws exception if cSpline initialization resulted in an error.
An implementation of the IInterpolation interface that acts as a wrapper for a cSpline.
cSpline * cSpline_
The class containing the algorithm for constructing splines and retrieving interpolated values.
virtual ~CubicHermiteSpline()
CubicHermiteSpline(const Eigen::VectorXd &points, const Eigen::VectorXd &values)
Constructs a CubicHermiteSpline using Eigen vectors.
KernelTraitsBase< Kernel >::space_type::abscissa_type x
bool IsDifferentiable() override
Indicates whether the algorithm can provide an interpolated derivative.
double Differentiate(double x) override
Derivative at the point x.
double Interpolate(double x) override
Interpolate at point x.
double Integrate(double a, double b) override
Definite integral between points a and b over function f.
bool IsIntegrable() override
Indicates whether the algorithm can provide an interpolated integral.
Interface for interpolating between points in a discrete data set.