calculateMagnitude

Computes the L2 norm (Euclidean magnitude) of a float array vector.

Return

The L2 norm of the vector.

Parameters

vector

The input vector.