#10686: speed up computation of T_p in characteristic p
-----------------------------+----------------------------------------------
Reporter: AlexGhitza | Owner: craigcitro
Type: enhancement | Status: new
Priority: minor | Milestone: sage-4.6.2
Component: modular forms | Keywords: hecke operator q-expansion
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
In characteristic p, the formula for the Hecke operator Tp is much simpler
(and faster to work through) than in the general case. It's worth having
this as a special case in the code.
The attached simple patch does this. Here are some timings on sage-4.6.1,
with a speedup factor of 9:
BEFORE:
{{{
sage: p = 199
sage: fp = delta_qexp(prec=p^2+1, K=GF(p))
sage: timeit("tfp = hecke_operator_on_qexp(fp, p, 12)")
25 loops, best of 3: 22.7 ms per loop
}}}
AFTER:
{{{
sage: p = 199
sage: fp = delta_qexp(prec=p^2+1, K=GF(p))
sage: timeit("tfp = hecke_operator_on_qexp(fp, p, 12)")
125 loops, best of 3: 2.51 ms per loop
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10686>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.