Method

NumCosmoMathStatsDist1deval_inv_pdf

Declaration [src]

gdouble
ncm_stats_dist1d_eval_inv_pdf (
  NcmStatsDist1d* sd1,
  gdouble u
)

Description [src]

Calculates the value of the random variable $x$ for which the cumulative distribution satisfy $\int_{x_i}^x\mathrm{d}x^\prime p(x^\prime) = u$.

Parameters

u

Type: gdouble

A number between [0, 1].

Return value

Type: gdouble

The value of x.