From c1d2973dd0a3eb00b108d884c2e905f1227709f0 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Tue, 16 May 2017 11:33:41 -0500 Subject: [PATCH] Clarify multivector product documentation --- pymbolic/geometric_algebra/__init__.py | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/pymbolic/geometric_algebra/__init__.py b/pymbolic/geometric_algebra/__init__.py index fa83f77..5b5f0ff 100644 --- a/pymbolic/geometric_algebra/__init__.py +++ b/pymbolic/geometric_algebra/__init__.py @@ -420,17 +420,21 @@ class MultiVector(object): :class:`sympy.galgebra.GA.MV` object in :mod:`sympy`, especially with respect to the supported operators: - .. csv-table:: - :header: Operation, Result - :widths: 10, 40 - - ``A+B``, Sum of multivectors - ``A-B``, Difference of multivectors - ``A*B``, Geometric product :math:`AB` - ``A^B``, Outer product :math:`A\wedge B` of multivectors - ``A|B``, Inner product :math:`A\cdot B` of multivectors - ``A<<B``, Left contraction :math:`A\lrcorner B` of multivectors - ``A>>B``, Right contraction :math:`A\llcorner B` of multivectors + =================== ======================================================== + Operation Result + =================== ======================================================== + ``A+B`` Sum of multivectors + ``A-B`` Difference of multivectors + ``A*B`` Geometric product :math:`AB` + ``A^B`` Outer product :math:`A\wedge B` of multivectors + ``A|B`` Inner product :math:`A\cdot B` of multivectors + ``A<<B`` Left contraction :math:`A\lrcorner B` (``_|``) + of multivectors, also read as ':math:`A` removed from + :math:`B`'. + ``A>>B`` Right contraction :math:`A\llcorner B` (``|_``)of + multivectors, also read as ':math:`A` without + :math:`B`'. + =================== ======================================================== .. warning :: -- GitLab