![]() | 1 | initial version |
In fact there is a "ready to use" procedure.
M = ModularSymbols(N,2)
creates the space of weight 2 modular symbols for Γ0(N) (i.e. a basis of H1(X0(N),Z)).
We can create the element { α,β }, of M by putting x=M.modular_symbol([alpha, beta])
.
The n-th Hecke operator is computed as follow: M.T(n)(x)