Vec.mag

Determines the magnitude of this vector.

struct Vec(T, size_t size)
const @nogc
double
mag
()
if (
isNumeric!T &&
size > 0
)

Return Value

Type: double

The magnitude of this vector.

Meta