Beispiel #1
0
 def __init__(self):
     C4Array.__init__(
         self,
         data=np.arange(4)[:, None],
         p='int'
     )
     FiniteGroup.__init__(self, C4Array)
Beispiel #2
0
 def __init__(self):
     D4Array.__init__(
         self,
         data=np.array([[0, 0], [0, 1], [0, 2], [0, 3], [1, 0], [1, 1], [1, 2], [1, 3]]),
         p='int'
     )
     FiniteGroup.__init__(self, D4Array)
Beispiel #3
0
 def __init__(self):
     OhArray.__init__(self,
                      data=np.array([[i, j] for i in xrange(24)
                                     for j in xrange(2)]),
                      p='int')
     FiniteGroup.__init__(self, OhArray)
Beispiel #4
0
 def __init__(self):
     C4hArray.__init__(self,
                       data=np.array([[i, j] for i in range(2)
                                      for j in range(4)]),
                       p='int')
     FiniteGroup.__init__(self, C4hArray)
Beispiel #5
0
 def __init__(self):
     OArray.__init__(self, data=np.arange(24).reshape(24, 1), p='int')
     FiniteGroup.__init__(self, OArray)
Beispiel #6
0
 def __init__(self):
     D4Array.__init__(self,
                      data=np.array([[0, 0], [0, 1], [0, 2], [0, 3], [1, 0],
                                     [1, 1], [1, 2], [1, 3]]),
                      p='int')
     FiniteGroup.__init__(self, D4Array)
Beispiel #7
0
 def __init__(self):
     OArray.__init__(
         self,
         data=np.arange(24)[:, None],  # 24 elements
         p='int')
     FiniteGroup.__init__(self, OArray)