NcmMSetFuncList

NcmMSetFuncList — NcmMSet Functions list.

Properties

gchar * full-name Read / Write / Construct Only
GObject * object Read / Write

Object Hierarchy

    GObject
    ╰── NcmMSetFunc
        ╰── NcmMSetFuncList

Description

FIXME

Functions

NcmMSetFuncListN ()

void
(*NcmMSetFuncListN) (NcmMSetFuncList *flist,
                     NcmMSet *mset,
                     const gdouble *x,
                     gdouble *res);

ncm_mset_func_list_register ()

void
ncm_mset_func_list_register (const gchar *name,
                             const gchar *symbol,
                             const gchar *ns,
                             const gchar *desc,
                             GType obj_type,
                             NcmMSetFuncListN func,
                             guint nvar,
                             guint dim);

Register a new function in the NcmMSetFuncList class.

Parameters

name

function name

 

symbol

function symbol

 

ns

namespace

 

desc

function description

 

obj_type

object type

 

func

function pointer.

[scope notified]

nvar

number of variables

 

dim

function dimension

 

ncm_mset_func_list_select ()

GArray *
ncm_mset_func_list_select (const gchar *ns,
                           gint nvar,
                           gint dim);

Selects the NcmMSetFuncListStruct array containing the function in the namespace ns with nvar and dim . If ns is NULL then gets from all namespaces, nvar and/or dim equals to -1 selects any value. The contained strings must not be freed.

Parameters

ns

namespace.

[allow-none]

nvar

number of variables

 

dim

function dimension

 

Returns

NcmMSetFuncListStruct array.

[transfer full][element-type NcmMSetFuncListStruct]


ncm_mset_func_list_new ()

NcmMSetFuncList *
ncm_mset_func_list_new (const gchar *full_name,
                        GObject *obj);

FIXME

Parameters

full_name

function full name

 

obj

FIXME.

[allow-none]

Returns

newly created NcmMSetFuncList.

[transfer full]


ncm_mset_func_list_new_ns_name ()

NcmMSetFuncList *
ncm_mset_func_list_new_ns_name (const gchar *ns,
                                const gchar *name,
                                GObject *obj);

FIXME

Parameters

ns

function namespace

 

name

function name

 

obj

FIXME.

[allow-none]

Returns

newly created NcmMSetFuncList.

[transfer full]


ncm_mset_func_list_has_ns_name ()

gboolean
ncm_mset_func_list_has_ns_name (const gchar *ns,
                                const gchar *name);

Check if function name exists in ns .

Parameters

ns

function namespace

 

name

function name

 

Returns

whether the function name exists in ns .


ncm_mset_func_list_has_full_name ()

gboolean
ncm_mset_func_list_has_full_name (const gchar *full_name);

Check if function full_name exists.

Parameters

full_name

function full name

 

Returns

whether the function full_name .

Property Details

The “full-name” property

  “full-name”                gchar *

Namespace and function name.

Owner: NcmMSetFuncList

Flags: Read / Write / Construct Only

Default value: "NULL"


The “object” property

  “object”                   GObject *

object.

Owner: NcmMSetFuncList

Flags: Read / Write