public static class KernelDensityEstimate.GaussianKernel extends java.lang.Object implements KernelDensityEstimate.Kernel
| Constructor and Description |
|---|
GaussianKernel(double kernelWidth)
Construct a kernel with a defined width.
|
| Modifier and Type | Method and Description |
|---|---|
int |
size()
The size of the kernel.
|
double |
value(int index)
Fetch the value for the kernel at a certain index.
|
public GaussianKernel(double kernelWidth)
kernelWidth - The width of the kernel.public double value(int index)
KernelDensityEstimate.Kernelvalue in interface KernelDensityEstimate.Kernelindex - The index of the previously computed value.public int size()
KernelDensityEstimate.Kernelsize in interface KernelDensityEstimate.Kernel