Constructor

NumCosmoMathDataGaussCovMVNDnew_full

Declaration [src]

NcmDataGaussCovMVND*
ncm_data_gauss_cov_mvnd_new_full (
  const guint dim,
  const gdouble sigma_min,
  const gdouble sigma_max,
  const gdouble cor_level,
  const gdouble mean_min,
  const gdouble mean_max,
  NcmRNG* rng
)

Description [src]

Creates a new dim-dimensional MVND and generate using rng a mean and correlation matrix using the parameters above.

Parameters

dim

Type: const guint

Dimension of the MVND.

sigma_min

Type: const gdouble

Minimum value of $\sigma_i$.

sigma_max

Type: const gdouble

Maximum value of $\sigma_i$.

cor_level

Type: const gdouble

Correlation level.

mean_min

Type: const gdouble

Minimum mean $\mu_i$.

mean_max

Type: const gdouble

Maximum mean $\mu_i$.

rng

Type: NcmRNG

A NcmRNG.

The data is owned by the caller of the function.

Return value

Type: NcmDataGaussCovMVND

The newly created object.

The caller of the function takes ownership of the data, and is responsible for freeing it.