Top |
GObject ╰── NcmData ╰── NcmDataGaussCov ├── NcDataBaoDHrDAr ├── NcDataBaoDMrHr ├── NcDataBaoDtrDHr ├── NcDataSNIACov ├── NcDataXcor ╰── NcmDataGaussCovMVND
void ncm_data_gauss_cov_set_size (NcmDataGaussCov *gauss
,guint np
);
Sets the data size to np
.
[virtual set_size]
guint
ncm_data_gauss_cov_get_size (NcmDataGaussCov *gauss
);
Gets the data size.
[virtual get_size]
void ncm_data_gauss_cov_use_norma (NcmDataGaussCov *gauss
,gboolean use_norma
);
Sets whether the value of $-2\ln(L)$ will be properly normalized.
void ncm_data_gauss_cov_replace_mean (NcmDataGaussCov *gauss
,NcmVector *mean
);
Replaces the current mean vector for mean
.
gdouble ncm_data_gauss_cov_get_log_norma (NcmDataGaussCov *gauss
,NcmMSet *mset
);
void ncm_data_gauss_cov_bulk_resample (NcmDataGaussCov *gauss
,NcmMSet *mset
,NcmMatrix *resample
,NcmRNG *rng
);
Resamples the data based on the models in mset
according to the current
data distribution. The resampled data is stored in resample
. The resampling
is done in bulk, i.e., all the data is resampled at once.
“n-points”
property“n-points” guint
Data sample size.
Owner: NcmDataGaussCov
Flags: Read / Write / Construct
Default value: 0
“use-norma”
property“use-norma” gboolean
Use the likelihood normalization to calculate -2lnL.
Owner: NcmDataGaussCov
Flags: Read / Write
Default value: FALSE