1 #ifndef SRC_CLIMATH_INTERPOLATION_H_
2 #define SRC_CLIMATH_INTERPOLATION_H_
11 int locate(
double const *xx,
double x,
int n);
12 void interpn(
double *val,
double const *coor,
double const *
data,
13 double const *axis,
size_t const *len,
int ndim,
int nval);
14 double interp1(
double x,
double const *
data,
double const *axis,
size_t len);
21 void interpnf(
double *val,
double const *coor,
double const *
data,
22 double const *axis,
size_t const *len,
int ndim);
int find_place_in_table(int n, struct float_triplet *table, double x, double *dx, int il)
double interp1(double x, double const *data, double const *axis, size_t len)
double splint(double xx, struct float_triplet *table, double dx)
int locate(double const *xx, double x, int n)
void interpn(double *val, double const *coor, double const *data, double const *axis, size_t const *len, int ndim, int nval)
void interpnf(double *val, double const *coor, double const *data, double const *axis, size_t const *len, int ndim)
void spline(int n, struct float_triplet *table, double y1_bot, double y1_top)