Rotate a vector (or a list of vectors) using the rotation matrix given as first argument.
Parameters : | rotmat : float, array-like shape (3,3)
vec : float, scalar or array-like
vy : float, scalar or array-like, optional
vz : float, scalar or array-like, optional
do_rot : bool, optional
|
---|---|
Returns : | vec : float, array
|
See also