#10450: Problem computing Hecke matrices on subspaces of modular forms spaces
-----------------------------+----------------------------------------------
Reporter: davidloeffler | Owner: craigcitro
Type: defect | Status: new
Priority: major | Milestone: sage-4.6.2
Component: modular forms | Keywords: hecke operator
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
Sage seems to have trouble computing Hecke matrices on subspaces of Gamma1
modular forms spaces, which is absurd, since it has no trouble computing
Hecke matrices on the parent spaces:
{{{
sage: S = CuspForms(Gamma1(22))
sage: S.new_submodule().hecke_matrix(5)
---------------------------------------------------------------------------
NotImplementedError Traceback (most recent call
last)
/home/masiao/<ipython console> in <module>()
/usr/local/sage/sage-4.6/local/lib/python2.6/site-
packages/sage/modular/hecke/module.pyc in hecke_matrix(self, n)
1288 raise IndexError, "n must be positive."
1289 if not self._hecke_matrices.has_key(n):
-> 1290 T = self._compute_hecke_matrix(n)
1291 T.set_immutable()
1292 self._hecke_matrices[n] = T
/usr/local/sage/sage-4.6/local/lib/python2.6/site-
packages/sage/modular/modform/space.pyc in _compute_hecke_matrix(self, n)
1311 """
1312 if hasattr(self, '_compute_q_expansion_basis'):
-> 1313 return
hecke.HeckeModule_generic._compute_hecke_matrix(self, n)
1314 else:
1315 return
hecke.HeckeSubmodule._compute_hecke_matrix(self, n)
/usr/local/sage/sage-4.6/local/lib/python2.6/site-
packages/sage/modular/hecke/module.pyc in _compute_hecke_matrix(self, n,
**kwds)
214
215 if arith.is_prime(n):
--> 216 return self._compute_hecke_matrix_prime(n, **kwds)
217
218 F = arith.factor(n)
/usr/local/sage/sage-4.6/local/lib/python2.6/site-
packages/sage/modular/modform/space.pyc in
_compute_hecke_matrix_prime(self, p, prec)
1281 eps = self.character()
1282 if eps is None:
-> 1283 raise NotImplementedError
1284 try:
1285 return
hecke_operator_on_qexp.hecke_operator_on_basis(B, p,
NotImplementedError:
sage: S.old_submodule().hecke_matrix(5)
---------------------------------------------------------------------------
NotImplementedError Traceback (most recent call
last)
/home/masiao/<ipython console> in <module>()
/usr/local/sage/sage-4.6/local/lib/python2.6/site-
packages/sage/modular/hecke/module.pyc in hecke_matrix(self, n)
1288 raise IndexError, "n must be positive."
1289 if not self._hecke_matrices.has_key(n):
-> 1290 T = self._compute_hecke_matrix(n)
1291 T.set_immutable()
1292 self._hecke_matrices[n] = T
/usr/local/sage/sage-4.6/local/lib/python2.6/site-
packages/sage/modular/modform/space.pyc in _compute_hecke_matrix(self, n)
1311 """
1312 if hasattr(self, '_compute_q_expansion_basis'):
-> 1313 return
hecke.HeckeModule_generic._compute_hecke_matrix(self, n)
1314 else:
1315 return
hecke.HeckeSubmodule._compute_hecke_matrix(self, n)
/usr/local/sage/sage-4.6/local/lib/python2.6/site-
packages/sage/modular/hecke/module.pyc in _compute_hecke_matrix(self, n,
**kwds)
214
215 if arith.is_prime(n):
--> 216 return self._compute_hecke_matrix_prime(n, **kwds)
217
218 F = arith.factor(n)
/usr/local/sage/sage-4.6/local/lib/python2.6/site-
packages/sage/modular/modform/space.pyc in
_compute_hecke_matrix_prime(self, p, prec)
1281 eps = self.character()
1282 if eps is None:
-> 1283 raise NotImplementedError
1284 try:
1285 return
hecke_operator_on_qexp.hecke_operator_on_basis(B, p,
NotImplementedError:
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10450>
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.