Method

NumCosmoMathRNGgaussian_tail_gen

Declaration [src]

gdouble
ncm_rng_gaussian_tail_gen (
  NcmRNG* rng,
  const gdouble a,
  const gdouble sigma
)

Description [src]

This function returns a random number drawn from the upper tail of the Gaussian distribution with standard deviation sigma. The value returned is larger than the lower limit a, which must be positive.

Parameters

a

Type: const gdouble

Positive lower limit.

sigma

Type: const gdouble

Standard deviation.

Return value

Type: gdouble

A random number from the Gaussian distribution tail.