static private ComputeGaussian ( float n, float theta ) : float | ||
n | float | |
theta | float | |
return | float |
static float ComputeGaussian(float n, float theta) {
return MathF.Exp(-n * n / (2.0f * theta * theta)) / MathF.Sqrt(2.0f * MathF.PI * theta);
}