swot_simulator.math.rotation_3d_matrix#

swot_simulator.math.rotation_3d_matrix(theta: float, axis: ndarray) ndarray[source]#

Creates a rotation matrix: Slow method.

Inputs are rotation angle theta and rotation axis axis. The rotation matrix correspond to a rotation of angle theta with respect to axis axis.