Method

NumCosmoMathDataGaussCovMVNDest_ratio

Declaration [src]

gdouble
ncm_data_gauss_cov_mvnd_est_ratio (
  NcmDataGaussCovMVND* data_mvnd,
  NcmMSet* mset,
  gpointer obj,
  NcmDataGaussCovMVNDBound bound,
  gulong* N,
  gulong* Nin,
  const gdouble reltol,
  NcmRNG* rng
)

Description [src]

Estimate the ratio between accepted realizations and total number of realizations. The variable reltol controls the relative tolerance on the ratio estimate. The variables N and Nin can be used to inform previous number of realizations.

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.

N

Type: gulong*

Total number of realizations.

The argument will be modified by the function.
Nin

Type: gulong*

Number of realizations accepted.

The argument will be modified by the function.
reltol

Type: const gdouble

Relative tolerance.

rng

Type: NcmRNG

A NcmRNG.

The data is owned by the caller of the method.

Return value

Type: gdouble

Estimated ratio.