NcmSplineGsl

NcmSplineGsl — GSL spline object wrapper.

Properties

gchar * type-name Read / Write / Construct

Types and Values

Object Hierarchy

    GEnum
    ╰── NcmSplineGslType
    GObject
    ╰── NcmSpline
        ╰── NcmSplineGsl

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.

Parameters

type

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.

Parameters

type

gsl interpolation method.

 

xv

NcmVector of knots.

 

yv

NcmVector of the values of the function, to be interpolated, computed at xv .

 

init

TRUE to prepare the new NcmSpline or FALSE to not prepare it.

 

Returns

a new NcmSpline.


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 .

Parameters

sg

a NcmSplineGsl.

 

type

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 .

Parameters

sg

a NcmSplineGsl.

 

type_id

gsl interpolation method id.

 

Types and Values

enum NcmSplineGslType

FIXME

Members

NCM_SPLINE_GSL_LINEAR

FIXME

 

NCM_SPLINE_GSL_POLYNOMIAL

FIXME

 

NCM_SPLINE_GSL_CSPLINE

FIXME

 

NCM_SPLINE_GSL_CSPLINE_PERIODIC

FIXME

 

NCM_SPLINE_GSL_AKIMA

FIXME

 

NCM_SPLINE_GSL_AKIMA_PERIODIC

FIXME

 

Property Details

The “type-name” property

  “type-name”                gchar *

GSL Interpolation method name.

Flags: Read / Write / Construct

Default value: "NCM_SPLINE_GSL_CSPLINE"