pyCGM_Single.pycgmKinetics.add

pyCGM_Single.pycgmKinetics.add(v, w)

Add two vectors.

Parameters
vlist

A 3D vector.

wlist

A 3D vector.

Returns
tuple

Returns the v + w.

Examples

>>> from .pycgmKinetics import add
>>> v = [1, 2, 3]
>>> w = [4, 5, 6]
>>> add(v, w)
(5, 7, 9)