---
title: "Modular Forms"
canonical: "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/index-modular-forms.html"
source: "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/index-modular-forms.md"
part: "Modular Arithmetic Geometry"
chapter: "Modular Forms"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Modular Arithmetic Geometry", "source": "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/index-modular-arithmetic-geometry.md"}
prev: {"title": "Bibliography", "source": "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ArithmeticFuchsianGroupsAndShimuraCurves/bibliography.md"}
next: {"title": "Introduction", "source": "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/introduction.md"}
---

# Modular Forms

- [Introduction](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/introduction.md)
  - [Modular Forms](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/introduction.md#modular-forms)
  - [About the Package](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/introduction.md#about-the-package)
  - [Categories](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/introduction.md#categories)
  - [Verbose Output](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/introduction.md#verbose-output)
    - [Example: Categories and Verbose Output for Modular Forms](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/introduction.md#example-ex-021995)
  - [An Illustrative Overview](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/introduction.md#an-illustrative-overview)
    - [Example: Overview of Modular Forms Computations](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/introduction.md#example-ex-1436f8)
- [Creation Functions](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md)
  - [Ambient Spaces](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#ambient-spaces)
    - [`ModularForms(N): RngIntElt → ModFrm`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#function-modularforms-rngintelt)
    - [`ModularForms(N, k): RngIntElt, RngIntElt → ModFrm`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#function-modularforms-rngintelt-rngintelt)
    - [`ModularForms(eps, k): GrpDrchElt, RngIntElt → ModFrm`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#function-modularforms-grpdrchelt-rngintelt)
    - [`ModularForms(chars, k): [GrpDrchElt], RngIntElt → ModFrm`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#function-modularforms-grpdrchelt-rngintelt-2)
    - [`ModularForms(G, k): GrpPSL2, RngIntElt → ModFrm`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#function-modularforms-grppsl2-rngintelt)
    - [`ModularForms(G): GrpPSL2 → ModFrm`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#function-modularforms-grppsl2)
    - [`CuspForms(x): Any → ModFrm`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#function-cuspforms-any)
    - [`CuspForms(x, y): Any, Any → ModFrm`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#function-cuspforms-any-any)
    - [Example: Constructing Spaces of Modular Forms](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#example-ex-902ab1)
    - [Half-integral Weight Forms](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#half-integral-weight-forms)
      - [`HalfIntegralWeightForms(N, w): RngIntElt, FldRatElt → ModFrm`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#function-halfintegralweightforms-rngintelt-fldratelt)
      - [`HalfIntegralWeightForms(chi, w): GrpDrchElt, FldRatElt → ModFrm`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#function-halfintegralweightforms-grpdrchelt-fldratelt)
      - [`HalfIntegralWeightForms(G, w): GrpPSL2, FldRatElt → ModFrm`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#function-halfintegralweightforms-grppsl2-fldratelt)
  - [Base Extension](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#base-extension)
    - [`BaseExtend(M, R): ModFrm, Rng → ModFrm, Map`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#function-baseextend-modfrm-rng)
    - [`BaseExtend(M, phi): ModFrm, Map → ModFrm, Map`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#function-baseextend-modfrm-map)
    - [Example: Base Extension of an Eisenstein Series](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#example-ex-c5a11c)
  - [Elements](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#elements)
    - [`M . i: ModFrm, RngIntElt → ModFrmElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#operation-operation-modfrm-rngintelt-modfrmelt)
    - [`M ! f: ModFrm, . → ModFrmElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#operation-op-modfrm)
    - [`ModularForm(E): CrvEll → ModFrm`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#function-modularform-crvell)
    - [Example: Creating Elements of Modular Form Spaces](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/creation.md#example-ex-e76151)
- [Bases](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/Bases.md)
  - [`Basis(M): ModFrm → SeqEnum`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/Bases.md#function-basis-modfrm)
  - [`Basis(M, prec): ModFrm, RngIntElt → [RngSerPowElt]`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/Bases.md#function-basis-modfrm-rngintelt)
  - [`qExpansionBasis(M, prec): ModFrm, RngIntElt → [RngSerPowElt]`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/Bases.md#function-qexpansionbasis-modfrm-rngintelt)
  - [`PrecisionBound(M : parameters): ModFrm → RngIntElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/Bases.md#function-precisionbound-modfrm)
  - [`RModule(M): ModFrm → ModTupRng, Map`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/Bases.md#function-rmodule-modfrm)
  - [`RSpace(M): ModFrm → ModTupRng, Map`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/Bases.md#function-rspace-modfrm)
  - [`VectorSpace(M): ModFrm → ModTupRng, Map`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/Bases.md#function-vectorspace-modfrm)
  - [Example: Basis of a Cuspidal New Subspace](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/Bases.md#example-ex-fd9bbd)
- [$q$-Expansions](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/q-expansions.md)
  - [`qExpansion(f): ModFrmElt → RngSerPowElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/q-expansions.md#function-qexpansion-modfrmelt)
  - [`qExpansion(f, prec): ModFrmElt, RngIntElt → RngSerPowElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/q-expansions.md#function-qexpansion-modfrmelt-rngintelt)
  - [`PowerSeries(f): ModFrmElt → RngSerPowElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/q-expansions.md#function-powerseries-modfrmelt)
  - [`PowerSeries(f, prec): ModFrmElt, RngIntElt → RngSerPowElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/q-expansions.md#function-powerseries-modfrmelt-rngintelt)
  - [`Coefficient(f, n): ModFrmElt, RngIntElt → RngElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/q-expansions.md#function-coefficient-modfrmelt-rngintelt)
  - [`Precision(M): ModFrm → RngIntElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/q-expansions.md#function-precision-modfrm)
  - [`SetPrecision(M, prec): ModFrm, RngIntElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/q-expansions.md#procedure-setprecision-modfrm-rngintelt)
  - [Example: Computing q-Expansions in Several Ways](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/q-expansions.md#example-ex-70e625)
  - [Example: Weierstrass Points on Modular Curves](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/q-expansions.md#example-ex-9d6bda)
- [Arithmetic](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/arithmetic.md)
  - [`f + g: ModFrmElt, ModFrmElt → ModFrmElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/arithmetic.md#operation-op-plus-modfrmelt-modfrmelt)
  - [`f + g: ModFrmElt, RngSerPowElt → RngSerPowElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/arithmetic.md#operation-op-plus-modfrmelt-rngserpowelt)
  - [`f - g: ModFrmElt, ModFrmElt → ModFrmElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/arithmetic.md#operation-op-minus-modfrmelt-modfrmelt)
  - [`a * f: RngElt, ModFrmElt → ModFrmElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/arithmetic.md#operation-op-times-rngelt-modfrmelt)
  - [`f / a: ModFrmElt, RngElt → ModFrmElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/arithmetic.md#operation-op-div-modfrmelt-rngelt)
  - [`f ^ n: ModFrmElt, RngIntElt → ModFrmElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/arithmetic.md#operation-op-pow-modfrmelt-rngintelt)
  - [`f * g: ModFrmElt, ModFrmElt → ModFrmElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/arithmetic.md#operation-op-times-modfrmelt-modfrmelt)
  - [Example: Arithmetic with Modular Forms](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/arithmetic.md#example-ex-061f7d)
- [Predicates](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/predicates.md)
  - [`IsAmbientSpace(M): ModFrm → BoolElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/predicates.md#function-isambientspace-modfrm)
  - [`IsCuspidal(M): ModFrm → BoolElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/predicates.md#function-iscuspidal-modfrm)
  - [`IsEisenstein(M): ModFrm → BoolElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/predicates.md#function-iseisenstein-modfrm)
  - [`IsEisensteinSeries(f): ModFrmElt → BoolElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/predicates.md#function-iseisensteinseries-modfrmelt)
  - [`IsGamma0(M): ModFrm → BoolElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/predicates.md#function-isgamma0-modfrm)
  - [`IsGamma1(M): ModFrm → BoolElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/predicates.md#function-isgamma1-modfrm)
  - [`IsNew(M): ModFrm → BoolElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/predicates.md#function-isnew-modfrm)
  - [`IsNewform(f): ModFrmElt → BoolElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/predicates.md#function-isnewform-modfrmelt)
  - [`IsRingOfAllModularForms(M): ModFrm → BoolElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/predicates.md#function-isringofallmodularforms-modfrm)
  - [Example: Predicates for Modular Forms](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/predicates.md#example-ex-830f17)
- [Properties](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/properties.md)
  - [`AmbientSpace(M): ModFrm → ModFrm`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/properties.md#function-ambientspace-modfrm)
  - [`BaseRing(M): ModFrm → Rng`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/properties.md#function-basering-modfrm)
  - [`CoefficientRing(M): ModFrm → Rng`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/properties.md#function-coefficientring-modfrm)
  - [`Degree(f): ModFrmElt → RngIntElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/properties.md#function-degree-modfrmelt)
  - [`Dimension(M): ModFrm → RngIntElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/properties.md#function-dimension-modfrm)
  - [`DimensionByFormula(M): ModFrm → RngIntElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/properties.md#function-dimensionbyformula-modfrm)
  - [`DimensionByFormula(N, k): RngIntElt, FldRatElt → RngIntElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/properties.md#function-dimensionbyformula-rngintelt-fldratelt)
  - [`DimensionByFormula(chi, k): GrpDrchElt, FldRatElt → RngIntElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/properties.md#function-dimensionbyformula-grpdrchelt-fldratelt)
  - [`DimensionByFormula(N, chi, k): RngIntElt, GrpDrchElt, FldRatElt → RngIntElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/properties.md#function-dimensionbyformula-rngintelt-grpdrchelt-fldratelt)
  - [`DirichletCharacters(M): ModFrm → [GrpDrchElt]`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/properties.md#function-dirichletcharacters-modfrm)
  - [`DirichletCharacter(f): ModFrmElt → GrpDrchElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/properties.md#function-dirichletcharacter-modfrmelt)
  - [`Eltseq(f): ModFrmElt → SeqEnum`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/properties.md#function-eltseq-modfrmelt)
  - [`Level(f): ModFrmElt → RngIntElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/properties.md#function-level-modfrmelt)
  - [`Level(M): ModFrm → RngIntElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/properties.md#function-level-modfrm)
  - [`Weight(f): ModFrmElt → RngIntElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/properties.md#function-weight-modfrmelt)
  - [`Weight(M): ModFrm → RngIntElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/properties.md#function-weight-modfrm)
  - [`WeightOneHalfData(H): ModFrm → List`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/properties.md#function-weightonehalfdata-modfrm)
  - [Example: Properties of Modular Forms](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/properties.md#example-ex-296bdb)
- [Subspaces](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/subspaces.md)
  - [`ZeroSubspace(M): ModFrm → ModFrm`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/subspaces.md#function-zerosubspace-modfrm)
  - [`CuspidalSubspace(M): ModFrm → ModFrm`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/subspaces.md#function-cuspidalsubspace-modfrm)
  - [`EisensteinSubspace(M): ModFrm → ModFrm`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/subspaces.md#function-eisensteinsubspace-modfrm)
  - [`EisensteinProjection(f): ModFrmElt → ModFrmElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/subspaces.md#function-eisensteinprojection-modfrmelt)
  - [`CuspidalProjection(f): ModFrmElt → ModFrmElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/subspaces.md#function-cuspidalprojection-modfrmelt)
  - [`NewSubspace(M): ModFrm → ModFrm`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/subspaces.md#function-newsubspace-modfrm)
  - [`DihedralSubspace(M): ModFrm → ModFrm`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/subspaces.md#function-dihedralsubspace-modfrm)
  - [Example: q-Expansion Bases of Subspaces](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/subspaces.md#example-ex-fd9fb5)
- [Operators](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/operators.md)
  - [`HeckeOperator(M, n): ModFrm, RngIntElt → AlgMatElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/operators.md#function-heckeoperator-modfrm-rngintelt)
  - [`HeckeOperator(n,f): RngIntElt, ModFrmElt → ModFrmElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/operators.md#function-heckeoperator-rngintelt-modfrmelt)
  - [`HeckePolynomial(M, n : parameters): ModFrm, RngIntElt → RngUPolElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/operators.md#function-heckepolynomial-modfrm-rngintelt)
  - [`AtkinLehnerOperator(M, q): ModFrm, RngIntElt → AlgMatElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/operators.md#function-atkinlehneroperator-modfrm-rngintelt)
  - [`AtkinLehnerOperator(q, f): RngIntElt, ModFrmElt → ModFrmElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/operators.md#function-atkinlehneroperator-rngintelt-modfrmelt)
  - [Example: Characteristic Polynomials of Hecke Operators](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/operators.md#example-ex-f79385)
- [Eisenstein Series](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/eisenstein-series.md)
  - [`EisensteinSeries(M): ModFrm → List`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/eisenstein-series.md#function-eisensteinseries-modfrm)
  - [`IsEisensteinSeries(f): ModFrmElt → BoolElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/eisenstein-series.md#function-iseisensteinseries-modfrmelt-2)
  - [`EisensteinData(f): ModFrmElt → Tup`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/eisenstein-series.md#function-eisensteindata-modfrmelt)
  - [Example: Eisenstein Series of Weight 3 and Level 12](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/eisenstein-series.md#example-ex-bee467)
- [Weight Half Forms](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/weight-half-forms.md)
  - [`WeightOneHalfData(M): ModFrm → List`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/weight-half-forms.md#function-weightonehalfdata-modfrm-2)
- [Weight One Forms](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/weight-one-forms.md)
  - [`DihedralForms(M): ModFrm → List`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/weight-one-forms.md#function-dihedralforms-modfrm)
- [Newforms](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/newforms.md)
  - [`NumberOfNewformClasses(M : parameters): ModFrm → RngIntElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/newforms.md#function-numberofnewformclasses-modfrm)
  - [`Newform(M, i, j : parameters): ModFrm, RngIntElt, RngIntElt → ModFrmElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/newforms.md#function-newform-modfrm-rngintelt-rngintelt)
  - [`Newform(M, i : parameters): ModFrm, RngIntElt → ModFrmElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/newforms.md#function-newform-modfrm-rngintelt)
  - [`Newforms(M : parameters): ModFrm → List`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/newforms.md#function-newforms-modfrm)
  - [`Newforms(I, M): [Tup], ModFrm → ModFrm`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/newforms.md#function-newforms-tup-modfrm)
  - [`NewformDecomposition(M): ModFrm → List`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/newforms.md#function-newformdecomposition-modfrm)
  - [Example: Newforms of Weight 5 and Level 8](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/newforms.md#example-ex-ecf1ff)
  - [Labels](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/newforms.md#labels)
    - [`Newforms(label): MonStgElt → ModFrmElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/newforms.md#function-newforms-monstgelt)
    - [Example: Constructing Newforms from Labels](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/newforms.md#example-ex-5d3f25)
- [Reductions and Embeddings](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/reductions-embeddings.md)
  - [`Reductions(f, p): ModFrmElt, RngIntElt → List`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/reductions-embeddings.md#function-reductions-modfrmelt-rngintelt)
  - [`pAdicEmbeddings(f, p): ModFrmElt, RngIntElt → List`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/reductions-embeddings.md#function-padicembeddings-modfrmelt-rngintelt)
  - [`ComplexEmbeddings(f): ModFrmElt → List`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/reductions-embeddings.md#function-complexembeddings-modfrmelt)
  - [Example: Reductions and Embeddings of a Newform](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/reductions-embeddings.md#example-ex-d26b51)
- [Congruences](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/congruences.md)
  - [`CongruenceGroup(M1, M2, prec): ModFrm, ModFrm, RngIntElt → GrpAb`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/congruences.md#function-congruencegroup-modfrm-modfrm-rngintelt)
  - [`CongruenceGroupAnemic(M1, M2, prec): ModFrm, ModFrm, RngIntElt → GrpAb`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/congruences.md#function-congruencegroupanemic-modfrm-modfrm-rngintelt)
  - [Example: Newforms Congruent Modulo 5](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/congruences.md#example-ex-71c3ed)
- [Overconvergent Modular Forms](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/overconvergent.md)
  - [`OverconvergentHeckeSeriesDegreeBound(p, N, k, m): RngIntElt, RngIntElt, RngIntElt, RngIntElt → RngIntElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/overconvergent.md#function-overconvergentheckeseriesdegreebound-rngintelt-rngintelt-rngintelt-rngintelt)
  - [`OverconvergentHeckeSeries(p, N, k, m): RngIntElt, RngIntElt, RngIntElt, RngIntElt → RngUPolElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/overconvergent.md#function-overconvergentheckeseries-rngintelt-rngintelt-rngintelt-rngintelt)
  - [`OverconvergentHeckeSeries(p, N, k, m): RngIntElt, RngIntElt, [ RngIntElt ], RngIntElt → [ RngUPolElt ]`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/overconvergent.md#function-overconvergentheckeseries-rngintelt-rngintelt-rngintelt-rngintelt-2)
  - [`OverconvergentHeckeSeries(p, chi, k, m): RngIntElt, GrpDrchElt, RngIntElt, RngIntElt → RngUPolElt, RngPadElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/overconvergent.md#function-overconvergentheckeseries-rngintelt-grpdrchelt-rngintelt-rngintelt)
  - [`OverconvergentHeckeSeries(p, chi, k, m): RngIntElt, GrpDrchElt, [ RngIntElt ], RngIntElt → [ RngUPolElt ], RngPadElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/overconvergent.md#function-overconvergentheckeseries-rngintelt-grpdrchelt-rngintelt-rngintelt-2)
  - [Example: Overconvergent Hecke Series](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/overconvergent.md#example-ex-e08db5)
- [Algebraic Relations](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/relations.md)
  - [`Relations(M, d, prec): ModFrm, RngIntElt, RngIntElt → SeqEnum`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/relations.md#function-relations-modfrm-rngintelt-rngintelt)
  - [Example: Canonical Embedding of X0(34)](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/relations.md#example-ex-9c6897)
- [Elliptic Curves](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/abelian-varieties.md)
  - [`ModularForm(E): CrvEll → ModFrmElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/abelian-varieties.md#function-modularform-crvell-2)
  - [`Newform(E): CrvEll → ModFrmElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/abelian-varieties.md#function-newform-crvell)
  - [`Eigenform(E, prec): CrvEll, RngIntElt → RngSerPowElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/abelian-varieties.md#function-eigenform-crvell-rngintelt)
  - [`qEigenform(E, prec): CrvEll, RngIntElt → RngSerPowElt`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/abelian-varieties.md#function-qeigenform-crvell-rngintelt)
  - [`EllipticCurve(f): ModFrmElt → CrvEll`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/abelian-varieties.md#function-ellipticcurve-modfrmelt)
  - [Example: Elliptic Curve Attached to a Newform](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/abelian-varieties.md#example-ex-b1a407)
- [Modular Symbols](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/modular-symbols.md)
  - [`ModularSymbols(M): ModFrm → SeqEnum`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/modular-symbols.md#function-modularsymbols-modfrm)
  - [`ModularSymbols(M, sign): ModFrm, RngIntElt → ModSym`](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/modular-symbols.md#function-modularsymbols-modfrm-rngintelt)
  - [Example: Modular Symbols Attached to Modular Forms](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/modular-symbols.md#example-ex-33a446)
- [Bibliography](https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/bibliography.md)
