Ticket #4483 (new enhancement)

Opened 5 years ago

Last modified 3 years ago

Add coefficient_field() method to ModularSymbols/ModularForms

Reported by: jonhanke Owned by: craigcitro
Priority: minor Milestone: sage-5.10
Component: modular forms Keywords:
Cc: Work issues:
Report Upstream: N/A Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description (last modified by AlexGhitza) (diff)

Define a newform (up to conjugation)

time nf = ModularSymbols(100,2,1).cuspidal_subspace().new_subspace().decomposition()[0]

nf.coefficient_field() -- should return the field of definition of the newform. (This appears to be accomplished with nf.eigenvalue(1).parent(). It would be nice to know that this really does give the field of definition.)

nf.degree() -- should return the degree of the coefficient field.

Change History

comment:1 Changed 3 years ago by AlexGhitza

  • Description modified (diff)
  • Report Upstream set to N/A

There is something like this in Sage: look at the class Newform in modular/modform/element.py. It has a method hecke_eigenvalue_field() which returns the field of definition of the newform. There is no degree() method, although that's of course easy to get at this point as nf.hecke_eigenvalue_field().degree().

It remains to add such a method to modular symbols (nf.eigenvalue(1).parent() is indeed correct), and maybe make coefficient_field() an alias for hecke_eigenvalue_field().

Note: See TracTickets for help on using tickets.