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