C# 클래스 Landis.BDA.NormalRandomVar

Random number generator with a normal distribution.
Uses outward Cartesian form of the Box-Muller method [1958] as described in "Anisotropic density & yet another Box Muller", Marijke van Gans, 15 Dec 2004, available on-line at: http://web.mat.bham.ac.uk/marijke/bm/yabm.html Box, G. E. P., Muller, M. E., 1958. Notes on the generation of random normal deviates. Annals Math. Stat. 29 pp 610-11. All the instances of this class share the uniform random number generator in the Landis.Util.Random class.
파일 보기 프로젝트 열기: LANDIS-II-Foundation/Extensions-Disturbance

공개 메소드들

메소드 설명
GenerateNumber ( ) : double

Generates a number.

NormalRandomVar ( double mean, double stdDev ) : System

Initializes a new instance with a specified mean and standard deviation.

메소드 상세

GenerateNumber() 공개 메소드

Generates a number.
public GenerateNumber ( ) : double
리턴 double

NormalRandomVar() 공개 메소드

Initializes a new instance with a specified mean and standard deviation.
public NormalRandomVar ( double mean, double stdDev ) : System
mean double
stdDev double
리턴 System