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:
NcmVectorMean
NcmVector.The data is owned by the caller of the method. reltol_min-
Type:
const gdoubleMininum standard deviation.
reltol_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.