Method

NumCosmoMathFitESMCMCvalidate

Declaration [src]

gboolean
ncm_fit_esmcmc_validate (
  NcmFitESMCMC* esmcmc,
  gulong pi,
  gulong pf
)

Description [src]

Recalculates the value of $-2\ln(L)$ and compares with the values found in the catalog. This function is particularly useful to check if any problem occurred during a multithread evaluation of the likelihood.

Choosing pf == 0 performs the validation from pi to the end.

Parameters

pi

Type: gulong

Initial position.

pf

Type: gulong

Final position.

Return value

Type: gboolean

Whether the validation was TRUE or FALSE.