Method

NumCosmoMathRNGuniform_gen

Declaration [src]

gdouble
ncm_rng_uniform_gen (
  NcmRNG* rng,
  const gdouble xl,
  const gdouble xu
)

Description [src]

This functions returns a random number drawn from the uniform distribution between the values xl and xu.

Parameters

xl

Type: const gdouble

Lower value.

xu

Type: const gdouble

Upper value.

Return value

Type: gdouble

A random number from the uniform distribution.