NcmSplineCubic

NcmSplineCubic — Abstract class for implementing cubic splines.

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── NcmSpline
        ╰── NcmSplineCubic
            ├── NcmSplineCubicD2
            ╰── NcmSplineCubicNotaknot

Includes

#include <numcosmo/math/ncm_spline_cubic.h>

Description

This class implements the functions which use a polynomial interpolation method of third degree.

Functions

ncm_spline_cubic_peek_b_vec ()

NcmVector *
ncm_spline_cubic_peek_b_vec (const NcmSplineCubic *s);

Gets the vector of coefficients b. This method is used by subclasses to implement the ncm_spline_prepare() virtual method. It should not be used by the user.

Parameters

Returns

the vector of coefficients b.

[transfer none]


ncm_spline_cubic_peek_c_vec ()

NcmVector *
ncm_spline_cubic_peek_c_vec (const NcmSplineCubic *s);

Gets the vector of coefficients c. This method is used by subclasses to implement the ncm_spline_prepare() virtual method. It should not be used by the user.

Parameters

Returns

the vector of coefficients c.

[transfer none]


ncm_spline_cubic_peek_d_vec ()

NcmVector *
ncm_spline_cubic_peek_d_vec (const NcmSplineCubic *s);

Gets the vector of coefficients d. This method is used by subclasses to implement the ncm_spline_prepare() virtual method. It should not be used by the user.

Parameters

Returns

the vector of coefficients d.

[transfer none]


ncm_spline_cubic_peek_diag_vec ()

NcmVector *
ncm_spline_cubic_peek_diag_vec (const NcmSplineCubic *s);

Gets the vector diag of the tridiagonal matrix. This method is used by subclasses to implement the ncm_spline_prepare() virtual method. It should not be used by the user.

Parameters

Returns

the vector of coefficients g.

[transfer none]


ncm_spline_cubic_peek_offdiag_vec ()

NcmVector *
ncm_spline_cubic_peek_offdiag_vec (const NcmSplineCubic *s);

Gets the vector offdiag of the tridiagonal matrix. This method is used by subclasses to implement the ncm_spline_prepare() virtual method. It should not be used by the user.

Parameters

Returns

the vector of coefficients g.

[transfer none]

Types and Values

NCM_TYPE_SPLINE_CUBIC

#define NCM_TYPE_SPLINE_CUBIC (ncm_spline_cubic_get_type ())

struct NcmSplineCubicClass

struct NcmSplineCubicClass {
};

NcmSplineCubic

typedef struct _NcmSplineCubic NcmSplineCubic;