sagemath_gap3: Computational group theory with GAP3

This pip-installable distribution passagemath-gap3 provides an interface to GAP3.

It can be installed as an extra of the distribution passagemath-groups:

$ pip install "passagemath-groups[gap3]"

What is included

Examples

Starting GAP3 from the command line without explicit installation:

$ pipx run --spec "passagemath-gap3" sage -gap3
             ########            Lehrstuhl D fuer Mathematik, RWTH Aachen
           ###    ####             #######            #########
          ##         ##           #      ##          ## #     ##
         ##          #           #       ##             #      ##
        ##           #           ##       #             #      ##
        ####        ##            #########             #######
         #####     ###  Version 3 Release 4.4 18 Apr 97 #
           ######### #                                  # Martin Schoenert
                    ##  Alice Niemeyer, Werner Nickel   # Erzsebet Horvath
                   ###  Bettina Eick,   Frank Celler,   # Udo Polis
                  ## #  Johannes Meier, Alex Wegner,    # Goetz Pfeiffer
                 ##  #  Juergen Mnich,  Thomas Breuer   # Heiko Theissen
                ##   #  Hans U. Besche, Volkmar Felsch  # Ansgar Kaup
               ##    #  Akos Seress,    Alexander Hulpke, Thomas Bischops
              ##    ##
               ######   For help enter: ?<return>
 lib: 29 May 2017, src: 22 feb 2017, sys: macosx gcc64
 for this GAP3 distribution see webusers.imj-prg.fr/~jmichel/gap3
...
gap>

Using the pexpect interface:

$ pipx run --spec "passagemath-gap3" sage
...
sage: from sage.interfaces.gap3 import gap3
sage: gap3.load_package("chevie")
sage: m = gap3([[1,2,3],[4,5,6]]); m
[ [ 1, 2, 3 ], [ 4, 5, 6 ] ]

Using sage.combinat.root_system:

$ pipx run --spec "passagemath-gap3" python
...
>>> from passagemath_gap3 import *
>>> W = ReflectionGroup(['H',4]); W
Irreducible real reflection group of rank 4 and type H4

Type

optional

Dependencies

Version Information

package-version.txt:

10.8.10

version_requirements.txt:

passagemath-gap3 ~= 10.8.10.0

Installation commands

$ pip install passagemath-gap3~=10.8.10.0
$ sage -i sagemath_gap3

However, these system packages will not be used for building Sage because spkg-configure.m4 has not been written for this package; see upstream Issue #27330 for more information.