Java Gauss gaussian(double x, double sigma)

Here you can find the source of gaussian(double x, double sigma)

Description

gaussian

License

Open Source License

Declaration

public static double gaussian(double x, double sigma) 

Method Source Code

//package com.java2s;

public class Main {
    public static double gaussian(double x, double sigma) {
        sigma = sigma * sigma;/*from w ww  .  j a  v a2s  .co  m*/
        return (1.0 / (2 * Math.PI * sigma)) * Math.exp(-x * x / (2 * sigma));
    }
}

Related

  1. GaussElimination(double a[][])
  2. gaussian(double a[][], int index[])
  3. gaussian(double mu, double sigma, double x)
  4. gaussian(double mu, double sigma, double x)
  5. gaussian(double t)
  6. gaussian(double[] d, double sigma, double mean)
  7. gaussian(double[][] A, double[] b)
  8. gaussian(float x, float mean, float sd)
  9. gaussian(int size, double sigma)