Method
NumCosmoMathMatrixfill_rand_cov
Declaration [src]
void
ncm_matrix_fill_rand_cov (
NcmMatrix* cm,
const gdouble sigma_min,
const gdouble sigma_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
sigma_min-
Type:
const gdoubleMininum standard deviation.
sigma_max-
Type:
const gdoubleMaximum standard deviation.
cor_level-
Type:
const gdoubleCorrelation level parameter.
rng-
Type:
NcmRNGA
NcmRNG.The data is owned by the caller of the method.