Function revonet::math::dot [] [src]

pub fn dot(x1s: &[f32], x2s: &[f32]) -> f32

Dot product between two vectors.

Arguments:

  • x1s - 1st vector.
  • x2s - 2nd vector.