---
title: "Character Ring Operations"
canonical: "https://docs.magma-maths.org/v2.30-1/RepresentationTheory/CharactersOfFiniteGroups/ring.html"
source: "https://docs.magma-maths.org/v2.30-1/RepresentationTheory/CharactersOfFiniteGroups/ring.md"
part: "Representation Theory"
chapter: "Characters of Finite Groups"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Representation Theory", "source": "https://docs.magma-maths.org/v2.30-1/RepresentationTheory/index-representation-theory.md"}
  - {"title": "Characters of Finite Groups", "source": "https://docs.magma-maths.org/v2.30-1/RepresentationTheory/CharactersOfFiniteGroups/index-characters-of-finite-groups.md"}
prev: {"title": "The Table of Irreducible Characters", "source": "https://docs.magma-maths.org/v2.30-1/RepresentationTheory/CharactersOfFiniteGroups/irreducible.md"}
next: {"title": "Element Operations", "source": "https://docs.magma-maths.org/v2.30-1/RepresentationTheory/CharactersOfFiniteGroups/element.md"}
intrinsics:
  - {"name": "Parent", "signature": "Parent(R): AlgChtr -> Pow"}
  - {"name": "Category", "signature": "Category(R): AlgChtr -> Cat"}
  - {"name": "NumberOfClasses", "signature": "NumberOfClasses(R): AlgChtr -> RngIntElt"}
  - {"name": "Nclasses", "signature": "Nclasses(R): AlgChtr -> RngIntElt"}
  - {"name": "ClassesData", "signature": "ClassesData(R): AlgChtr -> SeqEnum[Tup]"}
  - {"name": "Group", "signature": "Group(R): AlgChtr -> Grp"}
  - {"name": "PowerMap", "signature": "PowerMap(R): AlgChtr -> Map"}
  - {"name": "Kernel", "signature": "Kernel(x): AlgChtrElt -> Grp"}
  - {"name": "Centre", "signature": "Centre(x): AlgChtrElt -> Grp"}
  - {"name": "CoefficientField", "signature": "CoefficientField(x): AlgChtrElt -> Rng"}
  - {"name": "CharacterField", "signature": "CharacterField(x): AlgChtrElt -> Rng"}
  - {"name": "DegreeOfCharacterField", "signature": "DegreeOfCharacterField(x): AlgChtrElt -> RngIntElt"}
---

# Character Ring Operations

## Related Structures

<a id="function-parent-algchtr"></a>
### `Parent(R): AlgChtr -> Pow`

<a id="function-category-algchtr"></a>
### `Category(R): AlgChtr -> Cat`

<a id="function-numberofclasses-algchtr"></a>
### `NumberOfClasses(R): AlgChtr -> RngIntElt`

<a id="function-nclasses-algchtr"></a>
### `Nclasses(R): AlgChtr -> RngIntElt`

Given the ring $R$ of class functions, return the number of conjugacy classes of the finite group underlying $R$.

<a id="function-chtr-classesdata"></a>
### `ClassesData(R): AlgChtr -> SeqEnum[Tup]`

Given the ring $R$ of class functions, return a sequence of pairs, one pair `<o,n>` for each conjugacy class of the underlying group, where $o$ is the order of the group elements in the class, and $n$ is the length of (number of group elements in) the class.

<a id="function-group-algchtr"></a>
### `Group(R): AlgChtr -> Grp`

Given the ring $R$ of class functions on a finite group $G$, return $G$. This will cause an error if $R$ does not have a group attached. If unsure whether or not $R$ has a group attached, check the `Group` attribute of $R$ using ``assigned R`Group``.

<a id="function-powermap-algchtr"></a>
### `PowerMap(R): AlgChtr -> Map`

Given a character ring $R$, return the associated class power map. This will cause an error unless $R$ has a power map assigned, or has a group attached. The `PowerMap` is an attribute of $R$, as is `Group`, and its presence can be checked using ``assigned R`PowerMap``.

If the power map of $R$ is not already assigned, and there is an assigned group, this function will compute the power map using operations within the group.

<a id="function-kernel-algchtrelt"></a>
### `Kernel(x): AlgChtrElt -> Grp`

The kernel of the character $x$ of $G$, i.e. the normal subgroup of $G$ consisting of those elements $g$ for which $x(g) = x(1)$.

<a id="function-centre-algchtrelt"></a>
### `Centre(x): AlgChtrElt -> Grp`

The centre of the character $x$ of $G$, i.e. the subgroup of $G$ consisting of those classes $C$ of $G$ for which $|x(g)|$, $g$ in $C$, is equal to the degree of $x$.

<a id="function-coefficientfield-algchtrelt"></a>
### `CoefficientField(x): AlgChtrElt -> Rng`

The minimal cyclotomic field containing all values of the class function $x$.

<a id="function-characterfield-algchtrelt"></a>
### `CharacterField(x): AlgChtrElt -> Rng`

The subfield of the coefficient field of the class function $x$ that is generated by the values of $x$.

<a id="function-degreeofcharacterfield-algchtrelt"></a>
### `DegreeOfCharacterField(x): AlgChtrElt -> RngIntElt`

The degree of the character field of the class function $x$ as an extension of the rational numbers.
