Here you can find the source of gaussianDerivative(double x)
public static double gaussianDerivative(double x)
//package com.java2s; //License from project: LGPL public class Main { public static double gaussianDerivative(double x) { return -x * gaussian(x); }/* w w w .ja v a 2 s .c o m*/ public static double gaussian(double x) { return Math.exp(-x * x / 2) / Math.sqrt(2 * Math.PI); } }