Method

NumCosmoMathMatrixfill_rand_cov2

Declaration [src]

void
ncm_matrix_fill_rand_cov2 (
  NcmMatrix* cm,
  NcmVector* mu,
  const gdouble reltol_min,
  const gdouble reltol_max,
  const gdouble cor_level,
  NcmRNG* rng
)

Description [src]

Overwrite cm with a random covariance matrix, the parameter cor_level controls the correlation between entries the lower cor_level more correlated the entries are.

Parameters

mu

Type: NcmVector

Mean NcmVector.

The data is owned by the caller of the method.
reltol_min

Type: const gdouble

Mininum standard deviation.

reltol_max

Type: const gdouble

Maximum standard deviation.

cor_level

Type: const gdouble

Correlation level parameter.

rng

Type: NcmRNG

A NcmRNG.

The data is owned by the caller of the method.