NcmModelMVND

NcmModelMVND — Multivariate Normal Distribution mean model.

Functions

Properties

guint dim Read / Write / Construct
NcmVector * mu Read / Write
GVariant * mu-fit Read / Write
guint mu-length Read / Write / Construct Only

Types and Values

Object Hierarchy

    GEnum
    ╰── NcmModelMVNDVParams
    GObject
    ╰── NcmModel
        ╰── NcmModelMVND

Description

Multivariate Normal distribution model of the mean.

Functions

ncm_model_mvnd_new ()

NcmModelMVND *
ncm_model_mvnd_new (const guint dim);

Creates a new MVND mean model of dim dimensions.

Parameters

dim

dimension of the MVND

 

Returns

the newly created NcmModelMVND.

[transfer full]


ncm_model_mvnd_ref ()

NcmModelMVND *
ncm_model_mvnd_ref (NcmModelMVND *model_mvnd);

Increases the reference count of model_mvnd by one.

Parameters

model_mvnd

a NcmModelMVND

 

Returns

model_mvnd .

[transfer full]


ncm_model_mvnd_free ()

void
ncm_model_mvnd_free (NcmModelMVND *model_mvnd);

Decreases the reference count of model_mvnd by one.

Parameters

model_mvnd

a NcmModelMVND

 

ncm_model_mvnd_clear ()

void
ncm_model_mvnd_clear (NcmModelMVND **model_mvnd);

If model_mvnd is different from NULL, decreases the reference count of model_mvnd by one and sets model_mvnd to NULL.

Parameters

model_mvnd

a NcmModelMVND

 

ncm_model_mvnd_mean ()

void
ncm_model_mvnd_mean (NcmModelMVND *model_mvnd,
                     NcmVector *y);

Copies into y the mean vector.

Parameters

model_mvnd

a NcmModelMVND

 

y

a NcmVector

 

Types and Values

NCM_TYPE_MODEL_MVND

#define NCM_TYPE_MODEL_MVND (ncm_model_mvnd_get_type ())

enum NcmModelMVNDVParams

MVND model parameters

Members

NCM_MODEL_MVND_MEAN

Mean vector

 

NcmModelMVND

typedef struct _NcmModelMVND NcmModelMVND;

Property Details

The “dim” property

  “dim”                      guint

Problem dimension.

Owner: NcmModelMVND

Flags: Read / Write / Construct

Allowed values: >= 1

Default value: 1


The “mu” property

  “mu”                       NcmVector *

\mu.

Owner: NcmModelMVND

Flags: Read / Write


The “mu-fit” property

  “mu-fit”                   GVariant *

\mu:fit.

Owner: NcmModelMVND

Flags: Read / Write

Allowed values: GVariant<ab>

Default value: NULL


The “mu-length” property

  “mu-length”                guint

\mu:length.

Owner: NcmModelMVND

Flags: Read / Write / Construct Only

Default value: 1