Function pele::rot_mat_derivatives_small_theta#

Function Documentation#

void pele::rot_mat_derivatives_small_theta(
pele::VecN<3> const &p,
MatrixNM<3, 3> &rmat,
MatrixNM<3, 3> &drm1,
MatrixNM<3, 3> &drm2,
MatrixNM<3, 3> &drm3,
bool with_grad
)#

compute the rotation matrix and it’s derivatives from an angle axis vector if the rotation angle is very small