Exemple #1
0
    def test_innermorphic(self, p, q):
        layout, blades = Cl(p, q)

        A = Frame(layout.randomV(p + q))
        R = layout.randomRotor()
        B = Frame([R * a * ~R for a in A])
        assert A.is_innermorphic_to(B)
Exemple #2
0
    def test_innermorphic(self):
        for p, q in [(2, 0), (3, 0), (4, 0)]:
            layout, blades = Cl(p, q)

            A = Frame(layout.randomV(p+q))
            R = layout.randomRotor()
            B = Frame([R*a*~R for a in A])
            self.assertTrue(A.is_innermorphic_to(B))
Exemple #3
0
    def test_innermorphic(self):
        for p, q in [(2, 0), (3, 0), (4, 0)]:
            layout, blades = Cl(p, q)

            A = Frame(layout.randomV(p + q))
            R = layout.randomRotor()
            B = Frame([R * a * ~R for a in A])
            self.assertTrue(A.is_innermorphic_to(B))
Exemple #4
0
 def test_frame_inv(self, p, q):
     layout, blades = Cl(p, q)
     A = Frame(layout.randomV(p + q))
     self.check_inv(A)
Exemple #5
0
 def test_frame_inv(self):
     for p, q in [(2, 0), (3, 0), (4, 0)]:
         layout, blades = Cl(p, q)
         A = Frame(layout.randomV(p + q))
         self.check_inv(A)
Exemple #6
0
 def test_innermorphic(self, p, q, rng):  # noqa: F811
     layout, blades = Cl(p, q)
     A = Frame(layout.randomV(p + q, rng=rng))
     R = layout.randomRotor(rng=rng)
     B = Frame([R * a * ~R for a in A])
     assert A.is_innermorphic_to(B)
Exemple #7
0
 def test_frame_inv(self, p, q, rng):  # noqa: F811
     layout, blades = Cl(p, q)
     A = Frame(layout.randomV(p + q, rng=rng))
     self.check_inv(A)