Method

NumCosmoMathRNGpoisson_gen

Declaration [src]

gdouble
ncm_rng_poisson_gen (
  NcmRNG* rng,
  const gdouble mu
)

Description [src]

This function returns a random number drawn from the Poisson distribution, with frequency mu.

Parameters

mu

Type: const gdouble

Degrees of freedom $\nu$.

Return value

Type: gdouble

A random number from the Poisson distribution.