Vector.len

Euclidean length of the vector

only: if( is( typeof( sqrt(CommonType!(T,float)(this.len2)) ) ) )

struct Vector(size_t N, T)
pure const @property
static if(is(typeof(T.init * T.init) == T) && is(typeof(T.init + T.init) == T))
static if(is(typeof(sqrt(__ftype(this.len2)))))
len
(
E = __ftype
)
()

Meta