pub fn dot(x: &[SvmNode], y: &[SvmNode]) -> f64
Sparse dot product of two sorted-by-index node slices.
This is the merge-based O(n+m) algorithm from LIBSVM.