NcmSplineCubicNotaknot

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

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Object Hierarchy

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

Includes

#include <numcosmo/math/ncm_spline_cubic_notaknot.h>

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 ()

NcmSplineCubicNotaknot *
ncm_spline_cubic_notaknot_new (void);

This function returns a new cubic NcmSpline.

Returns

a new NcmSpline.


ncm_spline_cubic_notaknot_new_full ()

NcmSplineCubicNotaknot *
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.

Types and Values

NCM_TYPE_SPLINE_CUBIC_NOTAKNOT

#define NCM_TYPE_SPLINE_CUBIC_NOTAKNOT (ncm_spline_cubic_notaknot_get_type ())

NcmSplineCubicNotaknot

typedef struct _NcmSplineCubicNotaknot NcmSplineCubicNotaknot;