示例#1
0
 def symbol_numerator(self):
     """
     chi is equal to a kronecker symbol if and only if it is real
     """
     if self.order != 2:
         return None
     if self.parity == parity_string(-1):
         return symbol_numerator(self.conductor, True)
     return symbol_numerator(self.conductor, False)
示例#2
0
 def symbol_numerator(self):
     """ chi is equal to a kronecker symbol if and only if it is real """
     if self.order != 2:
         return None
     return symbol_numerator(self.conductor, self.chi.is_odd())
示例#3
0
 def symbol_numerator(self):
     """ chi is equal to a kronecker symbol if and only if it is real """
     if self.order != 2:
         return None
     return symbol_numerator(self.conductor, self.chi.is_odd())