Vector.len2

Square of euclidean length of the vector.

only: if( is( typeof( dot(selftype.init,selftype.init) ) ) )

struct Vector(size_t N, T)
pure const @property
static if(is(typeof(dot(selftype.init, selftype.init))))
len2
()

Meta