Notaknot Cubic Spline

Notaknot Cubic Spline — Notaknot boundary conditions.

Synopsis

struct              NcmSplineCubicNotaknot;
struct              NcmSplineCubicNotaknotClass;
NcmSpline *         ncm_spline_cubic_notaknot_new       (void);
NcmSpline *         ncm_spline_cubic_notaknot_new_full  (NcmVector *xv,
                                                         NcmVector *yv,
                                                         gboolean init);

Object Hierarchy

  GObject
   +----NcmSpline
         +----NcmSplineCubic
               +----NcmSplineCubicNotaknot

Description

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

Details

struct NcmSplineCubicNotaknot

struct NcmSplineCubicNotaknot;

struct NcmSplineCubicNotaknotClass

struct NcmSplineCubicNotaknotClass {
};

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.

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.