Click or drag to resize

NormalDistribution Constructor (Double, Double)

Constructs a NormalDistribution instance with the given mean and variance.

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

Parameters

mean
Type: SystemDouble
The mean of the density.
var
Type: SystemDouble
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