Skip to content

Commit

Permalink
fix doc error in _multivector.py
Browse files Browse the repository at this point in the history
fix the doc of commutator
  • Loading branch information
fchapoton authored Dec 3, 2024
1 parent 1102eba commit 8b24d76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clifford/_multivector.py
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ def dual(self, I=None) -> 'MultiVector':
def commutator(self, other) -> 'MultiVector':
r"""The commutator product of two multivectors.
:math:`[M, N] = M \times N = (MN + NM)/2`
:math:`[M, N] = M \times N = (MN - NM)/2`
"""

return ((self * other) - (other * self)) / 2
Expand Down

0 comments on commit 8b24d76

Please sign in to comment.