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¶
the binary wheels on PyPI ship a prebuilt copy of GAP3, namely Jean Michel’s pre-packaged GAP3, which is a minimal GAP3 distribution containing packages that have no equivalent in GAP4.
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¶
$(PYTHON)
$(PYTHON_TOOLCHAIN)
cython: C-Extensions for Python, an optimizing static compiler
gap3: A minimal distribution of GAP 3 containing packages that have no equivalent in GAP 4
memory_allocator: An extension class to allocate memory easily with Cython
mpc: Arithmetic of complex numbers with arbitrarily high precision and correct rounding
mpfr: Multiple-precision floating-point computations with correct rounding
pexpect: Python module for controlling and automating other programs
sagemath_categories: Sage categories, basic rings, polynomials, functions
sagemath_objects: Sage objects, elements, parents, categories, coercion, metaclasses
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.