Click or drag to resize
StdRandomGaussian Method (Double, Double)
Returns a random real number from a Gaussian distribution with mean mu (μ) and standard deviation sigma (σ).

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static double Gaussian(
	double mu,
	double sigma
)

Parameters

mu
Type: SystemDouble
mu (μ) the mean
sigma
Type: SystemDouble
sigma (σ) the standard deviation

Return Value

Type: Double
a real number distributed according to the Gaussian distribution with mean mu and standard deviation sigma
See Also