---
title: "Creation of Subspaces"
canonical: "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/AlgebraicModularForms/subspaces.html"
source: "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/AlgebraicModularForms/subspaces.md"
part: "Modular Arithmetic Geometry"
chapter: "Algebraic 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"}
  - {"title": "Algebraic Modular Forms", "source": "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/AlgebraicModularForms/index-algebraic-modular-forms.md"}
prev: {"title": "Operators", "source": "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/AlgebraicModularForms/operators.md"}
next: {"title": "Eigenspace Decomposition and Eigenforms", "source": "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/AlgebraicModularForms/eigenforms.md"}
intrinsics:
  - {"name": "CuspidalSubspace", "signature": "CuspidalSubspace(M): ModFrmAlg -> ModMatFld"}
---

# Creation of Subspaces

<a id="function-cuspidalsubspace-modfrmalg"></a>
## `CuspidalSubspace(M): ModFrmAlg -> ModMatFld`

Given a space $M$ of algebraic modular forms, this constructs the subspace of $M$ consisting of cuspidal forms. More precisely, this is the complement of the space generated by the Eisenstein series.
