RotationMatrix

Source: models/common/RotationMatrix.py

orientation_matrix = euler_rodrigues(orientation).

Mirrors C++ RotationMatrix in src/neml2/models/common/RotationMatrix.cxx. The chain-rule action is the closed-form R(r) @ skew(omega_b) pushforward inside jvp_euler_rodrigues – no (..., 3, 3, 3) derivative kernel is ever formed (see the function docstring for the MRP body-frame-rate identity).

Inputs

frominput · Rot · required

Rot to convert

Outputs

tooutput · R2 · required

R2 to store the resulting rotation matrix