Groups, algorithms and programming
GAP is a system for computational discrete algebra with particular emphasis on computational group theory, but which has already proved useful also in other areas. In the example text, gap is used to analyse Rubik's Cube using group theory. A kernel implements a pascal-like language.
usage: gap [OPTIONS] [FILES]
run the Groups, Algorithms and Programming system, Version 4.4.12
-h
print this help and exit
-b
disable/enable the banner
-q
enable/disable quiet mode
-e
disable/enable quitting on <ctr>-D
-f
force line editing
-n
prevent line editing
-x <num>
set line width
-y <num>
set number of lines
-g
show GASMAN messages (full garbage collections)
-g -g
show GASMAN messages (all garbage collections)
-m <mem>
set the initial workspace size
-o <mem>
set hint for maximal workspace size (GAP may allocate more)
-K <mem>
set maximal workspace size (GAP never allocates more)
-c <mem>
set the cache size value
-a <mem>
set amount to pre-malloc-ate postfix 'k' = *1024, 'm' = *1024*1024, 'g' = *1024*1024*1024
-l <paths>
set the GAP root paths
-r
disable/enable reading of the '.gaprc' file
-A
disable/enable autoloading of GAP packages
-B <name>
current architecture
-D
enable/disable debugging the loading of library files
-M
disable/enable loading of compiled modules
-N
disable/enable check for completion files
-T
disable/enable break loop
-X
enable/disable CRC for comp. files while reading
-Y
enable/disable CRC for comp. files while completing
-i <file>
change the name of the init file
-L <file>
restore a saved workspace
-R
prevent restoring of workspace (ignoring -L)
Boolean options (b,q,e,r,A,D,M,N,T,X,Y) toggle the current value each time they are called. Default actions are indicated first.
The GAP Group <http://www.gap-system.org>
Copyright (1987--2006) by the GAP Group,
GAP is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
gac(1) update-gap-workspace(1)
You can read the complete manual in /usr/share/gap/doc or you can use the online help system. Type ?help inside GAP to access it. Type
?Reference: options!under UNIX
to access the full documentation of options.