Skip to main content

dot

Function dot 

Source
pub fn dot(x: &[SvmNode], y: &[SvmNode]) -> f64
Expand description

Sparse dot product of two sorted-by-index node slices.

This is the merge-based O(n+m) algorithm from LIBSVM.