Function squaredMag

Compute the squared magnitude of a vector.

T squaredMag(T, ulong N) (
  in Vec!(T,N) v
) pure nothrow @nogc @safe;