Skip to main content
Ctrl+K
Magma Magma
About Get Magma Documentation Try online People How to Cite Contact
Login
  • Preface
  • The Magma Language
  • Sets, Sequences, and Mappings
  • Basic Rings
  • Matrices and Linear Algebra
  • Lattices and Quadratic Forms
  • Global Fields
  • Local Fields
  • Modules
  • Finite Groups
  • Finitely Presented Groups
  • Algebras
  • Representation Theory
  • Lie Theory
  • Commutative Algebra
  • Algebraic Geometry
  • Arithmetic Geometry
  • Modular Arithmetic Geometry
  • Topology
  • Geometry
  • Combinatorics
  • Coding Theory
  • Optimization
  • References
  • Sets, Sequences, and Mappings
  • Coproducts

Coproducts#

  • Introduction
  • Creation Functions
    • Creation of Coproducts
      • cop< S₁, S₂, ..., Sₖ >: Str, Str, ... → Cop, [ Map ]
      • cop< [ S₁, S₂, ..., Sₖ ] >: [ Str, Str, ... ] → Cop, [ Map ]
    • Creation of Coproduct Elements
      • m(e): Map, Elt → CopElt
      • C ! e: Cop, Elt → CopElt
  • Accessing Functions
    • Injections(C): Cop → [ Map ]
    • # C: Cop → RngIntElt
    • Constituent(C, i): Cop, RngIntElt → Str
    • Index(x): CopElt → RngIntElt
  • Retrieve
    • Retrieve(x): CopElt → Elt
    • Example: Basic Use of Coproducts
  • Flattening
    • Flat(C): Cop → Cop
  • Universal Map
    • UniversalMap(C, S, [ n₁, ..., nₘ ]): Cop, Str, [ Map ] → Map

previous

Iteration

next

Introduction

Magma Magma

Magma is maintained and distributed by the Computational Algebra Group, School of Mathematics and Statistics, University of Sydney.

University of Sydney

Explore

  • About Magma
  • Documentation
  • Download
  • Calculator

Community

  • People
  • Contributions
  • Publications
  • Events
  • News

Help

  • FAQ
  • Contact
  • Subscriptions
  • How to Cite
© 1993–2026 Computational Algebra Group. All rights reserved. Built at the University of Sydney, Australia.