#include "cddefines.h"
#include "thirdparty.h"
Go to the source code of this file.
Functions | |
STATIC double * | d3_np_fs (long n, double a[], const double b[], double x[]) |
void | spline_cubic_set (long n, const double t[], const double y[], double ypp[], int ibcbeg, double ybcbeg, int ibcend, double ybcend) |
void | spline_cubic_val (long n, const double t[], double tval, const double y[], const double ypp[], double *yval, double *ypval, double *yppval) |
double | lagrange (const double x[], const double y[], long n, double xval) |
double | linint (const double x[], const double y[], long n, double xval) |
STATIC double * d3_np_fs | ( | long | n, | |
double | a[], | |||
const double | b[], | |||
double | x[] | |||
) |
Definition at line 20 of file thirdparty_interpolate.cpp.
References DEBUG_ENTRY, and DEBUG_EXIT.
Referenced by spline_cubic_set().
double lagrange | ( | const double | x[], | |
const double | y[], | |||
long | n, | |||
double | xval | |||
) |
do lagrange interpolation of order n on x[], y[]
Definition at line 444 of file thirdparty_interpolate.cpp.
References DEBUG_ENTRY, and DEBUG_EXIT.
Referenced by TempInterp().
double linint | ( | const double | x[], | |
const double | y[], | |||
long | n, | |||
double | xval | |||
) |
do linear interpolation on x[], y[]; it is assumed that x[] is strictly monotonically increasing
Definition at line 469 of file thirdparty_interpolate.cpp.
References ASSERT, DEBUG_ENTRY, DEBUG_EXIT, and hunt_bisect().
Referenced by cross_section(), and DynaEndIter().
void spline_cubic_set | ( | long | n, | |
const double | t[], | |||
const double | y[], | |||
double | ypp[], | |||
int | ibcbeg, | |||
double | ybcbeg, | |||
int | ibcend, | |||
double | ybcend | |||
) |
Definition at line 108 of file thirdparty_interpolate.cpp.
References ASSERT, cdEXIT(), d3_np_fs(), DEBUG_ENTRY, DEBUG_EXIT, ioQQQ, and MALLOC.
Referenced by spline().
void spline_cubic_val | ( | long | n, | |
const double | t[], | |||
double | tval, | |||
const double | y[], | |||
const double | ypp[], | |||
double * | yval, | |||
double * | ypval, | |||
double * | yppval | |||
) |
Definition at line 340 of file thirdparty_interpolate.cpp.
References DEBUG_ENTRY, DEBUG_EXIT, and hunt_bisect().
Referenced by spldrv(), and splint().