Method

NumCosmoMathRNGexponential_gen

Declaration [src]

gdouble
ncm_rng_exponential_gen (
  NcmRNG* rng,
  const gdouble mu
)

Description [src]

This function returns a random number drawn from the exponential distribution with scale parameter (mean) mu.

Parameters

mu

Type: const gdouble

Scale parameter.

Return value

Type: gdouble

A random number from the exponential distribution.