C# 클래스 YAMP.Numerics.RayleighDistribution

Provides generation of rayleigh distributed random numbers.
The implementation of the RayleighDistribution type bases upon information presented on Wikipedia - Rayleigh Distribution.
상속: Distribution
파일 보기 프로젝트 열기: FlorianRappl/YAMP

공개 메소드들

메소드 설명
IsValidSigma ( double value ) : bool

Determines whether the specified value is valid for parameter Sigma.

NextDouble ( ) : double

Returns a rayleigh distributed floating point random number.

RayleighDistribution ( ) : System

Initializes a new instance of the RayleighDistribution class, using a StandardGenerator as underlying random number generator.

RayleighDistribution ( Generator generator ) : System

Initializes a new instance of the RayleighDistribution class, using the specified Generator as underlying random number generator.

Reset ( ) : bool

Resets the chi distribution, so that it produces the same random number sequence again.

비공개 메소드들

메소드 설명
UpdateHelpers ( ) : void

Updates the helper variables that store intermediate results for generation of rayleigh distributed random numbers.

메소드 상세

IsValidSigma() 공개 메소드

Determines whether the specified value is valid for parameter Sigma.
public IsValidSigma ( double value ) : bool
value double The value to check.
리턴 bool

NextDouble() 공개 메소드

Returns a rayleigh distributed floating point random number.
public NextDouble ( ) : double
리턴 double

RayleighDistribution() 공개 메소드

Initializes a new instance of the RayleighDistribution class, using a StandardGenerator as underlying random number generator.
public RayleighDistribution ( ) : System
리턴 System

RayleighDistribution() 공개 메소드

Initializes a new instance of the RayleighDistribution class, using the specified Generator as underlying random number generator.
/// is NULL ( in Visual Basic). ///
public RayleighDistribution ( Generator generator ) : System
generator Generator A object.
리턴 System

Reset() 공개 메소드

Resets the chi distribution, so that it produces the same random number sequence again.
public Reset ( ) : bool
리턴 bool