public normalize() as Vector<Double>
Returns a unit vector with the same direction. Finite components are scaled first, avoiding overflow and underflow even when the unscaled mathematical length is outside the Double range.
Normalized vector.
unit = Vector<Double>(3.0, 4.0).normalize()