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 guintDimension of the MVND.
sigma_min-
Type:
const gdoubleMinimum value of $\sigma_i$.
sigma_max-
Type:
const gdoubleMaximum value of $\sigma_i$.
cor_level-
Type:
const gdoubleCorrelation level.
mean_min-
Type:
const gdoubleMinimum mean $\mu_i$.
mean_max-
Type:
const gdoubleMaximum mean $\mu_i$.
rng-
Type:
NcmRNGA
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. |