vec.magnitude( vector1 as vec.vector ) as Number
Returns the magnitude of the vector.
const vec1 = vec.vector([3.14,1.59,2.65]) vec.magnitude(vec1) => 4.40570116043091