gaussian

double gaussian(double x);

Returns the value of the Gaussian kernel at the point x.

Parameters:
xValue to evaluate the kernal at.

Returns:
If -1 ≤ x ≤ 1, 0.399 Exp(-0.5 x2)
Otherwise, 0.0

Usage:
double r = gaussian(0.75)

Header:
#include "kernels.h"