rigid_body_motion.qmul¶
- rigid_body_motion.qmul(*q, qaxis=- 1)[source]¶
Quaternion multiplication.
- Parameters
- q: iterable of array_like
Arrays containing quaternions to multiply. Their dtype can be quaternion, otherwise qaxis specifies the axis representing the quaternions.
- qaxis: int, default -1
If q are not quaternion dtype, axis of the quaternion arrays representing the coordinates of the quaternions.
- Returns
- qm: ndarray
A new array containing the multiplied quaternions.