Method
NumCosmoMathSplineset_array
Declaration [src]
void
ncm_spline_set_array (
NcmSpline* s,
GArray* x,
GArray* y,
gboolean init
)
Description [src]
This function sets x as the knot vector and y as the function values vector
of the spline.
Parameters
x-
Type: An array of
doubleGArray of knots.
The data is owned by the caller of the method. y-
Type: An array of
doubleGArray of the values of the function, to be interpolated, computed at
x.The data is owned by the caller of the method. init-
Type:
gbooleanTRUE to prepare
sor FALSE to not prepare it.