de.lmu.ifi.dbs.elki.math.statistics
Class TriangularKernelDensityFunction
java.lang.Object
de.lmu.ifi.dbs.elki.math.statistics.TriangularKernelDensityFunction
- All Implemented Interfaces:
- KernelDensityFunction
public final class TriangularKernelDensityFunction
- extends Object
- implements KernelDensityFunction
Triangular kernel density estimator.
Method Summary |
double |
density(double delta)
Density contribution of a point at the given relative distance delta . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KERNEL
public static final TriangularKernelDensityFunction KERNEL
- Static instance.
TriangularKernelDensityFunction
private TriangularKernelDensityFunction()
- Private, empty constructor. Use the static instance!
density
public double density(double delta)
- Description copied from interface:
KernelDensityFunction
- Density contribution of a point at the given relative distance
delta
.
- Specified by:
density
in interface KernelDensityFunction
- Parameters:
delta
- Relative distance
- Returns:
- density contribution