rotation_matrix

rotation_matrix(): Compute the rotation matrix about an axis.

mathMB.rotation_matrix.rotation_matrix(theta, axis)[source]

Compute the rotation matrix for a rotation of theta about axis.