MCPcopy Create free account
hub / github.com/Notgnoshi/generative / _rot_x

Function _rot_x

generative/projection.py:79–87  ·  view source on GitHub ↗

X axis rotation matrix.

(theta)

Source from the content-addressed store, hash-verified

77
78
79def _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
90def _rot_y(theta):

Callers 2

projectFunction · 0.85
_isometricFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected