Method

NumCosmoMathStatsDist1dgen

Declaration [src]

gdouble
ncm_stats_dist1d_gen (
  NcmStatsDist1d* sd1,
  NcmRNG* rng
)

Description [src]

Generates a realization of the probability distribution.

Parameters

rng

Type: NcmRNG

A NcmRNG.

The data is owned by the caller of the method.

Return value

Type: gdouble

The value of the probability of the interval [x_i, x].