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

Creates a new dim-dimensional MVND.

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_free

Decreases the reference count of data_mvnd by one.

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_log_info

Logs mean and covariance matrix.

ncm_data_gauss_cov_mvnd_peek_mean

Peeks current mean vector.

ncm_data_gauss_cov_mvnd_ref

Increases the reference count of data_mvnd by one.

ncm_data_gauss_cov_mvnd_set_cov_mean

Sets the mean and covariance of data_mvnd.

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
No description available.

ncm_data_gauss_cov_get_size

Gets the data size.

ncm_data_gauss_cov_peek_cov
No description available.

ncm_data_gauss_cov_peek_mean
No description available.

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.

Methods inherited from NcmData (29)

Please see NcmData for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Properties inherited from NcmDataGaussCov (4)
NumCosmoMath.DataGaussCov:cov
No description available.

NumCosmoMath.DataGaussCov:mean
No description available.

NumCosmoMath.DataGaussCov:n-points
No description available.

NumCosmoMath.DataGaussCov:use-norma
No description available.

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
No description available.

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.

Class structure

struct NumCosmoMathDataGaussCovMVNDClass {
  NcmDataGaussCovClass parent_class;
  
}

No description available.

Class members
parent_class: NcmDataGaussCovClass

No description available.