NcmDataGauss

NcmDataGauss — Gaussian data -- inverse covariance provided.

Functions

Properties

NcmMatrix * inv-cov Read / Write
NcmVector * mean Read / Write
guint n-points Read / Write / Construct

Types and Values

Object Hierarchy

    GObject
    ╰── NcmData
        ╰── NcmDataGauss
            ├── NcDataBaoRDV
            ╰── NcDataCMBDistPriors

Description

Gaussian distribution which uses the inverse covariance matrix as input.

Functions

ncm_data_gauss_set_size ()

void
ncm_data_gauss_set_size (NcmDataGauss *gauss,
                         guint np);

Sets the data size to np .

[virtual set_size]

Parameters

gauss

a NcmDataGauss

 

np

data size.

 

ncm_data_gauss_get_size ()

guint
ncm_data_gauss_get_size (NcmDataGauss *gauss);

Gets the data size.

[virtual get_size]

Parameters

gauss

a NcmDataGauss

 

Returns

Data size.


ncm_data_gauss_peek_inv_cov ()

NcmMatrix *
ncm_data_gauss_peek_inv_cov (NcmDataGauss *gauss);

Gets the inverse covariance matrix.

Parameters

gauss

a NcmDataGauss

 

Returns

Inverse covariance matrix.

[transfer none]


ncm_data_gauss_peek_mean ()

NcmVector *
ncm_data_gauss_peek_mean (NcmDataGauss *gauss);

Gets the mean vector.

Parameters

gauss

a NcmDataGauss

 

Returns

Mean vector.

[transfer none]

Types and Values

NCM_TYPE_DATA_GAUSS

#define NCM_TYPE_DATA_GAUSS (ncm_data_gauss_get_type ())

struct NcmDataGaussClass

struct NcmDataGaussClass {
};

NcmDataGauss

typedef struct _NcmDataGauss NcmDataGauss;

Property Details

The “inv-cov” property

  “inv-cov”                  NcmMatrix *

Data covariance inverse.

Owner: NcmDataGauss

Flags: Read / Write


The “mean” property

  “mean”                     NcmVector *

Data mean.

Owner: NcmDataGauss

Flags: Read / Write


The “n-points” property

  “n-points”                 guint

Data sample size.

Owner: NcmDataGauss

Flags: Read / Write / Construct

Default value: 0