Function declarations (used globally) from USER parts of code. More...
Go to the source code of this file.
Functions | |
FTYPE | interpn (int order, FTYPE x_eval, FTYPE x1, FTYPE f1, FTYPE x2, FTYPE f2, FTYPE x3, FTYPE f3, FTYPE x4, FTYPE f4, FTYPE x5, FTYPE f5, FTYPE x6, FTYPE f6) |
Description: Constructs a second-order polynomial interpolating the set of points {x#, f#}, #=1..3 and evaluates it at the point x. More... | |
int | bounds_generate (int i, int j, int k, FTYPE *prim) |
Function declarations (used globally) from USER parts of code.
Definition in file global.funcdeclare.user.h.
int bounds_generate | ( | int | i, |
int | j, | ||
int | k, | ||
FTYPE * | prim | ||
) |
FTYPE interpn | ( | int | order, |
FTYPE | x_eval, | ||
FTYPE | x1, | ||
FTYPE | f1, | ||
FTYPE | x2, | ||
FTYPE | f2, | ||
FTYPE | x3, | ||
FTYPE | f3, | ||
FTYPE | x4, | ||
FTYPE | f4, | ||
FTYPE | x5, | ||
FTYPE | f5, | ||
FTYPE | x6, | ||
FTYPE | f6 | ||
) |
Description: Constructs a second-order polynomial interpolating the set of points {x#, f#}, #=1..3 and evaluates it at the point x.
Interpolation is performed using the standard Lagrange method. Arguments: x_eval – abscissa of a point where an interpolated value is to be evaluated x1, x2, x3 – set of abscissas; should all be different; can come in any order f1, f2, f3 – set of function values at the above abscissas, i.e. f# = f( x# ), # = 1..3
Definition at line 20 of file math.tools.c.