---
title: "Free Modules"
canonical: "https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/index-free-modules.html"
source: "https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/index-free-modules.md"
part: "Modules"
chapter: "Free Modules"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Modules", "source": "https://docs.magma-maths.org/v2.30-1/Modules/index-modules.md"}
prev: {"title": "The Presentation of Submodules", "source": "https://docs.magma-maths.org/v2.30-1/Modules/IntroductionToModules/presentation.md"}
next: {"title": "Introduction", "source": "https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/introduction.md"}
---

<a id="general"></a>
<a id="chapmodrng"></a>
# Free Modules

- [Introduction](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/introduction.md)
  - [Free Modules](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/introduction.md#free-modules)
  - [Module Categories](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/introduction.md#module-categories)
  - [Presentation of Submodules](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/introduction.md#presentation-of-submodules)
  - [Notation](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/introduction.md#notation)
- [Definition of a Module](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation-module.md)
  - [Construction of Modules of $n$-tuples](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation-module.md#construction-of-modules-of-n-tuples)
    - [`RSpace(R, n): Rng, RngIntElt → ModTupRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation-module.md#function-modrng-rspace)
    - [`RModule(R, n): Rng, RngIntElt → ModRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation-module.md#function-modrng-rmodule)
    - [`RSpace(R, n, F): Rng, RngIntElt, Mtrx → ModTupRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation-module.md#function-rspace-rng-rngintelt-mtrx)
    - [Example: Module of 6-Tuples over the Integers](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation-module.md#example-ex-d42492)
  - [Construction of Modules of $m \times n$ Matrices](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation-module.md#construction-of-modules-of-m-times-n-matrices)
    - [`RMatrixSpace(R, m, n): Rng, RngIntElt, RngIntElt → ModMatRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation-module.md#function-rmatrixspace-rng-rngintelt-rngintelt)
  - [Construction of a Module with Specified Basis](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation-module.md#construction-of-a-module-with-specified-basis)
    - [`RModuleWithBasis(Q): [ModFldElt] → ModFld`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation-module.md#function-rmodulewithbasis-modfldelt)
    - [`RSpaceWithBasis(Q): [ModTupRngElt] → ModTupRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation-module.md#function-rspacewithbasis-modtuprngelt)
    - [`RSpaceWithBasis(a): AlgMatElt → ModTupRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation-module.md#function-rspacewithbasis-algmatelt)
    - [`RSpaceWithBasis(a): ModMatRngElt → ModTupRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation-module.md#function-rspacewithbasis-modmatrngelt)
    - [`RMatrixSpaceWithBasis(Q): [ModTupRngElt] → ModMatRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation-module.md#function-rmatrixspacewithbasis-modtuprngelt)
- [Accessing Module Information](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/access.md)
  - [`M . i: ModTupRng, RngIntElt → ModElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/access.md#operation-operation-modtuprng-rngintelt-modelt)
  - [`CoefficientRing(M): ModTupRng → Rng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/access.md#function-coefficientring-modtuprng)
  - [`BaseRing(M): ModTupRng → Rng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/access.md#function-basering-modtuprng)
  - [`CoefficientRing(M): ModRng → Rng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/access.md#function-coefficientring-modrng)
  - [`BaseRing(M): ModRng → Rng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/access.md#function-basering-modrng)
  - [`CoefficientField(M): ModFld → Fld`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/access.md#function-coefficientfield-modfld)
  - [`BaseField(M): ModFld → Fld`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/access.md#function-basefield-modfld)
  - [`Generators(M): ModTupRng → { ModTupRngElt }`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/access.md#function-generators-modtuprng)
  - [`OverDimension(M): ModTupRng → RngIntElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/access.md#function-overdimension-modtuprng)
  - [`OverDimension(u): ModTupRngElt → RngIntElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/access.md#function-overdimension-modtuprngelt)
  - [`Moduli(M): ModTupRng → [ RngElt ]`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/access.md#function-moduli-modtuprng)
  - [`Parent(u): ModTupRngElt → ModRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/access.md#function-parent-modtuprngelt)
  - [`Generic(M): ModRng → ModRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/access.md#function-generic-modrng)
- [Standard Constructions](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/operation.md)
  - [Changing the Coefficient Ring](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/operation.md#changing-the-coefficient-ring)
    - [`ChangeRing(M, S): ModRng, Rng → ModRng, Map`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/operation.md#function-changering-modrng-rng)
    - [`ChangeRing(M, S, f): ModRng, Rng, Map → ModRng, Map`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/operation.md#function-changering-modrng-rng-map)
    - [`ChangeUniverse(~x, R): ModTupRngElt, Rng → ModRng, Map`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/operation.md#function-changeuniverse-modtuprngelt-rng-ref)
  - [Direct Sums](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/operation.md#direct-sums)
    - [`DirectSum(M, N): ModRng, ModRng → ModRng, Map, Map, Map, Map`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/operation.md#function-directsum-modrng-modrng)
    - [`DirectSum(Q): [ ModRng ] → [ ModRng ], [ Map ], [ Map ]`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/operation.md#function-directsum-modrng)
- [Construction of Elements](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md)
  - [`elt< M | a₁, ..., aₙ >: ModTupRng, List → ModTupRngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#constructor-constructor-elt-modtuprng-list-modtuprngelt)
  - [`M ! Q: ModTupRng, [RngElt] → ModTupRngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#operation-op-modtuprng-rngelt)
  - [`CharacteristicVector(M, S): ModRng, { RngIntElt } → ModRngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#function-characteristicvector-modrng-rngintelt)
  - [`Zero(M): ModRng → ModRngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#function-zero-modrng)
  - [`M ! 0: ModRng, RngIntElt → ModRngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#operation-op-modrng-rngintelt)
  - [`Random(M): ModRng → ModRngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#function-random-modrng)
  - [Example: Elements of a Free Module over Z\[x\]](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#example-ex-cd5034)
  - [Deconstruction of Elements](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#deconstruction-of-elements)
    - [`ElementToSequence(u): ModTupRngElt → [RngElt]`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#function-elementtosequence-modtuprngelt)
    - [`Eltseq(u): ModTupRngElt → [RngElt]`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#function-eltseq-modtuprngelt)
  - [Operations on Module Elements](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#operations-on-module-elements)
    - [Arithmetic](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#arithmetic)
      - [`u + v: ModTupRngElt, ModTupRngElt → ModTupRngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#operation-op-plus-modtuprngelt-modtuprngelt)
      - [`- u: ModTupRngElt → ModTupRngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#operation-operation-modtuprngelt-modtuprngelt)
      - [`u - v: ModTupRngElt, ModTupRngElt → ModTupRngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#operation-op-minus-modtuprngelt-modtuprngelt)
      - [`x * u: RngElt, ModTupRngElt → ModTupRngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#operation-op-times-rngelt-modtuprngelt)
      - [`u * x: ModTupRngElt, RngElt → ModTupRngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#operation-op-times-modtuprngelt-rngelt)
      - [`u / x: ModTupRngElt, RngElt → ModTupRngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#operation-op-div-modtuprngelt-rngelt)
    - [Indexing](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#indexing)
      - [`u[i]: ModTupRngElt, RngIntElt → RngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#indexed-indexed-u-modtuprngelt-rngintelt-rngelt)
      - [`u[i] := x: ModTupRngElt, RngIntElt, RngElt → ModTupRngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#literal-literal-u-i-x-modtuprngelt-rngintelt-rngelt-modtuprngelt)
    - [Normalization](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#normalization)
      - [`Normalize(u): ModTupRngElt → ModTupRngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#function-normalize-modtuprngelt)
      - [`Normalise(u): ModTupRngElt → ModTupRngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#function-normalise-modtuprngelt)
      - [`Rotate(u, k): ModTupRngElt, RngIntElt → ModTupRngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#function-rotate-modtuprngelt-rngintelt)
      - [`Rotate(~u, k): ModTupRngElt, RngIntElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#procedure-rotate-modtuprngelt-rngintelt-ref)
      - [Example: Arithmetic on Module Elements](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#example-ex-8a5f2c)
  - [Properties of Vectors](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#properties-of-vectors)
    - [`IsZero(u): ModTupRngElt → BoolElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#function-iszero-modtuprngelt)
    - [`Depth(v): ModTupRngElt → RngIntElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#function-depth-modtuprngelt)
    - [`Support(u): ModTupRngElt → { RngElt }`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#function-support-modtuprngelt)
    - [`Weight(u): ModTupRngElt → RngIntElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#function-weight-modtuprngelt)
  - [Inner Products](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#inner-products)
    - [`(u, v): ModTupRngElt, ModTupRngElt → RngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#literal-literal-u-v-modtuprngelt-modtuprngelt-rngelt)
    - [`InnerProduct(u, v): ModTupRngElt, ModTupRngElt → RngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#function-innerproduct-modtuprngelt-modtuprngelt)
    - [`Norm(u): ModTupRngElt → RngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/creation.md#function-norm-modtuprngelt)
- [Bases](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/basis.md)
  - [`Basis(M): ModTupRng → [ModTupRngElt]`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/basis.md#function-basis-modtuprng)
  - [`Rank(M): ModTupRng → RngIntElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/basis.md#function-rank-modtuprng)
  - [`Coordinates(M, u): ModTupRng, ModTupRngElt → [RngElt]`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/basis.md#function-coordinates-modtuprng-modtuprngelt)
- [Submodules](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md)
  - [Construction of Submodules](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#construction-of-submodules)
    - [`sub<M | L>: ModTupRng, List → ModTupRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#constructor-constructor-sub-modtuprng-list-modtuprng)
    - [`sub<M | L>: ModMatRng, List → ModMatRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#constructor-constructor-sub-modmatrng-list-modmatrng)
    - [Example: Submodule over a Rational Function Field](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#example-ex-e4a021)
  - [Operations on Submodules](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#operations-on-submodules)
  - [Membership and Equality](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#membership-and-equality)
    - [`u in M: ModTupRngElt, ModTupRng → BoolElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#operation-op-in-modtuprngelt-modtuprng)
    - [`u in M: ModMatRngElt, ModMatRng → BoolElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#operation-op-in-modmatrngelt-modmatrng)
    - [`u notin M: ModTupRngElt, ModTupRng → BoolElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#operation-op-notin-modtuprngelt-modtuprng)
    - [`u notin M: ModMatRngElt, ModMatRng → BoolElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#operation-op-notin-modmatrngelt-modmatrng)
    - [`N subset M: ModTupRng, ModTupRng → BoolElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#operation-op-subset-modtuprng-modtuprng)
    - [`N subset M: ModMatRng, ModMatRng → BoolElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#operation-op-subset-modmatrng-modmatrng)
    - [`N notsubset M: ModTupRng, ModTupRng → BoolElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#operation-operation-notsubset-modtuprng-modtuprng-boolelt)
    - [`N notsubset M: ModMatRng, ModMatRng → BoolElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#operation-operation-notsubset-modmatrng-modmatrng-boolelt)
    - [`N eq M: ModTupRng, ModTupRng → BoolElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#operation-op-eq-modtuprng-modtuprng)
    - [`M eq N: ModMatRng, ModMatRng → BoolElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#operation-op-eq-modmatrng-modmatrng)
    - [`N ne M: ModTupRng, ModTupRng → BoolElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#operation-op-ne-modtuprng-modtuprng)
    - [`M ne N: ModMatRng, ModMatRng → BoolElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#operation-op-ne-modmatrng-modmatrng)
  - [Operations on Submodules](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#id1)
    - [`M + N: ModTupRng, ModTupRng → ModTupRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#operation-op-plus-modtuprng-modtuprng)
    - [`M + N: ModMatRng, ModMatRng → ModMatRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#operation-op-plus-modmatrng-modmatrng)
    - [`M meet N: ModTupRng, ModTupRng → ModTupRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#operation-op-meet-modtuprng-modtuprng)
    - [`M meet N: ModMatRng, ModMatRng → ModMatRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/submodule.md#operation-op-meet-modmatrng-modmatrng)
- [Quotient Modules](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/quotient.md)
  - [Construction of Quotient Modules](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/quotient.md#construction-of-quotient-modules)
    - [`quo<M | L>: ModTupRng, List → ModTupRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/quotient.md#constructor-constructor-quo-modtuprng-list-modtuprng)
    - [`quo<M | L>: ModMatRng, List → ModMatRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/quotient.md#constructor-constructor-quo-modmatrng-list-modmatrng)
- [Homomorphisms](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md)
  - [${\operatorname{Hom}}_{R}(M, N)$ for $R$-modules](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#operatorname-hom-r-m-n-for-r-modules)
    - [`Hom(M, N): ModTupRng, ModTupRng → ModMatRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#function-hom-modtuprng-modtuprng)
    - [`RMatrixSpace(R, m, n): Rng, RngIntElt, RngIntElt → ModMatRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#function-rmatrixspace-rng-rngintelt-rngintelt-2)
    - [Example: Module of Homomorphisms of Vector Spaces](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#example-ex-bf6e98)
  - [${\operatorname{Hom}}_{R}(M, N)$ for Matrix Modules](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#operatorname-hom-r-m-n-for-matrix-modules)
    - [`Hom(M, N, "right"): ModMatRng, ModMatRng, MonStgElt → ModMatRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#function-hom-modmatrng-modmatrng-monstgelt-right)
    - [`Hom(M, N, "left"): ModMatRng, ModMatRng, MonStgElt → ModMatRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#function-hom-modmatrng-modmatrng-monstgelt-left)
    - [Example: Homomorphisms Between Homomorphism Modules](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#example-ex-e3a29e)
  - [Modules ${\operatorname{Hom}}_{R}(M, N)$ with Given Basis](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#modules-operatorname-hom-r-m-n-with-given-basis)
    - [`RMatrixSpaceWithBasis(Q): [ ModMatRngElt ] → ModMatRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#function-rmatrixspacewithbasis-modmatrngelt)
    - [`KMatrixSpaceWithBasis(Q): [ ModMatRngElt ] → ModMatRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#function-kmatrixspacewithbasis-modmatrngelt)
  - [The Endomorphism Ring](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#the-endomorphism-ring)
    - [`EndomorphismAlgebra(M): ModTupRng → AlgMat`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#function-endomorphismalgebra-modtuprng)
    - [Example: Endomorphism Ring of a Vector Space](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#example-ex-7acde1)
  - [The Reduced Form of a Matrix Module](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#the-reduced-form-of-a-matrix-module)
    - [`Reduce(H): ModMatRng → ModMatRng, Map`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#function-reduce-modmatrng)
    - [Example: Reduced Form for Maps Between Vector Spaces](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#example-ex-ecaba6)
    - [Example: Reduced Form for Maps Between Hom Modules](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#example-ex-4c472d)
  - [Construction of a Matrix](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#construction-of-a-matrix)
    - [`M ! Q: ModMatRng, [RngElt] → ModMatRngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#operation-op-modmatrng-rngelt)
    - [Example: Hilbert Matrix as an Endomorphism](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#example-ex-9b8959)
  - [Element Operations](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#element-operations)
    - [`u * a: ModTupRngElt, ModMatRngElt → ModTupRngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#operation-op-times-modtuprngelt-modmatrngelt)
    - [`a(u): ModTupRngElt, ModMatRngElt → ModTupRngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#literal-a-modtuprngelt-modmatrngelt)
    - [`a * b: ModMatRngElt, ModMatRngElt → ModMatRngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#operation-op-times-modmatrngelt-modmatrngelt)
    - [`a ^ -1: ModMatRngElt, RngIntElt → ModMatRngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#operation-op-pow-modmatrngelt-rngintelt)
    - [`Codomain(S): ModMatRng → ModTupRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#function-codomain-modmatrng)
    - [`Codomain(a): ModMatRngElt → ModTupRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#function-codomain-modmatrngelt)
    - [`Cokernel(a): ModMatRngElt → ModTupRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#function-cokernel-modmatrngelt)
    - [`Domain(S): ModMatRng → ModTupRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#function-domain-modmatrng)
    - [`Domain(a): ModMatRngElt → ModTupRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#function-domain-modmatrngelt)
    - [`Image(a): ModMatRngElt → ModTupRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#function-image-modmatrngelt)
    - [`Kernel(a): ModMatRngElt → ModTupRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#function-kernel-modmatrngelt)
    - [`NullSpace(a): ModMatRngElt → ModTupRng`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#function-nullspace-modmatrngelt)
    - [`Morphism(M, N): ModTupRng, ModTupRng → ModMatRngElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#function-morphism-modtuprng-modtuprng)
    - [`Rank(a): ModMatRngElt → RngIntElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#function-rank-modmatrngelt)
    - [`IsBijective(a): ModMatRngElt → BoolElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#function-isbijective-modmatrngelt)
    - [`IsInjective(a): ModMatRngElt → BoolElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#function-isinjective-modmatrngelt)
    - [`IsSurjective(a): ModMatRngElt → BoolElt`](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#function-issurjective-modmatrngelt)
    - [Example: Operations in a Homomorphism Module](https://docs.magma-maths.org/v2.30-1/Modules/FreeModules/homomorphisms.md#example-ex-85af3b)
