norm_vector

marxs.math.utils.norm_vector(vec)[source]

Normalize euklidean vectors.

Parameters

vecnp.array

Input vectors of shape (n, 3)

Returns

vecnp.array

Normalized vectors