pyCGM_Single.pycgmKinetics.scale

pyCGM_Single.pycgmKinetics.scale(v, sc)

Scale a vector.

Parameters
vlist

A 3D vector.

scint or float

A scaling factor.

Returns
tuple

Returns v scaled by sc.

Examples

>>> from .pycgmKinetics import scale
>>> v = [1,2,3]
>>> sc = 2
>>> scale(v, sc)
(2, 4, 6)