diff --git a/sympy/algebras/quaternion.py b/sympy/algebras/quaternion.py index b4d1c9b45fe2..e5a8ee2d90bf 100644 --- a/sympy/algebras/quaternion.py +++ b/sympy/algebras/quaternion.py @@ -383,9 +383,9 @@ def from_euler(cls, angles, seq): The Euler angles (in radians). seq : string of length 3 Represents the sequence of rotations. - For intrinsic rotations, seq must be all lowercase and its elements + For extrinsic rotations, seq must be all lowercase and its elements must be from the set ``{'x', 'y', 'z'}`` - For extrinsic rotations, seq must be all uppercase and its elements + For intrinsic rotations, seq must be all uppercase and its elements must be from the set ``{'X', 'Y', 'Z'}`` Returns @@ -448,9 +448,9 @@ def to_euler(self, seq, angle_addition=True, avoid_square_root=False): seq : string of length 3 Represents the sequence of rotations. - For intrinsic rotations, seq must be all lowercase and its elements + For extrinsic rotations, seq must be all lowercase and its elements must be from the set ``{'x', 'y', 'z'}`` - For extrinsic rotations, seq must be all uppercase and its elements + For intrinsic rotations, seq must be all uppercase and its elements must be from the set ``{'X', 'Y', 'Z'}`` angle_addition : bool