gncpy.math.epanechnikov_kernel

epanechnikov_kernel(x)[source]

Implements the Epanechnikov kernel.

Parameters:

x (numpy array) – state to evaluate the kernel at

Returns:

val – kernal value

Return type:

float