magnitude

Compute the magnitude of a vector. This is not to be confused with length which gives the number of components.

template magnitude(T, size_t N)
pure @safe nothrow @nogc pure nothrow @nogc @safe
T
magnitude
(
in Vec!(T, N) v
)

Members

Functions

magnitude
T magnitude(Vec!(T, N) v)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta