Refer to group elements by letters instead of numbers, in keeping

with usual abstract group notation. In puzzles with a clear
identity, it's called e.

[originally from svn r8812]
This commit is contained in:
Simon Tatham
2010-01-05 23:40:41 +00:00
parent 13d7ff6ae5
commit dd4c8ceb1f
2 changed files with 218 additions and 202 deletions

View File

@ -9,7 +9,7 @@ Print(" const struct group *groups;\n};\n\n");
Print("static const struct group groupdata[] = {\n");
offsets := [0];
offset := 0;
for n in [2..31] do
for n in [2..26] do
Print(" /* order ", n, " */\n");
for G in AllSmallGroups(n) do
@ -72,7 +72,7 @@ for n in [2..31] do
fi;
sep := "\\0";
for i in ListPerm(x) do
chars := "123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
chars := "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
Add(s, chars[i]);
od;
od;