Computes the magnitude of a vector.
Target vector
Magnitude of vector
magnitude([3, 4]); // Returns: 5 Copy
magnitude([3, 4]); // Returns: 5
Generated using TypeDoc
Computes the magnitude of a vector.