m3sh.linalg.

norm#

norm(u)#

Length of vector.

Alternative to NumPy’s vectorized norm() function.

Parameters:
undarray, shape (n,)

Vector with n components.

Returns:
float

Euclidean length of the vector u.