pyCGM_Single.pycgmKinetics.vector

pyCGM_Single.pycgmKinetics.vector(b, e)

Subtracts two vectors.

Parameters
vlist

First 3D vector.

elist

Second 3D vector.

Returns
tuple

Returns the vector e - v.

Examples

>>> from .pycgmKinetics import vector
>>> v = [1,2,3]
>>> e = [4,5,6]
>>> vector(v, e)
(3, 3, 3)