pyCGM_Single.pycgmKinetics.dot

pyCGM_Single.pycgmKinetics.dot(v, w)

Calculate dot product of two points.

Parameters
vlist

An (x, y, z) coordinate.

wlist

An (x, y, z) coordinate.

Returns
int or float

Returns the dot product of vectors v and w.

Examples

>>> from .pycgmKinetics import dot
>>> v = [1, 2, 3]
>>> w = [4, 5, 6]
>>> dot(v,w)
32