NcmSplineCubicNotaknot

NcmSplineCubicNotaknot — Cubic spline implementation with 'not a knot' boundary conditions.

Object Hierarchy

    GObject
    ╰── NcmSpline
        ╰── NcmSplineCubic
            ╰── NcmSplineCubicNotaknot

Description

This object implements the necessary functions to compute a cubic spline with boundary conditions obtained with the 'not a knot' method.

Functions

ncm_spline_cubic_notaknot_new ()

NcmSpline *
ncm_spline_cubic_notaknot_new (void);

This function returns a new cubic NcmSpline.

Returns

a new NcmSpline.


ncm_spline_cubic_notaknot_new_full ()

NcmSpline *
ncm_spline_cubic_notaknot_new_full (NcmVector *xv,
                                    NcmVector *yv,
                                    gboolean init);

This function returns a new NcmSpline setting all its members.

Parameters

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.