#include <interp.h>
Linear interpolation requires no calls to allocate(), free() or init(), as there is no internal storage required.
Definition at line 149 of file interp.h.
Public Member Functions | |
virtual int | interp (const vec_t &x_array, const vec_t &y_array, size_t size, double x, double &y) |
Give the value of the function ![]() | |
virtual int | deriv (const vec_t &x_array, const vec_t &y_array, size_t size, double x, double &dydx) |
Give the value of the derivative ![]() | |
virtual int | deriv2 (const vec_t &x, const vec_t &y, size_t size, double x0, double &d2ydx2) |
Give the value of the second derivative ![]() | |
virtual int | integ (const vec_t &x_array, const vec_t &y_array, size_t size, double a, double b, double &result) |
Give the value of the integral ![]() |
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page