pyCGM_Single.pycgmStatic.norm2d

pyCGM_Single.pycgmStatic.norm2d(v)

2D Vector normalization function

This function calculates the normalization of a 3-dimensional vector.

Parameters
vlist

A 3-element list.

Returns
float

The normalization of the vector as a float.

Examples

>>> import numpy as np
>>> from .pycgmStatic import norm2d
>>> v = [50.0, 96.37, 264.85]
>>> np.around(norm2d(v), 2)
286.24