Method

NumCosmoMathDataGaussCovMVNDgen

Declaration [src]

NcmVector*
ncm_data_gauss_cov_mvnd_gen (
  NcmDataGaussCovMVND* data_mvnd,
  NcmMSet* mset,
  gpointer obj,
  NcmDataGaussCovMVNDBound bound,
  NcmRNG* rng,
  gulong* N
)

Description [src]

Generates one realization of the MVND. If bound is not NULL, generates realizations until bound returns TRUE.

Parameters

mset

Type: NcmMSet

A NcmMSet.

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

Type: gpointer

A pointer to use in bound.

The argument can be NULL.
The data is owned by the caller of the method.
bound

Type: NcmDataGaussCovMVNDBound

A NcmDataGaussCovMVNDBound.

The argument can be NULL.
rng

Type: NcmRNG

A NcmRNG.

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

Type: gulong*

Number of realizations necessary to generate a valid one.

The argument will be set by the function.

Return value

Type: NcmVector

A NcmVector (should not be modified).

The returned data is owned by the instance.