Skip to main content

kernel_eval

Function kernel_eval 

Source
pub fn kernel_eval(
    kt: KernelType,
    params: &KernelParams,
    a: &[f64],
    b: &[f64],
) -> f64
Expand description

Evaluate the kernel between two input vectors a and b.

Returns the scalar covariance k(a, b).