Function flechasdb::linalg::dot

source ·
pub fn dot<T>(xs: &[T], ys: &[T]) -> Twhere
    T: Zero + AddAssign + Mul<Output = T> + Copy,
Expand description

Calculates the dot (inner) product of given two vectors.

Unrolls loops to facilitate vectorization.