Click or drag to resize

NormalDistribution(Double, Double) Constructor

Constructs a NormalDistribution instance with the given mean and variance.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public NormalDistribution(
	double mean,
	double var
)

Parameters

mean  Double
The mean of the density.
var  Double
The variance of the density. Must be positive.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if the variance is less than or equal to zero.
Remarks
The variance of the distribution is the standard deviation squared.
See Also