Constructor
NumCosmoMathSplineGslnew_full
Declaration [src]
NcmSplineGsl*
ncm_spline_gsl_new_full (
const gint* type,
NcmVector* xv,
NcmVector* yv,
gboolean init
)
Parameters
type-
Type:
const gint*Gsl interpolation method.
The data is owned by the caller of the function. xv-
Type:
NcmVectorNcmVectorof knots.The data is owned by the caller of the function. yv-
Type:
NcmVectorNcmVectorof the values of the function, to be interpolated, computed atxv.The data is owned by the caller of the function. init-
Type:
gbooleanTRUE to prepare the new
NcmSplineor FALSE to not prepare it.
Return value
Type: NcmSplineGsl
A new NcmSpline.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |