Click or drag to resize
DigitalRuneMathHelperGaussian Method (Double, Double, Double, Double)
Computes the Gaussian function y = k * e^( -(x-μ)2/(2σ2) (double-precision).

Namespace: DigitalRune.Mathematics
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static double Gaussian(
	double x,
	double coefficient,
	double expectedValue,
	double standardDeviation
)

Parameters

x
Type: SystemDouble
The argument x.
coefficient
Type: SystemDouble
The coefficient k.
expectedValue
Type: SystemDouble
The expected value μ.
standardDeviation
Type: SystemDouble
The standard deviation σ.

Return Value

Type: Double
The height of the Gaussian bell curve at x.
Remarks
This method computes the Gaussian bell curve.
See Also