A specialization of interp for C-style double arrays. More...
#include <interp.h>
See also the Interpolation section of the O2scl User's guide.
Public Member Functions | |
interp_array (size_t interp_type) | |
Create with base interpolation objects it and rit . | |
interp_array () | |
Create an interpolator using the default base interpolation objects. | |
![]() | |
interp (size_t interp_type=itp_cspline) | |
Create with base interpolation object it . | |
virtual double | eval (const double x0, size_t n, const double &x, const double &y) |
Give the value of the function, ![]() n elements of vectors x and y . | |
virtual double | deriv (const double x0, size_t n, const double &x, const double &y) |
Give the value of the derivative, ![]() ![]() n elements of vectors x and y . | |
virtual double | deriv2 (const double x0, size_t n, const double &x, const double &y) |
Give the value of the second derivative, ![]() ![]() n elements of vectors x and y . | |
virtual double | integ (const double x1, const double x2, size_t n, const double &x, const double &y) |
Give the value of the integral ![]() ![]() n elements of vectors x and y . | |
void | set_type (size_t interp_type) |
Set base interpolation type. | |
Additional Inherited Members | |
![]() | |
interp_base< double, double > * | itp |
Pointer to base interpolation object. | |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).