X axis rotation matrix.
(theta)
| 77 | |
| 78 | |
| 79 | def _rot_x(theta): |
| 80 | """X axis rotation matrix.""" |
| 81 | return np.array( |
| 82 | [ |
| 83 | [1, 0, 0], |
| 84 | [0, np.cos(theta), -np.sin(theta)], |
| 85 | [0, np.sin(theta), np.cos(theta)], |
| 86 | ] |
| 87 | ) |
| 88 | |
| 89 | |
| 90 | def _rot_y(theta): |
no outgoing calls
no test coverage detected