Skip to content

Commit

Permalink
Added comment, removed unfinished test
Browse files Browse the repository at this point in the history
  • Loading branch information
hugohadfield committed Aug 21, 2018
1 parent 71bdcf8 commit 8a20f1c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 5 additions & 1 deletion clifford/__init__.py
Expand Up @@ -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))
Expand Down
4 changes: 0 additions & 4 deletions test_clifford.py
Expand Up @@ -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):

Expand Down

0 comments on commit 8a20f1c

Please sign in to comment.