Method

NumCosmoMathStatsDist1deval_m2lnp

Declaration [src]

gdouble
ncm_stats_dist1d_eval_m2lnp (
  NcmStatsDist1d* sd1,
  gdouble x
)

Description [src]

Calculates the value of the $-2\ln(p(x))$ for the probability density. It can be unnormalized, the norma can be retrieved using ncm_stats_dist1d_eval_norma().

Parameters

x

Type: gdouble

Random variable value.

Return value

Type: gdouble

The value of $-2\ln(p(x))$.