![]() |
![]() |
![]() |
NumCosmo Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
Synopsis
enum NcmSplineGslType; struct NcmSplineGslClass; struct NcmSplineGsl; NcmSpline * ncm_spline_gsl_new (const gsl_interp_type *type
); NcmSpline * ncm_spline_gsl_new_full (const gsl_interp_type *type
,NcmVector *xv
,NcmVector *yv
,gboolean init
); void ncm_spline_gsl_set_type (NcmSplineGsl *sg
,const gsl_interp_type *type
); void ncm_spline_gsl_set_type_by_id (NcmSplineGsl *sg
,NcmSplineGslType type_id
);
Description
This object comprises the proper functions to use the GNU Scientific Library (GSL) spline functions and interpolation methods.
Details
enum NcmSplineGslType
typedef enum { NCM_SPLINE_GSL_LINEAR = 0, NCM_SPLINE_GSL_POLYNOMIAL, NCM_SPLINE_GSL_CSPLINE, NCM_SPLINE_GSL_CSPLINE_PERIODIC, NCM_SPLINE_GSL_AKIMA, } NcmSplineGslType;
FIXME
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.
|
gsl interpolation method. |
Returns : |
a new NcmSpline. |
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_set_type ()
void ncm_spline_gsl_set_type (NcmSplineGsl *sg
,const gsl_interp_type *type
);
This function sets the interpolation method type
to sg
.
|
a NcmSplineGsl. |
|
gsl interpolation method. |
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
.
|
a NcmSplineGsl. |
|
gsl interpolation method id. |
Property Details
The "type"
property
"type" NcmSplineGslType : Read / Write
GSL Interpolation method.
Default value: NCM_SPLINE_GSL_CSPLINE
The "type-name"
property
"type-name" gchar* : Write
GSL Interpolation method name.
Default value: NULL