Пример #1
0
 def __init__(self, hecke_char_group, x):
     ray_class_group = hecke_char_group.group()
     if not isinstance(x, (list,tuple)) or len(x) != ray_class_group.ngens():
         x = ray_class_group(x).list()
     DualAbelianGroupElement.__init__(self, hecke_char_group, x)
     self.__repr = None
     self.__element_vector = x
Пример #2
0
 def __init__(self, hecke_char_group, x):
     ray_class_group = hecke_char_group.group()
     if not isinstance(x, (list,tuple)) or len(x) != ray_class_group.ngens():
         x = ray_class_group(x).list()
     DualAbelianGroupElement.__init__(self, hecke_char_group, x)
     self.__repr = None
     self.__element_vector = x
Пример #3
0
 def __call__(self, x):
     try:
         logx = self.parent().group()(x)
     except:
         return 0
     return DualAbelianGroupElement.__call__(self, logx)
Пример #4
0
 def __call__(self, x):
     try:
         logx = self.parent().group()(x)
     except:
         return 0
     return DualAbelianGroupElement.__call__(self,logx)