Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MotrixLab/insactor
/ quat_imaginary
Function
quat_imaginary
diffmimic/utils/quaternion.py:4–8 ·
view source on GitHub ↗
imaginary components of the quaternion
(x)
Source
from the content-addressed store, hash-verified
2
3
4
def
quat_imaginary(x):
5
""
"
6
imaginary components of the quaternion
7
""
"
8
return
x[..., :3]
9
10
def
quat_rotate(rot, vec):
11
""
"
Callers
1
quat_rotate
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected