Function dot

Compute the dot product of two vectors.

T dot(T, ulong N) (
  in Vec!(T,N) v1,
  in Vec!(T,N) v2
) pure nothrow @nogc @safe;