Method

NumCosmoMathRNGexppow_gen

Declaration [src]

gdouble
ncm_rng_exppow_gen (
  NcmRNG* rng,
  const gdouble a,
  const gdouble b
)

Description [src]

This function returns a random number drawn from the exponential power distribution with scale parameter a and exponent b.

Parameters

a

Type: const gdouble

Scale parameter.

b

Type: const gdouble

Exponent.

Return value

Type: gdouble

A random number from the exponential power distribution.