undo_rotation_vector

undo_rotation_vector(ROT, rotated_vectors)[source]

Revert the rotation of vectors done by the given rotation matrices.

Parameters:
  • ROT – array of shape (…, 3, 3) containing rotation matrices

  • rotated_vectors – array of shape (…, 3) containing the rotated vectors

Returns:

array of shape (…, 3) containing vectors