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
  • Records

Records#

  • Introduction
  • The Record Format Constructor
    • recformat< L >: FieldnameList → RecFormat
    • Example: Creating a Record Format
  • Creating a Record
    • rec< F | L >: RecFormat, FieldAssignmentList → Rec
    • Example: Building Records
  • Access and Modification Functions
    • Format(r): Rec → RecFormat
    • Names(F): RecFrmt → [ MonStgElt ]
    • Names(r): Rec → [ MonStgElt ]
    • r`fieldname: Rec, Fieldname → Elt
    • r`fieldname := expression;
    • delete r`fieldname: Rec, Fieldname → Nil
    • assigned r`fieldname: Rec, Fieldname → BoolElt
    • r`` s: Rec, String → Elt
    • Example: Accessing Record Fields

previous

Universal Map

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.