Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
| Download
GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
Project: cocalc-sagemath-dev-slelievre
Views: 4183461[1X1 [33X[0;0YPreface[133X[101X23[33X[0;0YWelcome to [5XGAP[105X. This is one of three manuals documenting the core part of4[5XGAP[105X, the other being the [13X[5XGAP[105X Tutorial[113X . and the document called [13X[21X[5XGAP[105X -5Changes from Earlier Versions[121X[113X .[133X67[33X[0;0YThis preface serves not only to introduce [21XThe [5XGAP[105X Reference Manual[121X, but also8as an introduction to the whole system.[133X910[33X[0;0Y[5XGAP[105X stands for [13XGroups, Algorithms and Programming[113X. The name was chosen to11reflect the aim of the system, which is introduced in this reference manual.12Since that choice, the system has become somewhat broader, and you will also13find information about algorithms and programming for other algebraic14structures, such as semigroups and algebras.[133X1516[33X[0;0YThis manual, the [13X[5XGAP[105X reference manual[113X contains the official definitions of17[5XGAP[105X functions. It should contain all the information needed to use [5XGAP[105X, and18is not intended to be read cover-to-cover.[133X1920[33X[0;0YTo get started a new user may first look at parts of the [13X[5XGAP[105X Tutorial[113X .[133X2122[33X[0;0YA lot of the functionality of the system and a number of contributed23extensions are provided as [21X[5XGAP[105X packages[121X which are developed independently of24the core part of [5XGAP[105X and can be loaded into a [5XGAP[105X session. Each package25comes with a its own manual which is also available through the [5XGAP[105X help26system.[133X2728[33X[0;0YThis manual is divided into chapters, sections and subsections. Chapter [14X2[114X29describes the [13Xhelp system[113X, which provides access to all the manuals from a30running [5XGAP[105X session. Chapter [14X3[114X gives technical advice for [13Xrunning[113X [5XGAP[105X.31Chapter [14X4[114X introduces the [5XGAP[105X language, and the next chapters deal with the32[13Xenvironment[113X provided by [5XGAP[105X for the user. These are followed by the main33bulk of chapters which are devoted to the various mathematical structures34that [5XGAP[105X can handle.[133X3536[33X[0;0YSubsequent sections of this preface explain the structure of the system and37provide copyright and licensing information.[133X383940[1X1.1 [33X[0;0YThe [5XGAP[105X[101X[1X System[133X[101X4142[33X[0;0Y[5XGAP[105X is a [13Xfree[113X, [13Xopen[113X and [13Xextensible[113X software package for computation in43discrete abstract algebra. The terms [21Xfree[121X and [21Xopen[121X describe the conditions44under which the system is distributed -- in brief, it is [13Xfree of charge[113X45(except possibly for the immediate costs of delivering it to you), you are46[13Xfree to pass it on[113X within certain limits, and all of the workings of the47system are [13Xopen for you to examine and change[113X. Details of these conditions48can be found in Section [14X'Reference: Copyright and License'[114X.[133X4950[33X[0;0YThe system is [21Xextensible[121X in that you can write your own programs in the [5XGAP[105X51language, and use them in just the same way as the programs which form part52of the system (the [21Xlibrary[121X). Indeed, we actively support the contribution,53refereeing and distribution of extensions to the system, in the form of [21X[5XGAP[105X54packages[121X. Further details of this can be found in chapter [14X'Reference: Using55GAP Packages'[114X, and on our website.[133X5657[33X[0;0YDevelopment of [5XGAP[105X began at Lehrstuhl D für Mathematik, RWTH-Aachen, under58the leadership of Joachim Neubüser in 1985. Version 2.4 was released in 198859and version 3.1 in 1992. In 1997 coordination of [5XGAP[105X development, now very60much an international effort, was transferred to St Andrews. A complete61internal redesign and almost complete rewrite of the system was completed62over the following years and version 4.1 was released in July 1999. A sign63of the further internationalization of the project was the [5XGAP[105X 4.4 release64in 2004, which has been coordinated from Colorado State University, Fort65Collins.[133X6667[33X[0;0YMore information on the motivation and development of [5XGAP[105X to date, can be68found on our Web pages in a section entitled [21XRelease history and Prefaces[121X.[133X6970[33X[0;0YFor those readers who have used an earlier version of [5XGAP[105X, an overview of71the changes from [5XGAP[105X 4.4 and a brief summary of changes from earlier72versions is given in a separate manual [14X'Changes: Changes between GAP 4.4 and73GAP 4.5'[114X.[133X7475[33X[0;0YThe system that you are getting now consists of a [21Xcore system[121X and a number76of packages. The core system consists of four main parts.[133X7778[31X1[131X [33X[0;6YA [13Xkernel[113X, written in C, which provides the user with[133X7980[30X [33X[0;12Yautomatic dynamic storage management, which the user needn't81bother about in his programming;[133X8283[30X [33X[0;12Ya set of time-critical basic functions, e.g. [21Xarithmetic[121X,84operations for integers, finite fields, permutations and words,85as well as natural operations for lists and records;[133X8687[30X [33X[0;12Yan interpreter for the [5XGAP[105X language, an untyped imperative88programming language with functions as first class objects and89some extra built-in data types such as permutations and finite90field elements. The language supports a form of object-oriented91programming, similar to that supported by languages like C++ and92Java but with some important differences.[133X9394[30X [33X[0;12Ya small set of system functions allowing the [5XGAP[105X programmer to95handle files and execute external programs in a uniform way,96regardless of the particular operating system in use.[133X9798[30X [33X[0;12Ya set of programming tools for testing, debugging, and timing99algorithms.[133X100101[30X [33X[0;12Ya [21Xread-eval-view[121X style user interface.[133X102103[31X2[131X [33X[0;6YA much larger [13Xlibrary of [5XGAP[105X functions[113X that implement algebraic and104other algorithms. Since this is written entirely in the [5XGAP[105X language,105the [5XGAP[105X language is both the main implementation language and the user106language of the system. Therefore the user can as easily as the107original programmers investigate and vary algorithms of the library108and add new ones to it, first for own use and eventually for the109benefit of all [5XGAP[105X users.[133X110111[31X3[131X [33X[0;6YA [13Xlibrary of group theoretical data[113X which contains various libraries112of groups, including the library of small groups (containing all113groups of order at most 2000, except those of order 1024) and others.114Large libraries of ordinary and Brauer character tables and Tables of115Marks are included as packages.[133X116117[31X4[131X [33X[0;6YThe [13Xdocumentation[113X. This is available as on-line help, as printable118files in PDF format and as HTML for viewing with a Web browser.[133X119120[33X[0;0YAlso included with the core system are some test files and a few small121utilities which we hope you will find useful.[133X122123[33X[0;0Y[5XGAP[105X [13Xpackages[113X are self-contained extensions to the core system. A package124contains [5XGAP[105X code and its own documentation and may also contain data files125or external programs to which the [5XGAP[105X code provides an interface. These126packages may be loaded into [5XGAP[105X using the [2XLoadPackage[102X ([14XReference:127LoadPackage[114X) command, and both the package and its documentation are then128available just as if they were parts of the core system. Some packages may129be loaded automatically, when [5XGAP[105X is started, if they are present. Some130packages, because they depend on external programs, may only be available on131the operating systems where those programs are available (usually UNIX). You132should note that, while the packages included with this release are the most133recent versions ready for release at this time, new packages and new134versions may be released at any time and can be easily installed in your135copy of [5XGAP[105X.[133X136137[33X[0;0YWith [5XGAP[105X there are two packages (the library of ordinary and Brauer138character tables, and the library of tables of marks) which contain139functionality developed from parts of the [5XGAP[105X core system. These have been140moved into packages for ease of maintenance and to allow new versions to be141released independently of new releases of the core system. The library of142small groups should also be regarded as a package, although it does not143currently use the standard package mechanism. Other packages contain144functionality which has never been part of the core system, and may extend145it substantially, implementing specific algorithms to enhance its146capabilities, providing data libraries, interfaces to other computer algebra147systems and data sources such as the electronic version of the Atlas of148Finite Group Representations; therefore, installation and usage of packages149is recommended.[133X150151[33X[0;0YFurther details about [5XGAP[105X packages can be found in chapter [14X'Reference: Using152GAP Packages'[114X, and on the [5XGAP[105X website here:153[7Xhttps://www.gap-system.org/Packages/packages.html[107X.[133X154155156[1X1.2 [33X[0;0YAuthors and Maintainers[133X[101X157158[33X[0;0Y[5XGAP[105X is the work of very many people, many of whom still maintain parts of159the system. A complete list of authors, and an approximation to the current160list of maintainers can be found on the [5XGAP[105X World Wide Web site at161[7Xhttps://www.gap-system.org/Contacts/People/authors.html[107X and162[7Xhttps://www.gap-system.org/Contacts/People/modules.html[107X. All [5XGAP[105X packages163have their own authors and maintainers. It should however be noted that some164packages provide interfaces between [5XGAP[105X and an external program, a copy of165which is included for convenience, and that, in these cases, we do not claim166that the package authors or maintainers wrote, or maintain, this external167program. Similarly, the system and some packages include large data168libraries that may have been computed by many people. We try to make clear169in each case what credit is attributable to whom.[133X170171[33X[0;0YWe have, for some time, operated a refereeing system for contributed172packages, both to ensure the quality of the software we distribute, and to173provide recognition for the authors. We now consider this to be a refereeing174system for modules, and we would note, in particular that, although it does175not use the standard package interface, the library of small groups has been176refereed and accepted on exactly the same basis as the accepted packages.[133X177178[33X[0;0YWe also include with this distribution a number of packages which have not179(yet) gone through our refereeing process. Some may be accepted in the180future, in other cases the authors have chosen not to submit them. More181information can be found on our World Wide Web site (see Section [14X1.5[114X).[133X182183184[1X1.3 [33X[0;0YAcknowledgements[133X[101X185186[33X[0;0YVery many people have worked on, and contributed to, [5XGAP[105X over the years187since its inception. On our Web site you will find the prefaces to the188previous releases, each of which acknowledges people who have made special189contributions to that release. Even so, it is appropriate to mention here190Joachim Neubüser whose vision of a free, open and extensible system for191computational algebra inspired [5XGAP[105X in the first place, and Martin Schönert,192who was the technical architect of [5XGAP[105X 3 and [5XGAP[105X 4.[133X193194195[1X1.4 [33X[0;0YCopyright and License[133X[101X196197[33X[0;0YCopyright © (1987-2018) by the [5XGAP[105X Group,[133X198199[33X[0;0Yincorporating the Copyright © 1999, 2000 by School of Mathematical and200Computational Sciences, University of St Andrews, North Haugh, St Andrews,201Fife KY16 9SS, Scotland[133X202203[33X[0;0Ybeing the Copyright © 1992 by Lehrstuhl D für Mathematik, RWTH, 52056204Aachen, Germany, transferred to St Andrews on July 21st, 1997.[133X205206[33X[0;0Yexcept for files in the distribution, which have an explicit different207copyright statement. In particular, the copyright of packages distributed208with [5XGAP[105X is usually with the package authors or their institutions.[133X209210[33X[0;0Y[5XGAP[105X is free software; you can redistribute it and/or modify it under the211terms of the GNU General Public License as published by the Free Software212Foundation; either version 2 of the License, or (at your option) any later213version. For details, see the file [11XGPL[111X in the [11Xetc[111X directory of the [5XGAP[105X214distribution or see [7Xhttp://www.gnu.org/licenses/gpl.html[107X.[133X215216[33X[0;0YIf you obtain [5XGAP[105X please send us a short notice to that effect, e.g., an217e-mail message to the address [7Xmailto:[email protected][107X. This helps us218to keep track of the number of [5XGAP[105X users.[133X219220[33X[0;0YIf you publish a mathematical result that was partly obtained using [5XGAP[105X,221please cite [5XGAP[105X, just as you would cite another paper that you used (see222below for sample citation). Also we would appreciate if you could inform us223about such a paper, which we will add to the [5XGAP[105X bibliography224([7Xhttps://www.gap-system.org/Doc/Bib/bib.html[107X).[133X225226[33X[0;0YSpecifically, please refer to[133X227228[4X[32X[104X229[4X[GAP] The GAP Group, GAP - Groups, Algorithms, and Programming,[104X230[4X Version 4.8.10; 2018 (https://www.gap-system.org)[104X231[4X[32X[104X232233[33X[0;0YYou are permitted to modify and redistribute [5XGAP[105X, but you are not allowed to234restrict further redistribution. That is to say proprietary modifications235will not be allowed. We want all versions of [5XGAP[105X to remain free.[133X236237[33X[0;0YIf you modify any part of [5XGAP[105X and redistribute it, you must supply a [11XREADME[111X238document. This should specify what modifications you made in which files. We239do not want to take credit or be blamed for your modifications.[133X240241[33X[0;0YOf course we are interested in all of your modifications. In particular we242would like to see bug-fixes, improvements and new functions. So again we243would appreciate it if you would inform us about all modifications you make.[133X244245[33X[0;0YIn addition to the general copyright for [5XGAP[105X set forth above, the following246terms apply to the versions of [5XGAP[105X for Windows.[133X247248[33X[0;0YThe executable of [5XGAP[105X for Windows that we distribute was compiled with the249[10Xgcc[110X compiler supplied with [5XCygwin[105X installation ([7Xhttp://cygwin.com/[107X).[133X250251[33X[0;0YThe GNU C compiler is[133X252253[33X[0;0Y[13XCopyright © 2010 Free Software Foundation, Inc.[113X[133X254255[33X[0;0Yunder the terms of the GNU General Public License (GPL).[133X256257[33X[0;0YThe [5XCygwin[105X API library is also covered by the GNU GPL. The executable we258provide is linked against this library (and in the process includes GPL'd259[5XCygwin[105X glue code). This means that the executable falls under the GPL too,260which it does anyhow.[133X261262[33X[0;0YThe [11Xcyggcc_s-1.dll[111X, [11Xcygncurses-10.dll[111X, [11Xcygncursesw-10.dll[111X, [11Xcygpanel-10.dll[111X,263[11Xcygpopt-0.dll[111X, [11Xcygreadline7.dll[111X, [11Xcygstart.exe[111X, [11Xcygwin1.dll[111X, [11XlibW11.dll[111X,264[11Xmintty.exe[111X, [11Xrxvt.exe[111X and [11Xregtool.exe[111X are taken unmodified from the [5XCygwin[105X265distribution. They are copyright by RedHat Software and released under the266GPL. For more information on [5XCygwin[105X, see [7Xhttp://www.cygwin.com[107X.[133X267268[33X[0;0YPlease contact [7Xmailto:[email protected][107X if you need further269information.[133X270271272[1X1.5 [33X[0;0YFurther Information about [5XGAP[105X[101X[1X[133X[101X273274[33X[0;0YInformation about [5XGAP[105X is best obtained from the [5XGAP[105X website[133X275276[33X[0;0Y[7Xhttps://www.gap-system.org[107X[133X277278[33X[0;0YThere you will find, amongst other things[133X279280[30X [33X[0;6Ydirections to the sites from which you can download the current [5XGAP[105X281distribution, all accepted and deposited [5XGAP[105X packages, and a selection282of other contributions.[133X283284[30X [33X[0;6Ythe [5XGAP[105X manual and an archive of the [10Xgap-forum[110X mailing list, formatted285for reading with a Web browser, and indexed for searching.[133X286287[30X [33X[0;6Yinformation about [5XGAP[105X developers, and about the email addresses288available for comment, discussion and support.[133X289290[33X[0;0YWe would particularly ask you to note the following things:[133X291292[30X [33X[0;6YThe [5XGAP[105X Forum – an email discussion forum for comments, discussions or293questions about [5XGAP[105X. You must subscribe to the list before you can294post to it, see the website for details. In particular we will295announce new releases in this mailing list.[133X296297[30X [33X[0;6YThe email address [7Xmailto:[email protected][107X to which you are asked298to send any questions or bug reports which do not seem likely to be of299interest to the whole [5XGAP[105X Forum. Please give a (short, if possible)300self-contained excerpt of a [5XGAP[105X session containing both input and301output that illustrates your problem (including comments of why you302think it is a bug) and state the type of the machine, operating303system, (compiler used, if UNIX/Linux) and the version of [5XGAP[105X you are304using (the first line after the [5XGAP[105X 4 banner starting [10XGAP, Version3054...[110X).[133X306307[30X [33X[0;6YWe also ask you to send a brief message to308[7Xmailto:[email protected][107X when you install [5XGAP[105X.[133X309310[30X [33X[0;6YThe correct form of citation of [5XGAP[105X, which we ask you use whenever you311publish scientific results obtained using [5XGAP[105X.[133X312313[33X[0;0YIt finally remains for us to wish you all pleasure and success in using [5XGAP[105X,314and to invite your constructive comment and criticism.[133X315316[33X[0;0YThe GAP Group,[133X317318[33X[0;0Y15-Jan-2018[133X319320321322