Generate a pseudorandom number from a Rayleigh distribution.
Namespace:
Imsl.Stat
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public virtual double NextRayleigh( double alpha ) |
Visual Basic (Declaration) |
---|
Public Overridable Function NextRayleigh ( _ alpha As Double _ ) As Double |
Visual C++ |
---|
public: virtual double NextRayleigh( double alpha ) |
Parameters
- alpha
- Type: System..::.Double
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.