示例#1
0
 def det_url(self):
     cc = self.central_character()
     if cc is None:
         return 'Not available'
     return url_for("characters.render_Dirichletwebpage",
                    modulus=cc.modulus,
                    number=cc.number)
示例#2
0
 def galois_links(self):
     """
     Used in listing search results to show links to all artin representations in this Galois orbit.
     """
     base = self._data["Baselabel"]
     labels = [
         f"{base}.{num2letters(conj['GalOrbIndex'])}"
         for conj in self.GaloisConjugates()
     ]
     return ' '.join('<a href="{}">{}</a>'.format(
         url_for(
             "artin_representations.render_artin_representation_webpage",
             label=label), artin_label_pretty(label)) for label in labels)
示例#3
0
 def url_for(self):
     if self.label():
         return url_for("number_fields.by_label", label=self.label())
     else:
         None
示例#4
0
 def url_for(self):
     return url_for(
         "artin_representations.render_artin_representation_webpage",
         label=self.label())
示例#5
0
 def url_for(self):
     if self.label():
         return url_for("number_fields.by_label", label=self.label())
     else:
         None
示例#6
0
 def url_for(self):
     return url_for("artin_representations.by_data", dim=self.dimension(), conductor=self.conductor(), index=self.index())
示例#7
0
 def url_for(self):
     return url_for("artin_representations.render_artin_representation_webpage", label=self.label())
示例#8
0
 def det_url(self):
     cc= self.central_character()
     if cc is None:
        return 'Not available'
     return url_for("characters.render_Dirichletwebpage", modulus=cc.modulus, number=cc.number)