Skip to main content
Ctrl+K
Magma Magma
  • About
    About News Members
  • Documentation
    Handbook Official Handbook Release Notes Patch Notes
  • Mathematical Areas
  • Try
  • Subscriptions
  • Download
  • Contact
  • Explore
    Tutorials Conferences Seminars Databases Third Party Libraries How to Cite Support Citation Database
  • About
    About News Members
  • Documentation
    Handbook Official Handbook Release Notes Patch Notes
  • Mathematical Areas
  • Try
  • Subscriptions
  • Download
  • Contact
  • Explore
    Tutorials Conferences Seminars Databases Third Party Libraries How to Cite Support Citation Database
  • 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
  • Cryptography
  • Optimization
  • References
  • Sets, Sequences and Mappings
  • Lists

Lists#

  • Introduction
  • Construction of Lists
    • [* *] → List
    • [* e₁, e₂, ..., eₙ *]: Elt, .., Elt → List
  • Creation of New Lists
    • S cat T: List, List → List
    • S cat:= T: List, List
    • Append(S, x): List, Elt → List
    • Append(~S, x): List, Elt
    • Insert(~S, i, x): List, RngIntElt, Any
    • Insert(S, i, x): List, RngIntElt, Any → List
    • Prune(S): List → List
    • Prune(~S): List
    • SequenceToList(Q): SeqEnum → List
    • Seqlist(Q): SeqEnum → List
    • TupleToList(T): Tup → List
    • Tuplist(T): Tup → List
    • Reverse(L): List → List
  • Access Functions
    • # S: List → RngIntElt
    • IsEmpty(S): List → BoolElt
    • S[i]: List, RngIntElt → Elt
    • S[I]: List, [RngIntElt] → List
    • IsDefined(L, i): List, RngIntElt → Elt
  • Assignment Operator
    • S[i] := x: List, RngIntElt, Elt
  • Iteration
    • x in L
    • i -> x in L

previous

Other Operations

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

  • Home
  • Preface
  • References
  • General Index

Community

  • Members
  • Visitors
  • Seminars
  • Conferences
  • News

Help

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