pub trait Kernel<A>: Copy + Syncwhere A: Float,{ fn evaluate(&self, x: A) -> A; }
Kernel function
Apply the kernel function to the given x-value.