NcmSplineRBF

NcmSplineRBF — Radial Basis Function implementation of spline class.

Stability Level

Unstable, unless otherwise indicated

Functions

Properties

NcmSplineRBFType type-id Read / Write / Construct

Types and Values

Object Hierarchy

    GEnum
    ╰── NcmSplineRBFType
    GObject
    ╰── NcmSpline
        ╰── NcmSplineRBF

Includes

#include <numcosmo/math/ncm_spline_rbf.h>

Description

This object implements NcmSpline, using Radial Basis Function (RBF) methods.

Functions

ncm_spline_rbf_new ()

NcmSplineRBF *
ncm_spline_rbf_new (NcmSplineRBFType type_id);

Creates a new RBF using type_id .

Parameters

type_id

a NcmSplineRBFType

 

Returns

a newly created NcmSplineRBF.

[transfer full]


ncm_spline_rbf_ref ()

NcmSplineRBF *
ncm_spline_rbf_ref (NcmSplineRBF *rbf);

Increase the reference of rbf by one.

Parameters

rbf

a NcmSplineRBF

 

Returns

rbf .

[transfer full]


ncm_spline_rbf_free ()

void
ncm_spline_rbf_free (NcmSplineRBF *rbf);

Decrease the reference count of rbf by one.

Parameters

rbf

a NcmSplineRBF

 

ncm_spline_rbf_clear ()

void
ncm_spline_rbf_clear (NcmSplineRBF **rbf);

Decrease the reference count of rbf by one, and sets the pointer *rbf to NULL.

Parameters

rbf

a NcmSplineRBF

 

ncm_spline_rbf_set_type ()

void
ncm_spline_rbf_set_type (NcmSplineRBF *rbf,
                         NcmSplineRBFType type_id);

Sets the RBF type function to type_id .

Parameters

rbf

a NcmSplineRBF

 

type_id

a NcmSplineRBFType

 

ncm_spline_rbf_set_shape_params ()

void
ncm_spline_rbf_set_shape_params (NcmSplineRBF *rbf,
                                 NcmVector *shape_params);

Sets the RBF shape parameters to shape_params .

Parameters

rbf

a NcmSplineRBF

 

shape_params

a NcmSplineRBFType

 

Types and Values

NCM_TYPE_SPLINE_RBF

#define NCM_TYPE_SPLINE_RBF (ncm_spline_rbf_get_type ())

enum NcmSplineRBFType

Enumeration to choose which Gaussian RBF interpolation method to be applied by the object.

Members

NCM_SPLINE_RBF_TYPE_POSDEF_GAUSS

Gaussian RBF interpolation method for positive defined functions.

 

NCM_SPLINE_RBF_TYPE_GAUSS

Gaussian RBF interpolation method for any kind of function.

 

NcmSplineRBF

typedef struct _NcmSplineRBF NcmSplineRBF;

Property Details

The “type-id” property

  “type-id”                  NcmSplineRBFType

The RBF method to be applied by the object.

Owner: NcmSplineRBF

Flags: Read / Write / Construct

Default value: NCM_SPLINE_RBF_TYPE_POSDEF_GAUSS