C# 클래스 GSF.NumericalAnalysis.GaussianDistribution

Implements a BoxMuller method for generating statistically normal random numbers.
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

공개 메소드들

메소드 설명
GaussianDistribution ( double mean, double standardDeviation, double min, double max ) : System

Creates a GaussianDistribution

Next ( ) : double

Gets the next random value.

메소드 상세

GaussianDistribution() 공개 메소드

Creates a GaussianDistribution
public GaussianDistribution ( double mean, double standardDeviation, double min, double max ) : System
mean double the mean of the distribution
standardDeviation double the standard deviation
min double a clipping boundary
max double a clipping boundary
리턴 System

Next() 공개 메소드

Gets the next random value.
public Next ( ) : double
리턴 double