private void createCoefficients(int degree) { coefficients = new double[degree]; for (int i = 0; i < coefficients.Length; i++) coefficients[i] = Math.Sqrt(Math.Pow(2 * gaussian.Gamma, i + 1) / Special.Factorial(i + 1)); }