alexjbest / cluster-pictures

This package implements the machinery of cluster pictures of Maistret, Morgan, Dokchitser and Dokchitser in Sage.
https://alexjbest.github.io/cluster-pictures/
GNU General Public License v2.0
3 stars 4 forks source link

Implement special fibre #44

Closed alexjbest closed 2 years ago

alexjbest commented 3 years ago

E.g.:

R.<X>= GF(p)[]
def gamma(s):
    return HyperellipticCurve(R(s.theta_squared().unit_part())*prod(X- s.red(o) for o in s.children() if o.is_odd()))
print(gamma(C).cardinality())
gamma(C.children()[2]).cardinality()