Method
NumCosmoMathSplineset_func1
Declaration [src]
void
ncm_spline_set_func1 (
NcmSpline* s,
NcmSplineFuncType ftype,
NcmSplineFuncF F,
GObject* obj,
gdouble xi,
gdouble xf,
gsize max_nodes,
gdouble rel_error
)
Description [src]
This function automatically determines the knots of s in the interval [xi, xf] given a ftype and rel_error.
Parameters
ftype-
Type:
NcmSplineFuncTypeA
NcmSplineFuncType. F-
Type:
NcmSplineFuncFFunction to be approximated by spline functions.
obj-
Type:
GObjectGObject used by the function
F.The argument can be NULL.The data is owned by the caller of the method. xi-
Type:
gdoubleLower knot.
xf-
Type:
gdoubleUpper knot.
max_nodes-
Type:
gsizeMaximum number of knots.
rel_error-
Type:
gdoubleRelative error between the function to be interpolated and the spline result.