IMSL C# Numerical Library

Random.NextRayleigh Method 

Generate a pseudorandom number from a Rayleigh distribution.

public virtual double NextRayleigh(
   double alpha
);

Parameters

alpha
A double which specifies the scale parameter of the Rayleigh distribution

Return Value

A double, a pseudorandom number from a Rayleigh distribution

Remarks

Method nextRayleigh generates pseudorandom numbers from a Rayleigh distribution with scale parameter alpha.

See Also

Random Class | Imsl.Stat Namespace | Example