From 8a20f1cd7caf5a3f41282e918aec70209eb84f50 Mon Sep 17 00:00:00 2001 From: hugo hadfield Date: Tue, 21 Aug 2018 13:28:29 +0100 Subject: [PATCH] Added comment, removed unfinished test --- clifford/__init__.py | 6 +++++- test_clifford.py | 4 ---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/clifford/__init__.py b/clifford/__init__.py index 5ebde0c7..2d90c502 100644 --- a/clifford/__init__.py +++ b/clifford/__init__.py @@ -607,7 +607,11 @@ def _checkList(self): def _gmtElement(self, a, b): - "Element of the geometric multiplication table given blades a, b." + """ + Element of the geometric multiplication table given blades a, b. + The implementation used here is described in chapter 19 of + Leo Dorst's book, Geometric Algebra For Computer Science + """ bitmap_a = compute_bitmap_representation(a) bitmap_b = compute_bitmap_representation(b) output_sign = canonical_reordering_sign(bitmap_a, bitmap_b, np.array(self.sig)) diff --git a/test_clifford.py b/test_clifford.py index d461c5e7..b5752b9b 100644 --- a/test_clifford.py +++ b/test_clifford.py @@ -177,10 +177,6 @@ def test_gp_op_ip(self): t[0] = -1 np.testing.assert_almost_equal(t, (e12*e12).value) - def test_up(self): - layout = Cl(4, 1)[0] - e1 = layout.blades['e1'] - class BasicAlgebraTests(unittest.TestCase):