GAP
Implementation of programming language GAPGAP (Groups, Algorithms, Programming) — computer algebra system that includes GAP language interpreter.
GAP kernel is written in C.
GAP 4 loading banner
Links:
Examples:
Hello, World!:
Example for versions GAP 4.4.12To run as a script use gap -q < filename.gap
Print("Hello, Wolrd!\n");
Factorial:
Example for versions GAP 4.4.12This example uses standard Factorial
function.
for n in [0..16] do
Print(n, "! = ", Factorial(n), "\n");
od;
Comments
]]>blog comments powered by Disqus
]]>