Top |
This object comprises the proper functions to use the GNU Scientific Library (GSL) spline functions and interpolation methods.
NcmSplineGsl *
ncm_spline_gsl_new (const gsl_interp_type *type
);
This function returns a new gsl NcmSpline which will use type
interpolation method.
NcmSplineGsl * ncm_spline_gsl_new_full (const gsl_interp_type *type
,NcmVector *xv
,NcmVector *yv
,gboolean init
);
This function returns a new gsl NcmSpline setting all its members.
NcmSplineGsl *
ncm_spline_gsl_new_by_id (NcmSplineGslType type_id
);
This function returns a new gsl NcmSpline which will use type
interpolation method.
NcmSplineGsl * ncm_spline_gsl_new_full_by_id (NcmSplineGslType type_id
,NcmVector *xv
,NcmVector *yv
,gboolean init
);
This function returns a new gsl NcmSplineGsl setting all its members.
void ncm_spline_gsl_set_type (NcmSplineGsl *sg
,const gsl_interp_type *type
);
This function sets the interpolation method type
to sg
.
void ncm_spline_gsl_set_type_by_id (NcmSplineGsl *sg
,NcmSplineGslType type_id
);
This function sets the interpolation method type_id
to sg
.
void ncm_spline_gsl_set_type_by_name (NcmSplineGsl *sg
,const gchar *type_name
);
This function sets the interpolation method type_name
to sg
.
Enumeration to choose which GSL interpolation method as backend to be used by the object. It can be used with the function ncm_spline_gsl_new_by_id()
when a new NcmSplineGsl is created.
Uses gsl_interp_linear interpolation method. |
||
Uses gsl_interp_polynomial interpolation method. |
||
Uses gsl_interp_cspline interpolation method. |
||
Uses gsl_interp_cspline_periodic interpolation method. |
||
Uses gsl_interp_akima interpolation method. |
||
Uses gsl_interp_akima_periodic interpolation method. |
“type-name”
property “type-name” char *
The name of the interpolation method from GNU Scientific Library (GSL).
Owner: NcmSplineGsl
Flags: Read / Write / Construct
Default value: "NCM_SPLINE_GSL_CSPLINE"