Thank you so much for your help! On Thursday, July 30, 2015 at 11:35:26 AM UTC-5, William wrote: > > On Thu, Jul 30, 2015 at 9:31 AM, Paul Apisa <[email protected] > <javascript:>> wrote: > > A modular symbol corresponds to an element of homology on a modular > curve > > (relative to the cusps) and a weight two modular form corresponds to a > > holomorphic one-form. Given a modular symbol and a weight two modular > form, > > how can I approximate the integral of the modular form over the relative > > cycle corresponding to the modular symbol? > > This is not in Sage. I meant to get to it "next" in 2006, but got > distracted broadening Sage. Frédéric Chapoton > <[email protected] <javascript:>> came along a few years ago and > did it, > but the code isn't included in Sage yet. > > http://trac.sagemath.org/ticket/13093 > > See http://doc.sagemath.org/html/en/developer/index.html if you want > to attempt to use his code in a copy of Sage. > > William > > > > > > > An example (which fails to work) is the following: > > > > f = Newforms(Gamma0(23), 2, names='a')[0]; %f is a modular form > > > > M = ModularSymbols(23,2); %M is the space of modular symbols > > > > H=M.basis(); > > > > gamma=H[0]; %gamma is some modular symbol, hence a cycle relative > to > > the cusps > > > > f.integral_period_mapping(gamma) %I hoped that this would integrate > f > > over gamma, but it doesn't. > > > > > > Thanks in advance for the help. > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "sage-support" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to [email protected] <javascript:>. > > To post to this group, send email to [email protected] > <javascript:>. > > Visit this group at http://groups.google.com/group/sage-support. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > William (http://wstein.org) >
-- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
