7.6.1.3 ModularForms Objects

class ModularForms
An ambient space of modular forms. Create using the command

ModularForms(weight, group, character)

INPUT: group - a congruence subgroup (sage.modular.congroup.CongruenceSubgroup) weight - an integer base_field - a field (default rings.RationalField)

ModularForms( group, weight, [base_field=Rational Field])

Instances of class ModularForms have the following methods (in addition to inherited methods and special methods):

prec,$  $ qexp

These methods are defined as follows:

prec( [set=None])

Set or get default initial precision for printing modular forms.

qexp( vector, prec)

Compute the $ q$ -expansion to precision prec of the linear combination of the basis for this space given by the vector.

See About this document... for information on suggesting changes.