|
NormalGaussian Method
|
1-D Gaussian function.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static double Gaussian(
double sigmaSquared,
double x
)
Public Shared Function Gaussian (
sigmaSquared As Double,
x As Double
) As Double
Request Example
View SourceParameters
- sigmaSquared
- Type: SystemDouble
The variance parameter σ² (sigma squared). - x
- Type: SystemDouble
x value.
Return Value
Type:
DoubleReturns function's value at point
x.
Remarks The function calculates 1-D Gaussian function:
f(x) = exp( x * x / ( -2 * s * s ) ) / ( s * sqrt( 2 * PI ) )
See Also