public magnitude() as Double:
Computes the Euclidean vector length.
Magnitude as Double.
Double
assert Vector<Double>(3.0, 4.0).magnitude() == 5.0