Function dotProduct

Dot product (sum of by-component products of vector components)

T dotProduct(T, int N) (
  Vector!(T,N) a,
  Vector!(T,N) b
);