Skip to content

Commit

Permalink
Merge pull request sympy#25858 from smichr/quatdoc
Browse files Browse the repository at this point in the history
correct quaternion docstring for intrinsic/extrinsic
  • Loading branch information
smichr authored Nov 1, 2023
2 parents b6e81e7 + 243f2ae commit 00d1e50
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sympy/algebras/quaternion.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 00d1e50

Please sign in to comment.