Rotation about the y-axis.
(t)
| 99 | |
| 100 | |
| 101 | def roty(t): |
| 102 | """Rotation about the y-axis.""" |
| 103 | c = np.cos(t) |
| 104 | s = np.sin(t) |
| 105 | return np.array([[c, 0, s], [0, 1, 0], [-s, 0, c]]) |
| 106 | |
| 107 | |
| 108 | def roty_batch(t): |
nothing calls this directly
no outgoing calls
no test coverage detected