undo_rotation_tensor
- undo_rotation_tensor(ROT, rotated_tensors)[source]
Revert the rotation of second-order tensors done by rotation matrices.
- Parameters:
ROT – array of shape (…, 3, 3) containing rotation matrices
rotated_tensors – array of shape (…, 3) containing the rotated tensors
- Returns:
array of shape (…, 3, 3) containing tensors