Method
NumCosmoMathSplineset_func_grid
Declaration [src]
void
ncm_spline_set_func_grid (
NcmSpline* s,
NcmSplineFuncType ftype,
gint* F,
const gdouble xi,
const gdouble xf,
gsize nnodes
)
Description [src]
This function fills the spline s with the function F values
in a uniform grid within the range [xi, xf] and a total of nnodes knots.
This method is not directly available to language bindings.
Parameters
ftype-
Type:
NcmSplineFuncTypeA
NcmSplineFuncType: must be either #NCM_SPLINE_FUNC_GRID_LINEAR or #NCM_SPLINE_FUNC_GRID_LOG. F-
Type:
gint*Function to be interpolated.
The data is owned by the caller of the method. xi-
Type:
const gdoubleLower knot.
xf-
Type:
const gdoubleUpper knot.
nnodes-
Type:
gsizeNumber of knots including both limits knots [
xi,xf].