Class
NumCosmoMathDataGaussCovMVND
Description [src]
final class NumCosmoMath.DataGaussCovMVND : NumCosmoMath.DataGaussCov
{
/* No available fields */
}
Multivariate Normal Distribution — covariance provided.
Multivariate Normal distribution which uses the covariance matrix as input.
It should be used with its companion object NcmModelMVND.
Constructors
ncm_data_gauss_cov_mvnd_new_full
Creates a new dim-dimensional MVND and generate using rng a mean
and correlation matrix using the parameters above.
Functions
ncm_data_gauss_cov_mvnd_clear
If data_mvnd is different from NULL, decreases the reference count of
data_mvnd by one and sets data_mvnd to NULL.
Instance methods
ncm_data_gauss_cov_mvnd_est_ratio
Estimate the ratio between accepted realizations and total number
of realizations. The variable reltol controls the relative tolerance
on the ratio estimate. The variables N and Nin can be used to inform
previous number of realizations.
ncm_data_gauss_cov_mvnd_gen
Generates one realization of the MVND. If bound is not NULL,
generates realizations until bound returns TRUE.
ncm_data_gauss_cov_mvnd_gen_cov_mean
Generates using rng the mean and correlation matrix using
the parameters above.
ncm_data_gauss_cov_mvnd_stats_vec
Generates a NcmStatsVec with the statistics of the MVND. If
save_realizations is TRUE, the realizations are saved in the
NcmStatsVec.
Methods inherited from NcmDataGaussCov (11)
ncm_data_gauss_cov_bulk_resample
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.
ncm_data_gauss_cov_compute_cov
Computes the covariance matrix based on the models in mset. If
the ncm_data_gauss_cov_func is not set, returns NULL.
ncm_data_gauss_cov_compute_mean
Computes the mean vector based on the models in mset. If
the ncm_data_gauss_cov_mean_func is not set, returns NULL.
ncm_data_gauss_cov_get_log_norma
ncm_data_gauss_cov_get_size
Gets the data size.
ncm_data_gauss_cov_peek_cov
ncm_data_gauss_cov_peek_mean
ncm_data_gauss_cov_replace_mean
Replaces the current mean vector for mean.
ncm_data_gauss_cov_set_cov
Sets a NcmMatrix representing the covariance matrix in each bin.
ncm_data_gauss_cov_set_size
Sets the data size to np.
ncm_data_gauss_cov_use_norma
Sets whether the value of $-2\ln(L)$ will be properly normalized.
Properties
Properties inherited from NcmDataGaussCov (4)
NumCosmoMath.DataGaussCov:cov
NumCosmoMath.DataGaussCov:mean
NumCosmoMath.DataGaussCov:n-points
NumCosmoMath.DataGaussCov:use-norma
Properties inherited from NcmData (5)
NumCosmoMath.Data:bootstrap
The NcmData bootstrap object if any.
NumCosmoMath.Data:desc
Description of the data object.
NumCosmoMath.Data:init
NumCosmoMath.Data:long-desc
Description of the data object.
NumCosmoMath.Data:name
Name of the data object.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.