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.Kernel
value
in interface KernelDensityEstimate.Kernel
index
- The index of the previously computed value.public int size()
KernelDensityEstimate.Kernel
size
in interface KernelDensityEstimate.Kernel