Calculate the norm (vector length) of an array of rational numbers.
The array to measure.
Type of measurement. (Euclidean norm can be obtained using L2 and calling .sqrt() on the result.)
The length of the vector.
Calculate the norm (vector length) of an array of rational numbers.