---
title: "Creation of Structures"
canonical: "https://docs.magma-maths.org/v2.30-1/GlobalFields/AlgebraicallyClosedFields/structure.html"
source: "https://docs.magma-maths.org/v2.30-1/GlobalFields/AlgebraicallyClosedFields/structure.md"
part: "Global Fields"
chapter: "Algebraically Closed Fields"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Global Fields", "source": "https://docs.magma-maths.org/v2.30-1/GlobalFields/index-global-fields.md"}
  - {"title": "Algebraically Closed Fields", "source": "https://docs.magma-maths.org/v2.30-1/GlobalFields/AlgebraicallyClosedFields/index-algebraically-closed-fields.md"}
prev: {"title": "Representation", "source": "https://docs.magma-maths.org/v2.30-1/GlobalFields/AlgebraicallyClosedFields/representation.md"}
next: {"title": "Creation of Elements", "source": "https://docs.magma-maths.org/v2.30-1/GlobalFields/AlgebraicallyClosedFields/creation.md"}
intrinsics:
  - {"name": "AlgebraicClosure", "signature": "AlgebraicClosure(K): Fld -> FldAC"}
  - {"name": "AlgebraicClosure", "signature": "AlgebraicClosure() -> FldAC"}
  - {"name": "AssignNamePrefix", "signature": "AssignNamePrefix(A, S): FldAC, MonStgElt"}
---

# Creation of Structures

<a id="function-fldac-algebraicclosure"></a>
## `AlgebraicClosure(K): Fld -> FldAC`

Create the algebraic closure **A** of the field $K$. Currently $K$ may be $\Q$, a finite field, or a rational function field over a finite field or the rational field.

<a id="function-algebraicclosure"></a>
## `AlgebraicClosure() -> FldAC`

Create the algebraic closure **A** of the rational field ${\mathbb{Q}}$.

<a id="procedure-assignnameprefix-fldac-monstgelt"></a>
## `AssignNamePrefix(A, S): FldAC, MonStgElt`

(Procedure.) Given an algebraically closed field $A$ and a string $S$, reassign the string prefix of the names of $A$ to be $S$. By default, this prefix is `"r"`. When new variables are introduced by root taking, they are named by this prefix with the number appended (see `A.i` below).
