NcmDataGaussDiag

NcmDataGaussDiag — Gaussian data -- diagonal covariance provided.

Functions

Properties

NcmVector * mean Read / Write
guint n-points Read / Write / Construct
NcmVector * sigma Read / Write
gboolean w-mean Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── NcmData
        ╰── NcmDataGaussDiag
            ├── NcDataBaoA
            ├── NcDataBaoDV
            ├── NcDataBaoDVDV
            ├── NcDataCMBShiftParam
            ├── NcDataDistMu
            ├── NcDataHubbleBao
            ╰── NcDataHubble

Description

Gaussian distribution which uses a diagonal covariance matrix as input.

Functions

ncm_data_gauss_diag_set_size ()

void
ncm_data_gauss_diag_set_size (NcmDataGaussDiag *diag,
                              guint np);

Sets the data size to np .

[virtual set_size]

Parameters

diag

a NcmDataGaussDiag

 

np

data size.

 

ncm_data_gauss_diag_get_size ()

guint
ncm_data_gauss_diag_get_size (NcmDataGaussDiag *diag);

Gets the data size.

[virtual get_size]

Parameters

diag

a NcmDataGaussDiag

 

Returns

Data size.


ncm_data_gauss_diag_peek_mean ()

NcmVector *
ncm_data_gauss_diag_peek_mean (NcmDataGaussDiag *diag);

Parameters

diag

a NcmDataGaussDiag

 

Returns

the current data mean NcmVector.

[transfer none]


ncm_data_gauss_diag_peek_std ()

NcmVector *
ncm_data_gauss_diag_peek_std (NcmDataGaussDiag *diag);

Parameters

diag

a NcmDataGaussDiag

 

Returns

the current data standard deviation NcmVector.

[transfer none]

Types and Values

NCM_TYPE_DATA_GAUSS_DIAG

#define NCM_TYPE_DATA_GAUSS_DIAG (ncm_data_gauss_diag_get_type ())

struct NcmDataGaussDiagClass

struct NcmDataGaussDiagClass {
};

NcmDataGaussDiag

typedef struct _NcmDataGaussDiag NcmDataGaussDiag;

Property Details

The “mean” property

  “mean”                     NcmVector *

Data mean.

Owner: NcmDataGaussDiag

Flags: Read / Write


The “n-points” property

  “n-points”                 guint

Data sample size.

Owner: NcmDataGaussDiag

Flags: Read / Write / Construct

Default value: 0


The “sigma” property

  “sigma”                    NcmVector *

Data standard deviation.

Owner: NcmDataGaussDiag

Flags: Read / Write


The “w-mean” property

  “w-mean”                   gboolean

Whether to minimize analytically over the weighted mean.

Owner: NcmDataGaussDiag

Flags: Read / Write

Default value: FALSE