#include <interp.h>
Definition at line 747 of file interp.h.
Public Member Functions | |
akima_interp (bool periodic=false) | |
Create a base interpolation object with or without periodic boundary conditions. | |
virtual int | allocate (size_t size) |
Allocate memory, assuming x and y have size size . | |
virtual int | init (const vec_t &xa, const vec_t &ya, size_t size) |
Initialize interpolation routine. | |
virtual int | free () |
Free allocated memory. | |
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_array, const vec_t &y_array, size_t size, double x, 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 aa, double bb, double &result) |
Give the value of the integral ![]() | |
virtual const char * | type () |
Return the type, "akima_interp" . | |
Protected Member Functions | |
void | akima_calc (const vec_t &x_array, size_t size, double m[]) |
For initializing the interpolation. | |
Protected Attributes | |
bool | peri |
True for periodic boundary conditions. | |
Storage for Akima spline interpolation | |
double * | b |
double * | c |
double * | d |
double * | um |
Private Member Functions | |
akima_interp (const akima_interp< vec_t > &) | |
akima_interp< vec_t > & | operator= (const akima_interp< vec_t > &) |
virtual int init | ( | const vec_t & | xa, | |
const vec_t & | ya, | |||
size_t | size | |||
) | [inline, virtual] |
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