![]() |
Object-oriented Scientific Computing Library: Version 0.910
|
Linear interpolation (GSL) More...
#include <interp.h>
Linear interpolation requires no calls to allocate() or free() as there is no internal storage required.
Public Member Functions | |
virtual int | init (const vec_t &x, const vec_t &y, size_t size) |
Initialize interpolation routine. | |
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 ![]() | |
virtual const char * | type () |
Return the type, "linear_interp" . | |
Private Member Functions | |
linear_interp (const linear_interp< vec_t > &) | |
linear_interp< vec_t > & | operator= (const linear_interp< vec_t > &) |
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).