NcmModelMVND
NcmModelMVND — Multivariate Normal Distribution mean model.
|
|
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.
ncm_model_mvnd_ref ()
NcmModelMVND *
ncm_model_mvnd_ref (NcmModelMVND *model_mvnd
);
Increases the reference count of model_mvnd
by one.
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.
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.
ncm_model_mvnd_mean ()
void
ncm_model_mvnd_mean (NcmModelMVND *model_mvnd
,
NcmVector *y
);
Copies into y
the mean vector.
Types and Values
NCM_TYPE_MODEL_MVND
#define NCM_TYPE_MODEL_MVND (ncm_model_mvnd_get_type ())
enum NcmModelMVNDVParams
MVND model parameters
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