Constructor
NumCosmoMathSplineGslnew_full_by_id
Declaration [src]
NcmSplineGsl*
ncm_spline_gsl_new_full_by_id (
NcmSplineGslType type_id,
NcmVector* xv,
NcmVector* yv,
gboolean init
)
Parameters
type_id-
Type:
NcmSplineGslTypeGsl interpolation method id.
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 NcmSplineGsl.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |