| Top |
Functions
| NcmSpline * | ncm_spline_gsl_new () |
| NcmSpline * | ncm_spline_gsl_new_full () |
| NcmSpline * | ncm_spline_gsl_new_by_id () |
| NcmSpline * | ncm_spline_gsl_new_full_by_id () |
| void | ncm_spline_gsl_set_type () |
| void | ncm_spline_gsl_set_type_by_id () |
| void | ncm_spline_gsl_set_type_by_name () |
Description
This object comprises the proper functions to use the GNU Scientific Library (GSL) spline functions and interpolation methods.
Functions
ncm_spline_gsl_new ()
NcmSpline *
ncm_spline_gsl_new (const gsl_interp_type *type);
This function returns a new gsl NcmSpline which will use type
interpolation method.
ncm_spline_gsl_new_full ()
NcmSpline * 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.
ncm_spline_gsl_new_by_id ()
NcmSpline *
ncm_spline_gsl_new_by_id (NcmSplineGslType type_id);
This function returns a new gsl NcmSpline which will use type
interpolation method.
ncm_spline_gsl_new_full_by_id ()
NcmSpline * ncm_spline_gsl_new_full_by_id (NcmSplineGslType type_id,NcmVector *xv,NcmVector *yv,gboolean init);
This function returns a new gsl NcmSpline setting all its members.
ncm_spline_gsl_set_type ()
void ncm_spline_gsl_set_type (NcmSplineGsl *sg,const gsl_interp_type *type);
This function sets the interpolation method type
to sg
.
ncm_spline_gsl_set_type_by_id ()
void ncm_spline_gsl_set_type_by_id (NcmSplineGsl *sg,NcmSplineGslType type_id);
This function sets the interpolation method type_id
to sg
.
ncm_spline_gsl_set_type_by_name ()
void ncm_spline_gsl_set_type_by_name (NcmSplineGsl *sg,const gchar *type_name);
This function sets the interpolation method type_name
to sg
.
Types and Values
enum NcmSplineGslType
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.
Members
|
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. |
Property Details
The “type-name” property
“type-name” gchar *
The name of the interpolation method from GNU Scientific Library (GSL).
Owner: NcmSplineGsl
Flags: Read / Write / Construct
Default value: "NCM_SPLINE_GSL_CSPLINE"