/usr/share/gap/pkg/AtlasRep/doc/chap7.html is in gap-atlasrep 1.5.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>GAP (AtlasRep) - Chapter 7: Technicalities of the AtlasRep Package</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="generator" content="GAPDoc2HTML" />
<link rel="stylesheet" type="text/css" href="manual.css" />
<script src="manual.js" type="text/javascript"></script>
<script type="text/javascript">overwriteStyle();</script>
</head>
<body class="chap7" onload="jscontent()">
<div class="chlinktop"><span class="chlink1">Goto Chapter: </span><a href="chap0.html">Top</a> <a href="chap1.html">1</a> <a href="chap2.html">2</a> <a href="chap3.html">3</a> <a href="chap4.html">4</a> <a href="chap5.html">5</a> <a href="chap6.html">6</a> <a href="chap7.html">7</a> <a href="chapBib.html">Bib</a> <a href="chapInd.html">Ind</a> </div>
<div class="chlinkprevnexttop"> <a href="chap0.html">[Top of Book]</a> <a href="chap0.html#contents">[Contents]</a> <a href="chap6.html">[Previous Chapter]</a> <a href="chapBib.html">[Next Chapter]</a> </div>
<p><a id="X812769A8852CF93E" name="X812769A8852CF93E"></a></p>
<div class="ChapSects"><a href="chap7.html#X812769A8852CF93E">7 <span class="Heading">Technicalities of the <strong class="pkg">AtlasRep</strong> Package</span></a>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap7.html#X84F6276387622F46">7.1 <span class="Heading">Global Variables Used by the <strong class="pkg">AtlasRep</strong> Package
</span></a>
</span>
<div class="ContSSBlock">
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap7.html#X8006BE167EB81E16">7.1-1 InfoAtlasRep</a></span>
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap7.html#X78601C3A87921E08">7.1-2 InfoCMeatAxe</a></span>
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap7.html#X80D5EF9A7FEF124B">7.1-3 InfoBBox</a></span>
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap7.html#X85B6010C85A06CB6">7.1-4 CMeatAxe.FastRead</a></span>
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap7.html#X84A157BF7D0CB270">7.1-5 AGR</a></span>
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap7.html#X7BEC94A6781E126E">7.1-6 AtlasOfGroupRepresentationsInfo</a></span>
</div></div>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap7.html#X81C5B5E78215169D">7.2 <span class="Heading">How to Customize the Access to Data files</span></a>
</span>
</div>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap7.html#X7D76D4437A9646E7">7.3 <span class="Heading">Reading and Writing MeatAxe Format Files</span></a>
</span>
<div class="ContSSBlock">
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap7.html#X83D5103780E1238F">7.3-1 ScanMeatAxeFile</a></span>
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap7.html#X7DDD09BE87063052">7.3-2 MeatAxeString</a></span>
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap7.html#X79D9AE4878E9DFA6">7.3-3 FFList</a></span>
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap7.html#X8477AA668733255C">7.3-4 CMtxBinaryFFMatOrPerm</a></span>
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap7.html#X872FA00C7F791FBB">7.3-5 FFMatOrPermCMtxBinary</a></span>
</div></div>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap7.html#X8211B26D841B874C">7.4 <span class="Heading">Reading and Writing <strong class="pkg">ATLAS</strong> Straight Line Programs</span></a>
</span>
<div class="ContSSBlock">
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap7.html#X7D6617E47B013A37">7.4-1 ScanStraightLineProgram</a></span>
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap7.html#X82842D807A7B7DF7">7.4-2 AtlasStringOfProgram</a></span>
</div></div>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap7.html#X7C164C4D7ECE62D0">7.5 <span class="Heading">Data Types Used in the <strong class="pkg">ATLAS</strong> of Group Representations</span></a>
</span>
<div class="ContSSBlock">
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap7.html#X836AA4EA8346BE5B">7.5-1 AGR.DeclareDataType</a></span>
</div></div>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap7.html#X7C2562A978319179">7.6 <span class="Heading">Filenames Used in the <strong class="pkg">ATLAS</strong> of Group Representations</span></a>
</span>
<div class="ContSSBlock">
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap7.html#X8486CCB181FC99A3">7.6-1 AGR.ParseFilenameFormat</a></span>
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap7.html#X78AB92DB7C2CAB6E">7.6-2 AGR.FileContents</a></span>
</div></div>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap7.html#X7AD2556F87F1D40D">7.7 <span class="Heading">The Tables of Contents of the <strong class="pkg">ATLAS</strong> of Group Representations
</span></a>
</span>
</div>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap7.html#X7D42612882656B32">7.8 <span class="Heading">Sanity Checks for the <strong class="pkg">ATLAS</strong> of Group Representations</span></a>
</span>
<div class="ContSSBlock">
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap7.html#X86FDCF0B85496AE5">7.8-1 <span class="Heading">Sanity Checks for a Table of Contents</span></a>
</span>
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap7.html#X7FBFA8D287B807D2">7.8-2 <span class="Heading">Other Sanity Checks</span></a>
</span>
</div></div>
</div>
<h3>7 <span class="Heading">Technicalities of the <strong class="pkg">AtlasRep</strong> Package</span></h3>
<p>This chapter describes those parts of the <strong class="pkg">GAP</strong> interface to the <strong class="pkg">ATLAS</strong> of Group Representations that do not belong to the user interface (cf. Chapter <a href="chap3.html#X79CC2FC07C77EB2C"><span class="RefLink">3</span></a>).</p>
<p>Besides global variables used for administrational purposes (see Section <a href="chap7.html#X84F6276387622F46"><span class="RefLink">7.1</span></a>) and several sanity checks (see Section <a href="chap7.html#X7D42612882656B32"><span class="RefLink">7.8</span></a>), they can be regarded as the interface between the data actually contained in the files and the corresponding <strong class="pkg">GAP</strong> objects (see Section <a href="chap7.html#X81C5B5E78215169D"><span class="RefLink">7.2</span></a>, <a href="chap7.html#X7D76D4437A9646E7"><span class="RefLink">7.3</span></a>, <a href="chap7.html#X8211B26D841B874C"><span class="RefLink">7.4</span></a>, and <a href="chap7.html#X7C164C4D7ECE62D0"><span class="RefLink">7.5</span></a>), and the interface between the remote and the local version of the database (see Section <a href="chap7.html#X7C2562A978319179"><span class="RefLink">7.6</span></a> and <a href="chap7.html#X7AD2556F87F1D40D"><span class="RefLink">7.7</span></a>). The former interface contains functions to read and write files in <strong class="pkg">MeatAxe</strong> format, which may be interesting for users familiar with <strong class="pkg">MeatAxe</strong> standalones (see for example <a href="chapBib.html#biBCMeatAxe">[Rin]</a>). Other low level functions may be undocumented in the sense that they are not described in this manual. Users interested in them may look at the actual implementation in the <code class="file">gap</code> directory of the package, but it may happen that this will be changed in future versions of the package.</p>
<p><a id="X84F6276387622F46" name="X84F6276387622F46"></a></p>
<h4>7.1 <span class="Heading">Global Variables Used by the <strong class="pkg">AtlasRep</strong> Package
</span></h4>
<p>For debugging purposes, the functions from the <strong class="pkg">GAP</strong> interface to the <strong class="pkg">ATLAS</strong> of Group Representations print information depending on the info level of the info classes <code class="func">InfoAtlasRep</code> (<a href="chap7.html#X8006BE167EB81E16"><span class="RefLink">7.1-1</span></a>), <code class="func">InfoCMeatAxe</code> (<a href="chap7.html#X78601C3A87921E08"><span class="RefLink">7.1-2</span></a>), and <code class="func">InfoBBox</code> (<a href="chap7.html#X80D5EF9A7FEF124B"><span class="RefLink">7.1-3</span></a>) (cf. <a href="../../../doc/ref/chap7.html#X7A9C902479CB6F7C"><span class="RefLink">Reference: Info Functions</span></a>).</p>
<p>The info level of an info class can be changed using <code class="func">SetInfoLevel</code> (<a href="../../../doc/ref/chap7.html#X7A43B9E68765EE9E"><span class="RefLink">Reference: SetInfoLevel</span></a>). For example, the info level of <code class="func">InfoAtlasRep</code> (<a href="chap7.html#X8006BE167EB81E16"><span class="RefLink">7.1-1</span></a>) can be set to the nonnegative integer <var class="Arg">n</var> using <code class="code">SetInfoLevel( InfoAtlasRep, <var class="Arg">n</var> )</code>.</p>
<p>Information about files being read can be obtained by setting the value of the global variable <code class="code">InfoRead1</code> to <code class="func">Print</code> (<a href="../../../doc/ref/chap6.html#X7AFA64D97A1F39A3"><span class="RefLink">Reference: Print</span></a>).</p>
<p><a id="X8006BE167EB81E16" name="X8006BE167EB81E16"></a></p>
<h5>7.1-1 InfoAtlasRep</h5>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ InfoAtlasRep</code></td><td class="tdright">( info class )</td></tr></table></div>
<p>If the info level of <code class="func">InfoAtlasRep</code> is at least <span class="SimpleMath">1</span> then information about <code class="keyw">fail</code> results of functions in the <strong class="pkg">AtlasRep</strong> package is printed. If the info level is at least <span class="SimpleMath">2</span> then information about calls to external programs is printed. The default level is <span class="SimpleMath">0</span>, no information is printed on this level.</p>
<p><a id="X78601C3A87921E08" name="X78601C3A87921E08"></a></p>
<h5>7.1-2 InfoCMeatAxe</h5>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ InfoCMeatAxe</code></td><td class="tdright">( info class )</td></tr></table></div>
<p>If the info level of <code class="func">InfoCMeatAxe</code> is at least <span class="SimpleMath">1</span> then information about <code class="keyw">fail</code> results of <code class="code">C</code>-<strong class="pkg">MeatAxe</strong> functions is printed. The default level is zero, no information is printed on this level.</p>
<p><a id="X80D5EF9A7FEF124B" name="X80D5EF9A7FEF124B"></a></p>
<h5>7.1-3 InfoBBox</h5>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ InfoBBox</code></td><td class="tdright">( info class )</td></tr></table></div>
<p>If the info level of <code class="func">InfoBBox</code> is at least <span class="SimpleMath">1</span> then information about <code class="keyw">fail</code> results of functions dealing with black box programs (see Section <a href="chap6.html#X7BE856BC785A9E8F"><span class="RefLink">6.2</span></a>) is printed. The default level is <span class="SimpleMath">0</span>, no information is printed on this level.</p>
<p><a id="X85B6010C85A06CB6" name="X85B6010C85A06CB6"></a></p>
<h5>7.1-4 CMeatAxe.FastRead</h5>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ CMeatAxe.FastRead</code></td><td class="tdright">( global variable )</td></tr></table></div>
<p>If this component is bound and has the value <code class="keyw">true</code> then <code class="func">ScanMeatAxeFile</code> (<a href="chap7.html#X83D5103780E1238F"><span class="RefLink">7.3-1</span></a>) reads text files via <code class="func">StringFile</code> (<a href="../../../pkg/GAPDoc/doc/chap6.html#X7E14D32181FBC3C3"><span class="RefLink">GAPDoc: StringFile</span></a>). Otherwise each file containing a matrix over a finite field is read line by line via <code class="func">ReadLine</code> (<a href="../../../doc/ref/chap10.html#X7D2CA44C7D110C4F"><span class="RefLink">Reference: ReadLine</span></a>), and the <strong class="pkg">GAP</strong> matrix is constructed line by line, in a compressed representation (see <a href="../../../doc/ref/chap23.html#X8679F7DD7DFCBD9C"><span class="RefLink">Reference: Row Vectors over Finite Fields</span></a> and <a href="../../../doc/ref/chap24.html#X873822B6830CE367"><span class="RefLink">Reference: Matrices over Finite Fields</span></a>), which makes it possible to read large matrices in a reasonable amount of space. The <code class="func">StringFile</code> (<a href="../../../pkg/GAPDoc/doc/chap6.html#X7E14D32181FBC3C3"><span class="RefLink">GAPDoc: StringFile</span></a>) approach is faster but needs more intermediate space when text files containing matrices over finite fields are read.</p>
<p><a id="X84A157BF7D0CB270" name="X84A157BF7D0CB270"></a></p>
<h5>7.1-5 AGR</h5>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ AGR</code></td><td class="tdright">( global variable )</td></tr></table></div>
<p>is a record whose components are functions and data that are used by the higher level interface functions.</p>
<p><a id="X7BEC94A6781E126E" name="X7BEC94A6781E126E"></a></p>
<h5>7.1-6 AtlasOfGroupRepresentationsInfo</h5>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ AtlasOfGroupRepresentationsInfo</code></td><td class="tdright">( global variable )</td></tr></table></div>
<p>This is a record that is defined in the file <code class="file">gap/types.g</code> of the package, with the following components.</p>
<p>Components corresponding to <em>user parameters</em> (see Section <a href="chap4.html#X81358A377CC2C463"><span class="RefLink">4.3</span></a>) are</p>
<dl>
<dt><strong class="Mark"><code class="code">remote</code></strong></dt>
<dd><p>a boolean that controls what files are available; if the value is <code class="keyw">true</code> then <strong class="pkg">GAP</strong> is allowed to try remotely accessing any <strong class="pkg">ATLAS</strong> file from the servers (see below) and thus all files listed in the global table of contents are available, if the value is <code class="keyw">false</code> then <strong class="pkg">GAP</strong> may access only those files that are stored in the database directories of the local <strong class="pkg">GAP</strong> installation (see Section <a href="chap4.html#X7E1934D2780D108F"><span class="RefLink">4.3-1</span></a>),</p>
</dd>
<dt><strong class="Mark"><code class="code">servers</code></strong></dt>
<dd><p>a list of pairs <code class="code">[ </code><var class="Arg">server</var><code class="code">, </code><var class="Arg">path</var><code class="code"> ]</code>, where <var class="Arg">server</var> is a string denoting the <code class="file">http</code> address of a server where files can be fetched that are not stored in the local database, and <var class="Arg">path</var> is a string describing the path where the data directories on the server reside,</p>
</dd>
<dt><strong class="Mark"><code class="code">wget</code></strong></dt>
<dd><p>controls whether the <strong class="pkg">GAP</strong> package <strong class="pkg">IO</strong> <a href="chapBib.html#biBIO">[Neu14]</a> or the external program <code class="file">wget</code> is used to fetch data files, see <a href="chap4.html#X7D58635A79A666DB"><span class="RefLink">4.3-3</span></a>,</p>
</dd>
<dt><strong class="Mark"><code class="code">compress</code></strong></dt>
<dd><p>a boolean that controls whether <strong class="pkg">MeatAxe</strong> format text files are stored in compressed form; if the value is <code class="keyw">true</code> then these files are compressed with <code class="file">gzip</code> after they have been fetched from a server, see Section <a href="chap4.html#X7E0AC1127B4363E7"><span class="RefLink">4.3-4</span></a>,</p>
</dd>
<dt><strong class="Mark"><code class="code">displayFunction</code></strong></dt>
<dd><p>the function that is used by <code class="func">DisplayAtlasInfo</code> (<a href="chap3.html#X79DACFFA7E2D1A99"><span class="RefLink">3.5-1</span></a>) for printing the formatted data, see Section <a href="chap4.html#X7DAC8E1E7A419360"><span class="RefLink">4.3-5</span></a>,</p>
</dd>
<dt><strong class="Mark"><code class="code">accessFunctions</code></strong></dt>
<dd><p>a list of records, each describing how to access the data files, see Sections <a href="chap4.html#X7FA485E479F6C3A0"><span class="RefLink">4.3-6</span></a> and <a href="chap7.html#X81C5B5E78215169D"><span class="RefLink">7.2</span></a>, and</p>
</dd>
<dt><strong class="Mark"><code class="code">markprivate</code></strong></dt>
<dd><p>a string used in <code class="func">DisplayAtlasInfo</code> (<a href="chap3.html#X79DACFFA7E2D1A99"><span class="RefLink">3.5-1</span></a>) to mark private data, see Section <a href="chap5.html#X7E186BFA7E59BD47"><span class="RefLink">5.2</span></a>.</p>
</dd>
</dl>
<p><em>System components</em> (which are computed automatically) are</p>
<dl>
<dt><strong class="Mark"><code class="code">GAPnames</code></strong></dt>
<dd><p>a list of pairs, each containing the <strong class="pkg">GAP</strong> name and the <strong class="pkg">ATLAS</strong>-file name of a group, see Section <a href="chap3.html#X87E64E2B7B8A8152"><span class="RefLink">3.2</span></a>,</p>
</dd>
<dt><strong class="Mark"><code class="code">groupnames</code></strong></dt>
<dd><p>a list of triples, each containing at the first position the name of the directory on each server that contains data about the group <span class="SimpleMath">G</span> in question, at the second position the name of the (usually simple) group for which a subdirectory exists that contains the data about <span class="SimpleMath">G</span>, and at the third position the <strong class="pkg">ATLAS</strong>-file name used for <span class="SimpleMath">G</span>, see Section <a href="chap7.html#X7C2562A978319179"><span class="RefLink">7.6</span></a>,</p>
</dd>
<dt><strong class="Mark"><code class="code">private</code></strong></dt>
<dd><p>a list of pairs of strings used for administrating private data (see Chapter <a href="chap5.html#X7B33345C7B304697"><span class="RefLink">5</span></a>); the value is changed by <code class="func">AtlasOfGroupRepresentationsNotifyPrivateDirectory</code> (<a href="chap5.html#X825AF58885A48520"><span class="RefLink">5.1-1</span></a>) and <code class="func">AtlasOfGroupRepresentationsForgetPrivateDirectory</code> (<a href="chap5.html#X8748A8BB7C7089EE"><span class="RefLink">5.1-2</span></a>),</p>
</dd>
<dt><strong class="Mark"><code class="code">characterinfo</code>, <code class="code">permrepinfo</code>, <code class="code">ringinfo</code></strong></dt>
<dd><p>additional information about representations, concerning the characters afforded, the point stabilizers of permutation representations, and the ring of definition of matrix representations; this information is used by <code class="func">DisplayAtlasInfo</code> (<a href="chap3.html#X79DACFFA7E2D1A99"><span class="RefLink">3.5-1</span></a>),</p>
</dd>
<dt><strong class="Mark"><code class="code">TableOfContents</code></strong></dt>
<dd><p>a record with at most the components <code class="code">local</code>, <code class="code">remote</code>, <code class="code">types</code>, and the names of private data directories. The values of the components <code class="code">local</code> and <code class="code">remote</code> can be computed automatically by <code class="func">ReloadAtlasTableOfContents</code> (<a href="chap4.html#X7AC3EA317EDBDA0E"><span class="RefLink">4.2-1</span></a>), the value of the component <code class="code">types</code> is set in <code class="func">AGR.DeclareDataType</code> (<a href="chap7.html#X836AA4EA8346BE5B"><span class="RefLink">7.5-1</span></a>), and the values of the components for local data directories are created by <code class="func">AtlasOfGroupRepresentationsNotifyPrivateDirectory</code> (<a href="chap5.html#X825AF58885A48520"><span class="RefLink">5.1-1</span></a>).</p>
</dd>
</dl>
<p><a id="X81C5B5E78215169D" name="X81C5B5E78215169D"></a></p>
<h4>7.2 <span class="Heading">How to Customize the Access to Data files</span></h4>
<p>We discuss the three steps listed in Section <a href="chap4.html#X7FA485E479F6C3A0"><span class="RefLink">4.3-6</span></a>.</p>
<p>For creating an overview of the locally available data, the first of these steps must be available independent of actually accessing the file in question. For updating the local copy of the server data, the second of the above steps must be available independent of the third one. Therefore, the package provides the possibility to extend the default behaviour by adding new records to the <code class="code">accessFunctions</code> component of <code class="func">AtlasOfGroupRepresentationsInfo</code> (<a href="chap7.html#X7BEC94A6781E126E"><span class="RefLink">7.1-6</span></a>). Its components are as follows.</p>
<dl>
<dt><strong class="Mark">
<code class="code">location( <var class="Arg">filename</var>, <var class="Arg">groupname</var>, <var class="Arg">dirname</var>,
<var class="Arg">type</var> )</code>
</strong></dt>
<dd><p>Let <var class="Arg">filename</var> be the default filename (without path) of the required file, or a list of such filenames. Let <var class="Arg">groupname</var> be the <strong class="pkg">ATLAS</strong> name of the group to which the data in these files belong, <var class="Arg">dirname</var> be the default directory name (one of <code class="code">"datagens"</code>, <code class="code">"dataword"</code>, or the <var class="Arg">dirid</var> value of a private directory, see <code class="func">AtlasOfGroupRepresentationsNotifyPrivateDirectory</code> (<a href="chap5.html#X825AF58885A48520"><span class="RefLink">5.1-1</span></a>)), and <var class="Arg">type</var> be the data type (see <code class="func">AGR.DeclareDataType</code> (<a href="chap7.html#X836AA4EA8346BE5B"><span class="RefLink">7.5-1</span></a>)). This function must return either the absolute path(s) where the mechanism implemented by the current record expects the local version of the given file(s), or <code class="keyw">fail</code> if this function does not feel responsible for these file(s). In the latter case, the <code class="code">location</code> function in another record will know a path.</p>
<p>The file(s) is/are regarded as not locally available if all installed <code class="code">location</code> functions return either <code class="keyw">fail</code> or paths of nonexisting files, in the sense of <code class="func">IsExistingFile</code> (<a href="../../../doc/ref/chap9.html#X8269697A7B927AF1"><span class="RefLink">Reference: IsExistingFile</span></a>).</p>
</dd>
<dt><strong class="Mark">
<code class="code">fetch( <var class="Arg">filepath</var>, <var class="Arg">filename</var>, <var class="Arg">groupname</var>,
<var class="Arg">dirname</var>, <var class="Arg">type</var> )</code>
</strong></dt>
<dd><p>This function is called when a file is not locally available and if the <code class="code">location</code> function in the current record has returned a path or a list of paths. The arguments <var class="Arg">dirname</var> and <var class="Arg">type</var> must be the same as for the <code class="code">location</code> function, and <var class="Arg">filepath</var> and <var class="Arg">filename</var> must be strings (<em>not</em> lists of strings).</p>
<p>The return value must be <code class="keyw">true</code> if the function succeeded with making the file locally available (including postprocessing if applicable), and <code class="keyw">false</code> otherwise.</p>
</dd>
<dt><strong class="Mark"><code class="code">contents( <var class="Arg">filepath</var>, <var class="Arg">type</var> )</code></strong></dt>
<dd><p>This function is called when the <code class="code">location</code> function in the current record has returned the path(s) <var class="Arg">filepath</var>, and if either these are paths of existing files or the <code class="code">fetch</code> function in the current record has been called for these paths, and the return value was <code class="keyw">true</code>. The argument <var class="Arg">type</var> must be the same as for the <code class="code">location</code> and the <code class="code">fetch</code> functions.</p>
<p>The return value must be the contents of the file(s), in the sense that the <strong class="pkg">GAP</strong> matrix, matrix list, permutation, permutation list, or program described by the file(s) is returned. This means that besides reading the file(s) via the appropriate function, interpreting the contents may be necessary.</p>
</dd>
<dt><strong class="Mark"><code class="code">description</code></strong></dt>
<dd><p>This must be a short string that describes for which kinds of files the functions in the current record are intended, which file formats are supported etc. The value is used by <code class="func">AtlasOfGroupRepresentationsUserParameters</code> (<a href="chap4.html#X828B39E6853F357A"><span class="RefLink">4.3-8</span></a>).</p>
</dd>
<dt><strong class="Mark"><code class="code">active</code></strong></dt>
<dd><p>The current <code class="code">accessFunctions</code> record is ignored by <code class="func">AGR.FileContents</code> (<a href="chap7.html#X78AB92DB7C2CAB6E"><span class="RefLink">7.6-2</span></a>) if the value is not <code class="keyw">true</code>.</p>
</dd>
</dl>
<p>In <code class="func">AGR.FileContents</code> (<a href="chap7.html#X78AB92DB7C2CAB6E"><span class="RefLink">7.6-2</span></a>), the records in the <code class="code">accessFunctions</code> component of <code class="func">AtlasOfGroupRepresentationsInfo</code> (<a href="chap7.html#X7BEC94A6781E126E"><span class="RefLink">7.1-6</span></a>) are considered in reversed order.</p>
<p>By default, the <code class="code">accessFunctions</code> list contains three records. Only for one of them, the <code class="code">active</code> component has the value <code class="keyw">true</code>. One of the other two records can be used to change the access to permutation representations and to matrix representations over finite fields such that <strong class="pkg">MeatAxe</strong> binary files are transferred and read instead of <strong class="pkg">MeatAxe</strong> text files. The fourth record makes sense only if a local server is accessible, i. e., if the server files can be read directly, without being transferred into the data directories of the package.</p>
<p><a id="X7D76D4437A9646E7" name="X7D76D4437A9646E7"></a></p>
<h4>7.3 <span class="Heading">Reading and Writing MeatAxe Format Files</span></h4>
<p><a id="X83D5103780E1238F" name="X83D5103780E1238F"></a></p>
<h5>7.3-1 ScanMeatAxeFile</h5>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ ScanMeatAxeFile</code>( <var class="Arg">filename</var>[, <var class="Arg">q</var>][, <var class="Arg">"string"</var>] )</td><td class="tdright">( function )</td></tr></table></div>
<p>Returns: the matrix or list of permutations stored in the file or encoded by the string.</p>
<p>Let <var class="Arg">filename</var> be the name of a <strong class="pkg">GAP</strong> readable file (see <a href="../../../doc/ref/chap9.html#X7E352E1F87060602"><span class="RefLink">Reference: Filename</span></a>) that contains a matrix or a permutation or a list of permutations in <strong class="pkg">MeatAxe</strong> text format (see the section about the program <code class="file">zcv</code> in the <code class="code">C</code>-<strong class="pkg">MeatAxe</strong> documentation <a href="chapBib.html#biBCMeatAxe">[Rin]</a>), and let <var class="Arg">q</var> be a prime power. <code class="func">ScanMeatAxeFile</code> returns the corresponding <strong class="pkg">GAP</strong> matrix or list of permutations, respectively.</p>
<p>If the file contains a matrix then the way how it is read by <code class="func">ScanMeatAxeFile</code> depends on the value of the global variable <code class="func">CMeatAxe.FastRead</code> (<a href="chap7.html#X85B6010C85A06CB6"><span class="RefLink">7.1-4</span></a>).</p>
<p>If the parameter <var class="Arg">q</var> is given then the result matrix is represented over the field with <var class="Arg">q</var> elements, the default for <var class="Arg">q</var> is the field size stored in the file.</p>
<p>If the file contains a list of permutations then it is read with <code class="func">StringFile</code> (<a href="../../../pkg/GAPDoc/doc/chap6.html#X7E14D32181FBC3C3"><span class="RefLink">GAPDoc: StringFile</span></a>); the parameter <var class="Arg">q</var>, if given, is ignored in this case.</p>
<p>If the string <code class="code">"string"</code> is entered as the third argument then the first argument must be a string as obtained by reading a file in <strong class="pkg">MeatAxe</strong> text format as a text stream (see <code class="func">InputTextFile</code> (<a href="../../../doc/ref/chap10.html#X8343D04981128784"><span class="RefLink">Reference: InputTextFile</span></a>)). Also in this case, <code class="func">ScanMeatAxeFile</code> returns the corresponding <strong class="pkg">GAP</strong> matrix or list of permutations, respectively.</p>
<p><a id="X7DDD09BE87063052" name="X7DDD09BE87063052"></a></p>
<h5>7.3-2 MeatAxeString</h5>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ MeatAxeString</code>( <var class="Arg">mat</var>, <var class="Arg">q</var> )</td><td class="tdright">( operation )</td></tr></table></div>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ MeatAxeString</code>( <var class="Arg">perms</var>, <var class="Arg">degree</var> )</td><td class="tdright">( operation )</td></tr></table></div>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ MeatAxeString</code>( <var class="Arg">perm</var>, <var class="Arg">q</var>, <var class="Arg">dims</var> )</td><td class="tdright">( operation )</td></tr></table></div>
<p>Returns: a string encoding the <strong class="pkg">GAP</strong> objects given as input in <strong class="pkg">MeatAxe</strong> format.</p>
<p>In the first form, for a matrix <var class="Arg">mat</var> whose entries lie in the finite field with <var class="Arg">q</var> elements, <code class="func">MeatAxeString</code> returns a string that encodes <var class="Arg">mat</var> as a matrix over <code class="code">GF(<var class="Arg">q</var>)</code>, in <strong class="pkg">MeatAxe</strong> text format.</p>
<p>In the second form, for a nonempty list <var class="Arg">perms</var> of permutations that move only points up to the positive integer <var class="Arg">degree</var>, <code class="func">MeatAxeString</code> returns a string that encodes <var class="Arg">perms</var> as permutations of degree <var class="Arg">degree</var>, in <code class="code">C</code>-<strong class="pkg">MeatAxe</strong> text format (see <a href="chapBib.html#biBCMeatAxe">[Rin]</a>).</p>
<p>In the third form, for a permutation <var class="Arg">perm</var> with largest moved point <span class="SimpleMath">n</span>, say, a prime power <var class="Arg">q</var>, and a list <var class="Arg">dims</var> of length two containing two positive integers larger than or equal to <span class="SimpleMath">n</span>, <code class="func">MeatAxeString</code> returns a string that encodes <var class="Arg">perm</var> as a matrix over <code class="code">GF(<var class="Arg">q</var>)</code>, of dimensions <var class="Arg">dims</var>, whose first <span class="SimpleMath">n</span> rows and columns describe the permutation matrix corresponding to <var class="Arg">perm</var>, and the remaining rows and columns are zero.</p>
<p>When strings are printed to files using <code class="func">PrintTo</code> (<a href="../../../doc/ref/chap9.html#X86956C577FFEE1F9"><span class="RefLink">Reference: PrintTo</span></a>) or <code class="func">AppendTo</code> (<a href="../../../doc/ref/chap9.html#X86956C577FFEE1F9"><span class="RefLink">Reference: AppendTo</span></a>) then line breaks are inserted whenever lines exceed the number of characters given by the second entry of the list returned by <code class="func">SizeScreen</code> (<a href="../../../doc/ref/chap6.html#X8723E0A1837894F3"><span class="RefLink">Reference: SizeScreen</span></a>), see <a href="../../../doc/ref/chap10.html#X7F454EB286947C85"><span class="RefLink">Reference: Operations for Output Streams</span></a>. This behaviour is not desirable for creating data files. So the recommended functions for printing the result of <code class="func">MeatAxeString</code> to a file are <code class="func">FileString</code> (<a href="../../../pkg/GAPDoc/doc/chap6.html#X7E14D32181FBC3C3"><span class="RefLink">GAPDoc: FileString</span></a>) and <code class="func">WriteAll</code> (<a href="../../../doc/ref/chap10.html#X78C113917936058D"><span class="RefLink">Reference: WriteAll</span></a>).</p>
<div class="example"><pre>
<span class="GAPprompt">gap></span> <span class="GAPinput">mat:= [ [ 1, -1 ], [ 0, 1 ] ] * Z(3)^0;;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">str:= MeatAxeString( mat, 3 );</span>
"1 3 2 2\n12\n01\n"
<span class="GAPprompt">gap></span> <span class="GAPinput">mat = ScanMeatAxeFile( str, "string" );</span>
true
<span class="GAPprompt">gap></span> <span class="GAPinput">str:= MeatAxeString( mat, 9 );</span>
"1 9 2 2\n12\n01\n"
<span class="GAPprompt">gap></span> <span class="GAPinput">mat = ScanMeatAxeFile( str, "string" );</span>
true
<span class="GAPprompt">gap></span> <span class="GAPinput">perms:= [ (1,2,3)(5,6) ];;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">str:= MeatAxeString( perms, 6 );</span>
"12 1 6 1\n2\n3\n1\n4\n6\n5\n"
<span class="GAPprompt">gap></span> <span class="GAPinput">perms = ScanMeatAxeFile( str, "string" );</span>
true
<span class="GAPprompt">gap></span> <span class="GAPinput">str:= MeatAxeString( perms, 8 );</span>
"12 1 8 1\n2\n3\n1\n4\n6\n5\n7\n8\n"
<span class="GAPprompt">gap></span> <span class="GAPinput">perms = ScanMeatAxeFile( str, "string" );</span>
true
</pre></div>
<p>Note that the output of <code class="func">MeatAxeString</code> in the case of permutation matrices depends on the user preference <code class="code">WriteMeatAxeFilesOfMode2</code>.</p>
<div class="example"><pre>
<span class="GAPprompt">gap></span> <span class="GAPinput">perm:= (1,2,4);;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">str:= MeatAxeString( perm, 3, [ 5, 6 ] );</span>
"2 3 5 6\n2\n4\n3\n1\n5\n"
<span class="GAPprompt">gap></span> <span class="GAPinput">mat:= ScanMeatAxeFile( str, "string" );; Print( mat, "\n" );</span>
[ [ 0*Z(3), Z(3)^0, 0*Z(3), 0*Z(3), 0*Z(3), 0*Z(3) ],
[ 0*Z(3), 0*Z(3), 0*Z(3), Z(3)^0, 0*Z(3), 0*Z(3) ],
[ 0*Z(3), 0*Z(3), Z(3)^0, 0*Z(3), 0*Z(3), 0*Z(3) ],
[ Z(3)^0, 0*Z(3), 0*Z(3), 0*Z(3), 0*Z(3), 0*Z(3) ],
[ 0*Z(3), 0*Z(3), 0*Z(3), 0*Z(3), Z(3)^0, 0*Z(3) ] ]
<span class="GAPprompt">gap></span> <span class="GAPinput">pref:= UserPreference( "AtlasRep", "WriteMeatAxeFilesOfMode2" );;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">SetUserPreference( "AtlasRep", "WriteMeatAxeFilesOfMode2", true );</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">MeatAxeString( mat, 3 ) = str;</span>
true
<span class="GAPprompt">gap></span> <span class="GAPinput">SetUserPreference( "AtlasRep", "WriteMeatAxeFilesOfMode2", false );</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">MeatAxeString( mat, 3 );</span>
"1 3 5 6\n010000\n000100\n001000\n100000\n000010\n"
<span class="GAPprompt">gap></span> <span class="GAPinput">SetUserPreference( "AtlasRep", "WriteMeatAxeFilesOfMode2", pref );</span>
</pre></div>
<p><a id="X79D9AE4878E9DFA6" name="X79D9AE4878E9DFA6"></a></p>
<h5>7.3-3 FFList</h5>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ FFList</code>( <var class="Arg">F</var> )</td><td class="tdright">( function )</td></tr></table></div>
<p>Returns: a list of elements in the given finite field.</p>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ FFLists</code></td><td class="tdright">( global variable )</td></tr></table></div>
<p><code class="func">FFList</code> is a utility program for the conversion of vectors and matrices from <strong class="pkg">MeatAxe</strong> format to <strong class="pkg">GAP</strong> format and vice versa. It is used by <code class="func">ScanMeatAxeFile</code> (<a href="chap7.html#X83D5103780E1238F"><span class="RefLink">7.3-1</span></a>) and <code class="func">MeatAxeString</code> (<a href="chap7.html#X7DDD09BE87063052"><span class="RefLink">7.3-2</span></a>).</p>
<p>For a finite field <var class="Arg">F</var>, <code class="func">FFList</code> returns a list <span class="SimpleMath">l</span> giving the correspondence between the <strong class="pkg">MeatAxe</strong> numbering and the <strong class="pkg">GAP</strong> numbering of the elements in <var class="Arg">F</var>.</p>
<p>The element of <var class="Arg">F</var> corresponding to <strong class="pkg">MeatAxe</strong> number <span class="SimpleMath">n</span> is <span class="SimpleMath">l[ n+1 ]</span>, and the <strong class="pkg">MeatAxe</strong> number of the field element <span class="SimpleMath">z</span> is <code class="code">Position( </code><span class="SimpleMath">l, z</span><code class="code"> ) - 1</code>.</p>
<p>The global variable <code class="func">FFLists</code> is used to store the information about <var class="Arg">F</var> once it has been computed.</p>
<div class="example"><pre>
<span class="GAPprompt">gap></span> <span class="GAPinput">FFList( GF(4) );</span>
[ 0*Z(2), Z(2)^0, Z(2^2), Z(2^2)^2 ]
<span class="GAPprompt">gap></span> <span class="GAPinput">IsBound( FFLists[4] );</span>
true
</pre></div>
<p><a id="X8477AA668733255C" name="X8477AA668733255C"></a></p>
<h5>7.3-4 CMtxBinaryFFMatOrPerm</h5>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ CMtxBinaryFFMatOrPerm</code>( <var class="Arg">elm</var>, <var class="Arg">def</var>, <var class="Arg">outfile</var>[, <var class="Arg">base</var>] )</td><td class="tdright">( function )</td></tr></table></div>
<p>Let the pair <span class="SimpleMath">(<var class="Arg">elm</var>, <var class="Arg">def</var>)</span> be either of the form <span class="SimpleMath">(M, q)</span> where <span class="SimpleMath">M</span> is a matrix over a finite field <span class="SimpleMath">F</span>, say, with <span class="SimpleMath">q ≤ 256</span> elements, or of the form <span class="SimpleMath">(π, n)</span> where <span class="SimpleMath">π</span> is a permutation with largest moved point at most <span class="SimpleMath">n</span>. Let <var class="Arg">outfile</var> be a string. <code class="func">CMtxBinaryFFMatOrPerm</code> writes the <code class="code">C</code>-<strong class="pkg">MeatAxe</strong> binary format of <span class="SimpleMath">M</span>, viewed as a matrix over <span class="SimpleMath">F</span>, or of <span class="SimpleMath">π</span>, viewed as a permutation on the points up to <span class="SimpleMath">n</span>, to the file with name <var class="Arg">outfile</var>.</p>
<p>In the case of a permutation <span class="SimpleMath">π</span>, the optional argument <var class="Arg">base</var> prescribes whether the binary file contains the points from <span class="SimpleMath">0</span> to <var class="Arg">deg</var><span class="SimpleMath">- 1</span> (<var class="Arg">base</var><span class="SimpleMath">= 0</span>, supported by version 2.4 of the <code class="code">C</code>-<strong class="pkg">MeatAxe</strong>) or the points from <span class="SimpleMath">1</span> to <var class="Arg">deg</var> (<var class="Arg">base</var><span class="SimpleMath">= 1</span>, supported by older versions of the <code class="code">C</code>-<strong class="pkg">MeatAxe</strong>). The default for <var class="Arg">base</var> is given by the value of the user preference <code class="code">BaseOfMeatAxePermutation</code>, see Section <a href="chap4.html#X7FFD07D784899045"><span class="RefLink">4.3-11</span></a>.</p>
<p>(The binary format is described in the <code class="code">C</code>-<strong class="pkg">MeatAxe</strong> manual <a href="chapBib.html#biBCMeatAxe">[Rin]</a>.)</p>
<div class="example"><pre>
<span class="GAPprompt">gap></span> <span class="GAPinput">tmpdir:= DirectoryTemporary();;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">mat:= Filename( tmpdir, "mat" );;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">q:= 4;;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">mats:= GeneratorsOfGroup( GL(10,q) );;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">CMtxBinaryFFMatOrPerm( mats[1], q, Concatenation( mat, "1" ) );</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">CMtxBinaryFFMatOrPerm( mats[2], q, Concatenation( mat, "2" ) );</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">prm:= Filename( tmpdir, "prm" );;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">n:= 200;;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">perms:= GeneratorsOfGroup( SymmetricGroup( n ) );;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">CMtxBinaryFFMatOrPerm( perms[1], n, Concatenation( prm, "1" ) );</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">CMtxBinaryFFMatOrPerm( perms[2], n, Concatenation( prm, "2" ) );</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">CMtxBinaryFFMatOrPerm( perms[1], n, Concatenation( prm, "1a" ), 0 );</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">CMtxBinaryFFMatOrPerm( perms[2], n, Concatenation( prm, "2b" ), 1 );</span>
</pre></div>
<p><a id="X872FA00C7F791FBB" name="X872FA00C7F791FBB"></a></p>
<h5>7.3-5 FFMatOrPermCMtxBinary</h5>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ FFMatOrPermCMtxBinary</code>( <var class="Arg">fname</var> )</td><td class="tdright">( function )</td></tr></table></div>
<p>Returns: the matrix or permutation stored in the file.</p>
<p>Let <var class="Arg">fname</var> be the name of a file that contains the <code class="code">C</code>-<strong class="pkg">MeatAxe</strong> binary format of a matrix over a finite field or of a permutation, as is described in <a href="chapBib.html#biBCMeatAxe">[Rin]</a>. <code class="func">FFMatOrPermCMtxBinary</code> returns the corresponding <strong class="pkg">GAP</strong> matrix or permutation.</p>
<div class="example"><pre>
<span class="GAPprompt">gap></span> <span class="GAPinput">FFMatOrPermCMtxBinary( Concatenation( mat, "1" ) ) = mats[1];</span>
true
<span class="GAPprompt">gap></span> <span class="GAPinput">FFMatOrPermCMtxBinary( Concatenation( mat, "2" ) ) = mats[2];</span>
true
<span class="GAPprompt">gap></span> <span class="GAPinput">FFMatOrPermCMtxBinary( Concatenation( prm, "1" ) ) = perms[1];</span>
true
<span class="GAPprompt">gap></span> <span class="GAPinput">FFMatOrPermCMtxBinary( Concatenation( prm, "2" ) ) = perms[2];</span>
true
<span class="GAPprompt">gap></span> <span class="GAPinput">FFMatOrPermCMtxBinary( Concatenation( prm, "1a" ) ) = perms[1];</span>
true
<span class="GAPprompt">gap></span> <span class="GAPinput">FFMatOrPermCMtxBinary( Concatenation( prm, "2b" ) ) = perms[2];</span>
true
</pre></div>
<p><a id="X8211B26D841B874C" name="X8211B26D841B874C"></a></p>
<h4>7.4 <span class="Heading">Reading and Writing <strong class="pkg">ATLAS</strong> Straight Line Programs</span></h4>
<p><a id="X7D6617E47B013A37" name="X7D6617E47B013A37"></a></p>
<h5>7.4-1 ScanStraightLineProgram</h5>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ ScanStraightLineProgram</code>( <var class="Arg">filename</var>[, <var class="Arg">"string"</var>] )</td><td class="tdright">( function )</td></tr></table></div>
<p>Returns: a record containing the straight line program.</p>
<p>Let <var class="Arg">filename</var> be the name of a file that contains a straight line program in the sense that it consists only of lines in the following form.</p>
<dl>
<dt><strong class="Mark"><code class="code">#</code><span class="SimpleMath">anything</span></strong></dt>
<dd><p>lines starting with a hash sign <code class="code">#</code> are ignored,</p>
</dd>
<dt><strong class="Mark"><code class="code">echo </code><span class="SimpleMath">anything</span></strong></dt>
<dd><p>lines starting with <code class="code">echo</code> are ignored for the <code class="code">program</code> component of the result record (see below), they are used to set up the bijection between the labels used in the program and conjugacy class names in the case that the program computes dedicated class representatives,</p>
</dd>
<dt><strong class="Mark"><code class="code">inp </code><span class="SimpleMath">n</span></strong></dt>
<dd><p>means that there are <span class="SimpleMath">n</span> inputs, referred to via the labels <code class="code">1</code>, <code class="code">2</code>, <span class="SimpleMath">...</span>, <span class="SimpleMath">n</span>,</p>
</dd>
<dt><strong class="Mark"><code class="code">inp </code><span class="SimpleMath">k</span> <span class="SimpleMath">a1</span> <span class="SimpleMath">a2</span> ... <span class="SimpleMath">ak</span></strong></dt>
<dd><p>means that the next <span class="SimpleMath">k</span> inputs are referred to via the labels <span class="SimpleMath">a1</span>, <span class="SimpleMath">a2</span>, ..., <span class="SimpleMath">ak</span>,</p>
</dd>
<dt><strong class="Mark"><code class="code">cjr </code><span class="SimpleMath">a</span> <span class="SimpleMath">b</span></strong></dt>
<dd><p>means that <span class="SimpleMath">a</span> is replaced by <span class="SimpleMath">b</span><code class="code">^(-1) * </code><span class="SimpleMath">a</span><code class="code"> * </code><span class="SimpleMath">b</span>,</p>
</dd>
<dt><strong class="Mark"><code class="code">cj </code><span class="SimpleMath">a</span> <span class="SimpleMath">b</span> <span class="SimpleMath">c</span></strong></dt>
<dd><p>means that <span class="SimpleMath">c</span> is defined as <span class="SimpleMath">b</span><code class="code">^(-1) * </code><span class="SimpleMath">a</span><code class="code"> * </code><span class="SimpleMath">b</span>,</p>
</dd>
<dt><strong class="Mark"><code class="code">com </code><span class="SimpleMath">a</span> <span class="SimpleMath">b</span> <span class="SimpleMath">c</span></strong></dt>
<dd><p>means that <span class="SimpleMath">c</span> is defined as <span class="SimpleMath">a</span><code class="code">^(-1) * </code><span class="SimpleMath">b</span>^(-1)<code class="code"> * </code><span class="SimpleMath">a</span><code class="code"> * </code><span class="SimpleMath">b</span>,</p>
</dd>
<dt><strong class="Mark"><code class="code">iv </code><span class="SimpleMath">a</span> <span class="SimpleMath">b</span></strong></dt>
<dd><p>means that <span class="SimpleMath">b</span> is defined as <span class="SimpleMath">a</span><code class="code">^(-1)</code>,</p>
</dd>
<dt><strong class="Mark"><code class="code">mu </code><span class="SimpleMath">a</span> <span class="SimpleMath">b</span> <span class="SimpleMath">c</span></strong></dt>
<dd><p>means that <span class="SimpleMath">c</span> is defined as <span class="SimpleMath">a</span><code class="code"> * </code><span class="SimpleMath">b</span>,</p>
</dd>
<dt><strong class="Mark"><code class="code">pwr </code><span class="SimpleMath">a</span> <span class="SimpleMath">b</span> <span class="SimpleMath">c</span></strong></dt>
<dd><p>means that <span class="SimpleMath">c</span> is defined as <span class="SimpleMath">b</span><code class="code">^</code><span class="SimpleMath">a</span>,</p>
</dd>
<dt><strong class="Mark"><code class="code">cp </code><span class="SimpleMath">a</span> <span class="SimpleMath">b</span></strong></dt>
<dd><p>means that <span class="SimpleMath">b</span> is defined as a copy of <span class="SimpleMath">a</span>,</p>
</dd>
<dt><strong class="Mark"><code class="code">oup </code><span class="SimpleMath">l</span></strong></dt>
<dd><p>means that there are <span class="SimpleMath">l</span> outputs, stored in the labels <code class="code">1</code>, <code class="code">2</code>, <span class="SimpleMath">...</span>, <span class="SimpleMath">l</span>, and</p>
</dd>
<dt><strong class="Mark"><code class="code">oup </code><span class="SimpleMath">l</span> <span class="SimpleMath">b1</span> <span class="SimpleMath">b2</span> ... <span class="SimpleMath">bl</span></strong></dt>
<dd><p>means that the next <span class="SimpleMath">l</span> outputs are stored in the labels <span class="SimpleMath">b1</span>, <span class="SimpleMath">b2</span>, ... <span class="SimpleMath">bl</span>.</p>
</dd>
</dl>
<p>Each of the labels <span class="SimpleMath">a</span>, <span class="SimpleMath">b</span>, <span class="SimpleMath">c</span> can be any nonempty sequence of digits and alphabet characters, except that the first argument of <code class="code">pwr</code> must denote an integer.</p>
<p>If the <code class="code">inp</code> or <code class="code">oup</code> statements are missing then the input or output, respectively, is assumed to be given by the labels <code class="code">1</code> and <code class="code">2</code>. There can be multiple <code class="code">inp</code> lines at the beginning of the program and multiple <code class="code">oup</code> lines at the end of the program. Only the first <code class="code">inp</code> or <code class="code">oup</code> line may omit the names of the elements. For example, an empty file <var class="Arg">filename</var> or an empty string <var class="Arg">string</var> represent a straight line program with two inputs that are returned as outputs.</p>
<p>No command except <code class="code">cjr</code> may overwrite its own input. For example, the line <code class="code">mu a b a</code> is not legal. (This is not checked.)</p>
<p><code class="func">ScanStraightLineProgram</code> returns a record containing as the value of its component <code class="code">program</code> the corresponding <strong class="pkg">GAP</strong> straight line program (see <code class="func">IsStraightLineProgram</code> (<a href="../../../doc/ref/chap37.html#X7F69FF3F7C6694CB"><span class="RefLink">Reference: IsStraightLineProgram</span></a>)) if the input string satisfies the syntax rules stated above, and returns <code class="keyw">fail</code> otherwise. In the latter case, information about the first corrupted line of the program is printed if the info level of <code class="func">InfoCMeatAxe</code> (<a href="chap7.html#X78601C3A87921E08"><span class="RefLink">7.1-2</span></a>) is at least <span class="SimpleMath">1</span>.</p>
<p>If the string <code class="code">"string"</code> is entered as the second argument then the first argument must be a string as obtained by reading a file in <strong class="pkg">MeatAxe</strong> text format as a text stream (see <code class="func">InputTextFile</code> (<a href="../../../doc/ref/chap10.html#X8343D04981128784"><span class="RefLink">Reference: InputTextFile</span></a>)). Also in this case, <code class="func">ScanStraightLineProgram</code> returns either a record with the corresponding <strong class="pkg">GAP</strong> straight line program or <code class="keyw">fail</code>.</p>
<p>If the input describes a straight line program that computes certain class representatives of the group in question then the result record also contains the component <code class="code">outputs</code>. Its value is a list of strings, the entry at position <span class="SimpleMath">i</span> denoting the name of the class in which the <span class="SimpleMath">i</span> output of the straight line program lies; see Section <a href="chap3.html#X7E3DFE9E803D1E6E"><span class="RefLink">3.4</span></a> for the definition of the class names that occur.</p>
<p>Such straight line programs must end with a sequence of output specifications of the following form.</p>
<div class="example"><pre>
echo "Classes 1A 2A 3A 5A 5B"
oup 5 3 1 2 4 5
</pre></div>
<p>This example means that the list of outputs of the program contains elements of the classes <code class="code">1A</code>, <code class="code">2A</code>, <code class="code">3A</code>, <code class="code">5A</code>, and <code class="code">5B</code> (in this order), and that inside the program, these elements are referred to by the five names <code class="code">3</code>, <code class="code">1</code>, <code class="code">2</code>, <code class="code">4</code>, and <code class="code">5</code>.</p>
<p><a id="X82842D807A7B7DF7" name="X82842D807A7B7DF7"></a></p>
<h5>7.4-2 AtlasStringOfProgram</h5>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ AtlasStringOfProgram</code>( <var class="Arg">prog</var>[, <var class="Arg">outputnames</var>] )</td><td class="tdright">( function )</td></tr></table></div>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ AtlasStringOfProgram</code>( <var class="Arg">prog</var>[, <var class="Arg">"mtx"</var>] )</td><td class="tdright">( function )</td></tr></table></div>
<p>Returns: a string encoding the straight line program/decision in the format used in <strong class="pkg">ATLAS</strong> files.</p>
<p>For a straight line program or straight line decision <var class="Arg">prog</var> (see <code class="func">IsStraightLineProgram</code> (<a href="../../../doc/ref/chap37.html#X7F69FF3F7C6694CB"><span class="RefLink">Reference: IsStraightLineProgram</span></a>) and <code class="func">IsStraightLineDecision</code> (<a href="chap6.html#X8787E2EC7DB85A89"><span class="RefLink">6.1-1</span></a>)), this function returns a string describing the input format of an equivalent straight line program or straight line decision as used in the <strong class="pkg">ATLAS</strong> of Group Representations, that is, the lines are of the form described in <code class="func">ScanStraightLineProgram</code> (<a href="chap7.html#X7D6617E47B013A37"><span class="RefLink">7.4-1</span></a>).</p>
<p>A list of strings that is given as the optional second argument <var class="Arg">outputnames</var> is interpreted as the class names corresponding to the outputs; this argument has the effect that appropriate <code class="code">echo</code> statements appear in the result string.</p>
<p>If the string <code class="code">"mtx"</code> is given as the second argument then the result has the format used in the <code class="code">C</code>-<strong class="pkg">MeatAxe</strong> (see <a href="chapBib.html#biBCMeatAxe">[Rin]</a>) rather than the format described in Section <a href="chap7.html#X8211B26D841B874C"><span class="RefLink">7.4</span></a>. (Note that the <code class="code">C</code>-<strong class="pkg">MeatAxe</strong> format does not make sense if the argument <var class="Arg">outputnames</var> is given, and that this format does not support <code class="code">inp</code> and <code class="code">oup</code> statements.)</p>
<p>The argument <var class="Arg">prog</var> must not be a black box program (see <code class="func">IsBBoxProgram</code> (<a href="chap6.html#X87CAF2DE870D0E3B"><span class="RefLink">6.2-1</span></a>)).</p>
<div class="example"><pre>
<span class="GAPprompt">gap></span> <span class="GAPinput">str:= "inp 2\nmu 1 2 3\nmu 3 1 2\niv 2 1\noup 2 1 2";;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">prg:= ScanStraightLineProgram( str, "string" );</span>
rec( program := <straight line program> )
<span class="GAPprompt">gap></span> <span class="GAPinput">prg:= prg.program;;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">Display( prg );</span>
# input:
r:= [ g1, g2 ];
# program:
r[3]:= r[1]*r[2];
r[2]:= r[3]*r[1];
r[1]:= r[2]^-1;
# return values:
[ r[1], r[2] ]
<span class="GAPprompt">gap></span> <span class="GAPinput">StringOfResultOfStraightLineProgram( prg, [ "a", "b" ] );</span>
"[ (aba)^-1, aba ]"
<span class="GAPprompt">gap></span> <span class="GAPinput">AtlasStringOfProgram( prg );</span>
"inp 2\nmu 1 2 3\nmu 3 1 2\niv 2 1\noup 2\n"
<span class="GAPprompt">gap></span> <span class="GAPinput">prg:= StraightLineProgram( "(a^2b^3)^-1", [ "a", "b" ] );</span>
<straight line program>
<span class="GAPprompt">gap></span> <span class="GAPinput">Print( AtlasStringOfProgram( prg ) );</span>
inp 2
pwr 2 1 4
pwr 3 2 5
mu 4 5 3
iv 3 4
oup 1 4
<span class="GAPprompt">gap></span> <span class="GAPinput">prg:= StraightLineProgram( [ [2,3], [ [3,1,1,4], [1,2,3,1] ] ], 2 );</span>
<straight line program>
<span class="GAPprompt">gap></span> <span class="GAPinput">Print( AtlasStringOfProgram( prg ) );</span>
inp 2
pwr 3 2 3
pwr 4 1 5
mu 3 5 4
pwr 2 1 6
mu 6 3 5
oup 2 4 5
<span class="GAPprompt">gap></span> <span class="GAPinput">Print( AtlasStringOfProgram( prg, "mtx" ) );</span>
# inputs are expected in 1 2
zsm pwr3 2 3
zsm pwr4 1 5
zmu 3 5 4
zsm pwr2 1 6
zmu 6 3 5
echo "outputs are in 4 5"
<span class="GAPprompt">gap></span> <span class="GAPinput">str:= "inp 2\nchor 1 2\nchor 2 3\nmu 1 2 3\nchor 3 5";;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">prg:= ScanStraightLineDecision( str );;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">AtlasStringOfProgram( prg.program );</span>
"inp 2\nchor 1 2\nchor 2 3\nmu 1 2 3\nchor 3 5\n"
</pre></div>
<p><a id="X7C164C4D7ECE62D0" name="X7C164C4D7ECE62D0"></a></p>
<h4>7.5 <span class="Heading">Data Types Used in the <strong class="pkg">ATLAS</strong> of Group Representations</span></h4>
<p>Each representation or program that is administrated by the <strong class="pkg">AtlasRep</strong> package belongs to a unique <em>data type</em>. Informally, examples of data types are "permutation representation", "matrix representation over the integers", or "straight line program for computing class representatives".</p>
<p>The idea is that for each data type, there can be</p>
<ul>
<li><p>a column of its own in the output produced by <code class="func">DisplayAtlasInfo</code> (<a href="chap3.html#X79DACFFA7E2D1A99"><span class="RefLink">3.5-1</span></a>) when called without arguments or with only argument a list of group names,</p>
</li>
<li><p>a line format of its own for the output produced by <code class="func">DisplayAtlasInfo</code> (<a href="chap3.html#X79DACFFA7E2D1A99"><span class="RefLink">3.5-1</span></a>) when called with first argument a group name,</p>
</li>
<li><p>an input format of its own for <code class="func">AtlasProgram</code> (<a href="chap3.html#X801F2E657C8A79ED"><span class="RefLink">3.5-3</span></a>),</p>
</li>
<li><p>an input format of its own for <code class="func">OneAtlasGeneratingSetInfo</code> (<a href="chap3.html#X841478AB7CD06D44"><span class="RefLink">3.5-5</span></a>), and</p>
</li>
<li><p>specific tests for the data of this data type; these functions are used by the global tests described in Section <a href="chap7.html#X7D42612882656B32"><span class="RefLink">7.8</span></a>.</p>
</li>
</ul>
<p>Formally, a data type is defined by a record whose components are used by the interface functions. The details are described in the following.</p>
<p><a id="X836AA4EA8346BE5B" name="X836AA4EA8346BE5B"></a></p>
<h5>7.5-1 AGR.DeclareDataType</h5>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ AGR.DeclareDataType</code>( <var class="Arg">kind</var>, <var class="Arg">name</var>, <var class="Arg">record</var> )</td><td class="tdright">( function )</td></tr></table></div>
<p>Let <var class="Arg">kind</var> be one of the strings <code class="code">"rep"</code> or <code class="code">"prg"</code>, and <var class="Arg">record</var> be a record. <code class="func">AGR.DeclareDataType</code> declares a new data type of representations (if <var class="Arg">kind</var> is <code class="code">"rep"</code>) or of programs (if <var class="Arg">kind</var> is <code class="code">"prg"</code>). For each group used in the <strong class="pkg">AtlasRep</strong> package, the record that contains the information about the data will have a component <var class="Arg">name</var> whose value is a list containing the data about the new type. Examples of <var class="Arg">name</var> are <code class="code">"perm"</code>, <code class="code">"matff"</code>, and <code class="code">"classes"</code>.</p>
<p><em>Mandatory components</em> of <var class="Arg">record</var> are</p>
<dl>
<dt><strong class="Mark"><code class="code">FilenameFormat</code></strong></dt>
<dd><p>This defines the format of the filenames containing data of the type in question. The value must be a list that can be used as the second argument of <code class="func">AGR.ParseFilenameFormat</code> (<a href="chap7.html#X8486CCB181FC99A3"><span class="RefLink">7.6-1</span></a>), such that only filenames of the type in question match. (It is not checked whether this "detection function" matches exactly one type, so declaring a new type needs care.)</p>
</dd>
<dt><strong class="Mark"><code class="code">AddFileInfo</code></strong></dt>
<dd><p>This defines the information stored in the table of contents for the data of the type. The value must be a function that takes three arguments (the current list of data for the type and the given group, a list returned by <code class="func">AGR.ParseFilenameFormat</code> (<a href="chap7.html#X8486CCB181FC99A3"><span class="RefLink">7.6-1</span></a>) for the given type, and a filename). This function adds the necessary parts of the data entry to the list, and returns <code class="keyw">true</code> if the data belongs to the type, otherwise <code class="keyw">false</code> is returned; note that the latter case occurs if the filename matches the format description but additional conditions on the parts of the name are not satisfied (for example integer parts may be required to be positive or prime powers).</p>
</dd>
<dt><strong class="Mark"><code class="code">ReadAndInterpretDefault</code></strong></dt>
<dd><p>This is the function that does the work for the default <code class="code">contents</code> value of the <code class="code">accessFunctions</code> component of <code class="func">AtlasOfGroupRepresentationsInfo</code> (<a href="chap7.html#X7BEC94A6781E126E"><span class="RefLink">7.1-6</span></a>), see Section <a href="chap7.html#X81C5B5E78215169D"><span class="RefLink">7.2</span></a>. This function must take a path and return the <strong class="pkg">GAP</strong> object given by this file.</p>
</dd>
<dt><strong class="Mark"><code class="code">AddDescribingComponents</code> (for <code class="code">rep</code> only)</strong></dt>
<dd><p>This function takes two arguments, a record (that will be returned by <code class="func">AtlasGenerators</code> (<a href="chap3.html#X7D1CCCF8852DFF39"><span class="RefLink">3.5-2</span></a>), <code class="func">OneAtlasGeneratingSetInfo</code> (<a href="chap3.html#X841478AB7CD06D44"><span class="RefLink">3.5-5</span></a>), or <code class="func">AllAtlasGeneratingSetInfos</code> (<a href="chap3.html#X84C2D76482E60E42"><span class="RefLink">3.5-6</span></a>)) and the type record <var class="Arg">record</var>. It sets the components <code class="code">p</code>, <code class="code">dim</code>, <code class="code">id</code>, and <code class="code">ring</code> that are promised for return values of the abovementioned three functions.</p>
</dd>
<dt><strong class="Mark"><code class="code">DisplayGroup</code> (for <code class="code">rep</code> only)</strong></dt>
<dd><p>This defines the format of the lines printed by <code class="func">DisplayAtlasInfo</code> (<a href="chap3.html#X79DACFFA7E2D1A99"><span class="RefLink">3.5-1</span></a>) for a given group. The value must be a function that takes a list as returned by the function given in the component <code class="code">AddFileInfo</code>, and returns the string to be printed for the representation in question.</p>
</dd>
</dl>
<p><em>Optional components</em> of <var class="Arg">record</var> are</p>
<dl>
<dt><strong class="Mark"><code class="code">DisplayOverviewInfo</code></strong></dt>
<dd><p>This is used to introduce a new column in the output of <code class="func">DisplayAtlasInfo</code> (<a href="chap3.html#X79DACFFA7E2D1A99"><span class="RefLink">3.5-1</span></a>) when this is called without arguments or with a list of group names as its only argument. The value must be a list of length three, containing at its first position a string used as the header of the column, at its second position one of the strings <code class="code">"r"</code> or <code class="code">"l"</code>, denoting right or left aligned column entries, and at its third position a function that takes two arguments (a list of tables of contents of the <strong class="pkg">AtlasRep</strong> package and a group name), and returns a list of length two, containing the string to be printed as the column value and <code class="keyw">true</code> or <code class="keyw">false</code>, depending on whether private data is involved or not. (The default is <code class="keyw">fail</code>, indicating that no new column shall be printed.)</p>
</dd>
<dt><strong class="Mark"><code class="code">DisplayPRG</code> (for <code class="code">prg</code> only)</strong></dt>
<dd><p>This is used in <code class="func">DisplayAtlasInfo</code> (<a href="chap3.html#X79DACFFA7E2D1A99"><span class="RefLink">3.5-1</span></a>) for <strong class="pkg">ATLAS</strong> programs. The value must be a function that takes four arguments (a list of tables of contents to examine, the name of the given group, a list of integers or <code class="keyw">true</code> for the required standardization, and a list of all available standardizations), and returns the list of lines (strings) to be printed as the information about the available programs of the current type and for the given group. (The default is to return an empty list.)</p>
</dd>
<dt><strong class="Mark"><code class="code">AccessGroupCondition</code> (for <code class="code">rep</code> only)</strong></dt>
<dd><p>This is used in <code class="func">DisplayAtlasInfo</code> (<a href="chap3.html#X79DACFFA7E2D1A99"><span class="RefLink">3.5-1</span></a>) and <code class="func">OneAtlasGeneratingSetInfo</code> (<a href="chap3.html#X841478AB7CD06D44"><span class="RefLink">3.5-5</span></a>). The value must be a function that takes two arguments (a list as returned by <code class="func">OneAtlasGeneratingSetInfo</code> (<a href="chap3.html#X841478AB7CD06D44"><span class="RefLink">3.5-5</span></a>), and a list of conditions), and returns <code class="keyw">true</code> or <code class="keyw">false</code>, depending on whether the first argument satisfies the conditions. (The default value is <code class="func">ReturnFalse</code> (<a href="../../../doc/ref/chap5.html#X7C131FB17D7518FC"><span class="RefLink">Reference: ReturnFalse</span></a>).)</p>
<p>The function must support conditions such as <code class="code">[ IsPermGroup, true ]</code> and <code class="code">[ NrMovedPoints, [ 5, 6 ] ]</code>, in general a list of functions followed by a prescribed value, a list of prescribed values, another (unary) function, or the string <code class="code">"minimal"</code>. For an overview of the interesting functions, see <code class="func">DisplayAtlasInfo</code> (<a href="chap3.html#X79DACFFA7E2D1A99"><span class="RefLink">3.5-1</span></a>).</p>
</dd>
<dt><strong class="Mark"><code class="code">AccessPRG</code> (for <code class="code">prg</code> only)</strong></dt>
<dd><p>This is used in <code class="func">AtlasProgram</code> (<a href="chap3.html#X801F2E657C8A79ED"><span class="RefLink">3.5-3</span></a>). The value must be a function that takes three arguments (the record with the information about the given group in the current table of contents, an integer or a list of integers or <code class="keyw">true</code> for the required standardization, and a list of conditions given by the optional arguments of <code class="func">AtlasProgram</code> (<a href="chap3.html#X801F2E657C8A79ED"><span class="RefLink">3.5-3</span></a>)), and returns either <code class="keyw">fail</code> or a list that together with the group name forms the identifier of a program that matches the conditions. (The default value is <code class="func">ReturnFail</code> (<a href="../../../doc/ref/chap5.html#X7A0994DE7C258E55"><span class="RefLink">Reference: ReturnFail</span></a>).)</p>
</dd>
<dt><strong class="Mark"><code class="code">AtlasProgram</code> (for <code class="code">prg</code> only)</strong></dt>
<dd><p>This is used in <code class="func">AtlasProgram</code> (<a href="chap3.html#X801F2E657C8A79ED"><span class="RefLink">3.5-3</span></a>) to create the result value from the identifier. (The default value is <code class="code">AtlasProgramDefault</code>, which works whenever the second entry of the identifier is the filename; this is not the case for example if the program is the composition of several programs.)</p>
</dd>
<dt><strong class="Mark"><code class="code">AtlasProgramInfo</code> (for <code class="code">prg</code> only)</strong></dt>
<dd><p>This is used in <code class="func">AtlasProgramInfo</code> (<a href="chap3.html#X83DFD8967E6BC831"><span class="RefLink">3.5-4</span></a>) to create the result value from the identifier. (The default value is <code class="code">AtlasProgramDefault</code>.)</p>
</dd>
<dt><strong class="Mark"><code class="code">TOCEntryString</code></strong></dt>
<dd><p>This is used in <code class="func">StoreAtlasTableOfContents</code> (<a href="chap4.html#X7E3E52D380C20363"><span class="RefLink">4.2-2</span></a>). The value must be a function that takes two arguments (the name <var class="Arg">name</var> of the type and a list as returned by <code class="func">AGR.ParseFilenameFormat</code> (<a href="chap7.html#X8486CCB181FC99A3"><span class="RefLink">7.6-1</span></a>) and returns a string that describes the appropriate function call. (The default value is <code class="code">TOCEntryStringDefault</code>.)</p>
</dd>
<dt><strong class="Mark"><code class="code">PostprocessFileInfo</code></strong></dt>
<dd><p>This is used in the construction of a table of contents via <code class="func">ReloadAtlasTableOfContents</code> (<a href="chap4.html#X7AC3EA317EDBDA0E"><span class="RefLink">4.2-1</span></a>), for testing or rearranging the data of the current table of contents. The value must be a function that takes two arguments, the table of contents record and the record in it that belongs to one fixed group. (The default function does nothing.)</p>
</dd>
<dt><strong class="Mark"><code class="code">SortTOCEntries</code></strong></dt>
<dd><p>This is used in the construction of a table of contents (see <code class="func">ReloadAtlasTableOfContents</code> (<a href="chap4.html#X7AC3EA317EDBDA0E"><span class="RefLink">4.2-1</span></a>)), for sorting the entries after they have been added and after the value of the component <code class="code">PostprocessFileInfo</code> has been called. The value must be a function that takes a list as returned by <code class="func">AGR.ParseFilenameFormat</code> (<a href="chap7.html#X8486CCB181FC99A3"><span class="RefLink">7.6-1</span></a>), and returns the sorting key. (There is no default value, which means that no sorting is needed.)</p>
</dd>
<dt><strong class="Mark"><code class="code">TestFileHeaders</code> (for <code class="code">rep</code> only)</strong></dt>
<dd><p>This is used in the function <code class="code">AGR.Test.FileHeaders</code>. The value must be a function that takes the same four arguments as <code class="func">AGR.FileContents</code> (<a href="chap7.html#X78AB92DB7C2CAB6E"><span class="RefLink">7.6-2</span></a>), except that the first argument <code class="code">"datagens"</code> can be replaced by <code class="code">"local"</code> and that the third argument is a list as returned by <code class="func">AGR.ParseFilenameFormat</code> (<a href="chap7.html#X8486CCB181FC99A3"><span class="RefLink">7.6-1</span></a>). (The default value is <code class="func">ReturnTrue</code> (<a href="../../../doc/ref/chap5.html#X7DB422A2876CCC4D"><span class="RefLink">Reference: ReturnTrue</span></a>).)</p>
</dd>
<dt><strong class="Mark"><code class="code">TestFiles</code> (for <code class="code">rep</code> only)</strong></dt>
<dd><p>This is used in the function <code class="code">AGR.Test.Files</code>. The format of the value and the default are the same as for the value of the component <code class="code">TestFileHeaders</code>.</p>
</dd>
<dt><strong class="Mark"><code class="code">TestWords</code> (for <code class="code">prg</code> only)</strong></dt>
<dd><p>This is used in the function <code class="code">AGR.Test.Words</code>. The value must be a function that takes five arguments where the first four are the same arguments as for <code class="func">AGR.FileContents</code> (<a href="chap7.html#X78AB92DB7C2CAB6E"><span class="RefLink">7.6-2</span></a>), except that the first argument <code class="code">"dataword"</code> can be replaced by <code class="code">"local"</code>, and the fifth argument is <code class="keyw">true</code> or <code class="keyw">false</code>, indicating verbose mode or not.</p>
</dd>
</dl>
<p><a id="X7C2562A978319179" name="X7C2562A978319179"></a></p>
<h4>7.6 <span class="Heading">Filenames Used in the <strong class="pkg">ATLAS</strong> of Group Representations</span></h4>
<p>The data of each local <strong class="pkg">GAP</strong> version of the <strong class="pkg">ATLAS</strong> of Group Representations are either private (see Chapter <a href="chap5.html#X7B33345C7B304697"><span class="RefLink">5</span></a>) or are stored in the two directories <code class="file">datagens</code> and <code class="file">dataword</code>. In the following, we describe the format of filenames in the latter two directories, as a reference of the "official" part of the <strong class="pkg">ATLAS</strong>.</p>
<p>In the directory <code class="file">datagens</code>, the generators for the <em>representations</em> available are stored, the directory <code class="file">dataword</code> contains the <em>programs</em> to compute conjugacy class representatives, generators of maximal subgroups, images of generators under automorphisms of a given group <span class="SimpleMath">G</span> from standard generators of <span class="SimpleMath">G</span>, and to check and compute standard generators (see Section <a href="chap3.html#X7F53EDAB7992C192"><span class="RefLink">3.3</span></a>).</p>
<p>The name of each data file in the <strong class="pkg">ATLAS</strong> of Group Representations describes the contents of the file. This section lists the definitions of the filenames used.</p>
<p>Each filename consists of two parts, separated by a minus sign <code class="code">-</code>. The first part is always of the form <var class="Arg">groupname</var><code class="code">G</code><var class="Arg">i</var>, where the integer <var class="Arg">i</var> denotes the <var class="Arg">i</var>-th set of standard generators for the group <span class="SimpleMath">G</span>, say, with <strong class="pkg">ATLAS</strong>-file name <var class="Arg">groupname</var> (see <a href="chap3.html#X87E64E2B7B8A8152"><span class="RefLink">3.2</span></a>). The translations of the name <var class="Arg">groupname</var> to the name(s) used within <strong class="pkg">GAP</strong> is given by the component <code class="code">GAPnames</code> of <code class="func">AtlasOfGroupRepresentationsInfo</code> (<a href="chap7.html#X7BEC94A6781E126E"><span class="RefLink">7.1-6</span></a>).</p>
<p>The filenames in the directory <code class="file">dataword</code> have one of the following forms. In each of these cases, the suffix <code class="code">W</code><var class="Arg">n</var> means that <var class="Arg">n</var> is the version number of the program.</p>
<dl>
<dt><strong class="Mark"><code class="code"><var class="Arg">groupname</var>G<var class="Arg">i</var>-cycW<var class="Arg">n</var></code></strong></dt>
<dd><p>In this case, the file contains a straight line program that returns a list of representatives of generators of maximally cyclic subgroups of <span class="SimpleMath">G</span>. An example is <code class="code">Co1G1-cycW1</code>.</p>
</dd>
<dt><strong class="Mark"><code class="code"><var class="Arg">groupname</var>G<var class="Arg">i</var>-cclsW<var class="Arg">n</var></code></strong></dt>
<dd><p>In this case, the file contains a straight line program that returns a list of conjugacy class representatives of <span class="SimpleMath">G</span>. An example is <code class="code">RuG1-cclsW1</code>.</p>
</dd>
<dt><strong class="Mark"><code class="code"><var class="Arg">groupname</var>G<var class="Arg">i</var>cycW<var class="Arg">n</var>-cclsW<var class="Arg">m</var></code></strong></dt>
<dd><p>In this case, the file contains a straight line program that takes the return value of the program in the file <var class="Arg">groupname</var><code class="code">G</code><var class="Arg">i</var><code class="code">-cycW</code><var class="Arg">n</var> (see above), and returns a list of conjugacy class representatives of <span class="SimpleMath">G</span>. An example is <code class="code">M11G1cycW1-cclsW1</code>.</p>
</dd>
<dt><strong class="Mark"><code class="code"><var class="Arg">groupname</var>G<var class="Arg">i</var>-max<var class="Arg">k</var>W<var class="Arg">n</var></code></strong></dt>
<dd><p>In this case, the file contains a straight line program that takes generators of <span class="SimpleMath">G</span> w.r.t. the <var class="Arg">i</var>-th set of standard generators, and returns a list of generators (in general <em>not</em> standard generators) for a subgroup <span class="SimpleMath">U</span> in the <var class="Arg">k</var>-th class of maximal subgroups of <span class="SimpleMath">G</span>. An example is <code class="code">J1G1-max7W1</code>.</p>
</dd>
<dt><strong class="Mark"><code class="code"><var class="Arg">groupname</var>G<var class="Arg">i</var>max<var class="Arg">k</var>W<var class="Arg">n</var>-<var class="Arg">subgroupname</var>G<var class="Arg">j</var>W<var class="Arg">m</var></code></strong></dt>
<dd><p>In this case, the file contains a straight line program that takes the return value of the program in the file <var class="Arg">groupname</var><code class="code">G</code><var class="Arg">i</var><code class="code">-max</code><var class="Arg">k</var><code class="code">W</code><var class="Arg">n</var> (see above), which are generators for a group <span class="SimpleMath">U</span>, say; <var class="Arg">subgroupname</var> is a name for <span class="SimpleMath">U</span>, and the return value is a list of standard generators for <span class="SimpleMath">U</span>, w.r.t. the <var class="Arg">j</var>-th set of standard generators. (Of course this implies that the groups in the <var class="Arg">k</var>-th class of maximal subgroups of <span class="SimpleMath">G</span> are isomorphic to the group with name <var class="Arg">subgroupname</var>.) An example is <code class="code">J1G1max1W1-L211G1W1</code>; the first class of maximal subgroups of the Janko group <span class="SimpleMath">J_1</span> consists of groups isomorphic to the linear group <span class="SimpleMath">L_2(11)</span>, for which standard generators are defined.</p>
</dd>
<dt><strong class="Mark"><code class="code"><var class="Arg">groupname</var>G<var class="Arg">i</var>-a<var class="Arg">outname</var>W<var class="Arg">n</var></code></strong></dt>
<dd><p>In this case, the file contains a straight line program that takes generators of <span class="SimpleMath">G</span> w.r.t. the <var class="Arg">i</var>-th set of standard generators, and returns the list of their images under the outer automorphism <span class="SimpleMath">α</span> of <span class="SimpleMath">G</span> given by the name <var class="Arg">outname</var>; if this name is empty then <span class="SimpleMath">α</span> is the unique nontrivial outer automorphism of <span class="SimpleMath">G</span>; if it is a positive integer <span class="SimpleMath">k</span> then <span class="SimpleMath">α</span> is a generator of the unique cyclic order <span class="SimpleMath">k</span> subgroup of the outer automorphism group of <span class="SimpleMath">G</span>; if it is of the form <code class="code">2_1</code> or <code class="code">2a</code>, <code class="code">4_2</code> or <code class="code">4b</code>, <code class="code">3_3</code> or <code class="code">3c</code> <span class="SimpleMath">...</span> then <span class="SimpleMath">α</span> generates the cyclic group of automorphisms induced on <span class="SimpleMath">G</span> by <span class="SimpleMath">G.2_1</span>, <span class="SimpleMath">G.4_2</span>, <span class="SimpleMath">G.3_3</span> <span class="SimpleMath">...</span>; finally, if it is of the form <var class="Arg">k</var><code class="code">p</code><var class="Arg">d</var>, with <var class="Arg">k</var> one of the above forms and <var class="Arg">d</var> an integer then <var class="Arg">d</var> denotes the number of dashes appended to the automorphism described by <var class="Arg">k</var>; if <span class="SimpleMath"><var class="Arg">d</var> = 1</span> then <var class="Arg">d</var> can be omitted. Examples are <code class="code">A5G1-aW1</code>, <code class="code">L34G1-a2_1W1</code>, <code class="code">U43G1-a2_3pW1</code>, and <code class="code">O8p3G1-a2_2p5W1</code>; these file names describe the outer order <span class="SimpleMath">2</span> automorphism of <span class="SimpleMath">A_5</span> (induced by the action of <span class="SimpleMath">S_5</span>) and the order <span class="SimpleMath">2</span> automorphisms of <span class="SimpleMath">L_3(4)</span>, <span class="SimpleMath">U_4(3)</span>, and <span class="SimpleMath">O_8^+(3)</span> induced by the actions of <span class="SimpleMath">L_3(4).2_1</span>, <span class="SimpleMath">U_4(3).2_2^'</span>, and <span class="SimpleMath">O_8^+(3).2_2^{'''''}</span>, respectively.</p>
</dd>
<dt><strong class="Mark"><code class="code"><var class="Arg">groupname</var>G<var class="Arg">i</var>-G<var class="Arg">j</var>W<var class="Arg">n</var></code></strong></dt>
<dd><p>In this case, the file contains a straight line program that takes generators of <span class="SimpleMath">G</span> w.r.t. the <var class="Arg">i</var>-th set of standard generators, and returns standard generators of <span class="SimpleMath">G</span> w.r.t. the <var class="Arg">j</var>-th set of standard generators. An example is <code class="code">L35G1-G2W1</code>.</p>
</dd>
<dt><strong class="Mark"><code class="code"><var class="Arg">groupname</var>G<var class="Arg">i</var>-check<var class="Arg">n</var></code></strong></dt>
<dd><p>In this case, the file contains a straight line decision that takes generators of <span class="SimpleMath">G</span>, and returns <code class="keyw">true</code> if these generators are standard generators w.r.t. the <var class="Arg">i</var>-th standardization, and <code class="keyw">false</code> otherwise.</p>
</dd>
<dt><strong class="Mark"><code class="code"><var class="Arg">groupname</var>G<var class="Arg">i</var>-P<var class="Arg">n</var></code></strong></dt>
<dd><p>In this case, the file contains a straight line decision that takes some group elements, and returns <code class="keyw">true</code> if these elements are standard generators for <var class="Arg">G</var>, w.r.t. the <var class="Arg">i</var>-th standardization, and <code class="keyw">false</code> otherwise.</p>
</dd>
<dt><strong class="Mark"><code class="code"><var class="Arg">groupname</var>G<var class="Arg">i</var>-find<var class="Arg">n</var></code></strong></dt>
<dd><p>In this case, the file contains a black box program that takes a group, and returns (if it is successful) a set of standard generators for <var class="Arg">G</var>, w.r.t. the <var class="Arg">i</var>-th standardization.</p>
</dd>
<dt><strong class="Mark"><code class="code"><var class="Arg">groupname</var>G<var class="Arg">i</var>-X<var class="Arg">descr</var>W<var class="Arg">n</var></code></strong></dt>
<dd><p>In this case, the file contains a straight line program that takes generators of <span class="SimpleMath">G</span> w.r.t. the <var class="Arg">i</var>-th set of standard generators, and whose return value corresponds to <var class="Arg">descr</var>. This format is used only in private extensions (see Chapter <a href="chap5.html#X7B33345C7B304697"><span class="RefLink">5</span></a>), such a script can be accessed with <var class="Arg">descr</var> as the third argument of <code class="func">AtlasProgram</code> (<a href="chap3.html#X801F2E657C8A79ED"><span class="RefLink">3.5-3</span></a>).</p>
</dd>
</dl>
<p>The filenames in the directory <code class="file">datagens</code> have one of the following forms. In each of these cases, <var class="Arg">id</var> is a (possibly empty) string that starts with a lowercase alphabet letter (see <code class="func">IsLowerAlphaChar</code> (<a href="../../../doc/ref/chap27.html#X854114A97BAFEAEA"><span class="RefLink">Reference: IsLowerAlphaChar</span></a>)), and <var class="Arg">m</var> is a nonnegative integer, meaning that the generators are written w.r.t. the <var class="Arg">m</var>-th basis (the meaning is defined by the <strong class="pkg">ATLAS</strong> developers).</p>
<dl>
<dt><strong class="Mark"><code class="code"><var class="Arg">groupname</var>G<var class="Arg">i</var>-f<var class="Arg">q</var>r<var class="Arg">dim</var><var class="Arg">id</var>B<var class="Arg">m</var>.m<var class="Arg">nr</var></code></strong></dt>
<dd><p>a file in <strong class="pkg">MeatAxe</strong> text file format containing the <var class="Arg">nr</var>-th generator of a matrix representation over the field with <var class="Arg">q</var> elements, of dimension <var class="Arg">dim</var>. An example is <code class="code">S5G1-f2r4aB0.m1</code>.</p>
</dd>
<dt><strong class="Mark"><code class="code"><var class="Arg">groupname</var>G<var class="Arg">i</var>-p<var class="Arg">n</var><var class="Arg">id</var>B<var class="Arg">m</var>.m<var class="Arg">nr</var></code></strong></dt>
<dd><p>a file in <strong class="pkg">MeatAxe</strong> text file format containing the <var class="Arg">nr</var>-th generator of a permutation representation on <var class="Arg">n</var> points. An example is <code class="code">M11G1-p11B0.m1</code>.</p>
</dd>
<dt><strong class="Mark"><code class="code"><var class="Arg">groupname</var>G<var class="Arg">i</var>-Ar<var class="Arg">dim</var><var class="Arg">id</var>B<var class="Arg">m</var>.g</code></strong></dt>
<dd><p>a <strong class="pkg">GAP</strong> readable file containing all generators of a matrix representation of dimension <var class="Arg">dim</var> over an algebraic number field not specified further. An example is <code class="code">A5G1-Ar3aB0.g</code>.</p>
</dd>
<dt><strong class="Mark"><code class="code"><var class="Arg">groupname</var>G<var class="Arg">i</var>-Zr<var class="Arg">dim</var><var class="Arg">id</var>B<var class="Arg">m</var>.g</code></strong></dt>
<dd><p>a <strong class="pkg">GAP</strong> readable file containing all generators of a matrix representation over the integers, of dimension <var class="Arg">dim</var>. An example is <code class="code">A5G1-Zr4B0.g</code>.</p>
</dd>
<dt><strong class="Mark"><code class="code"><var class="Arg">groupname</var>G<var class="Arg">i</var>-Hr<var class="Arg">dim</var><var class="Arg">id</var>B<var class="Arg">m</var>.g</code></strong></dt>
<dd><p>a <strong class="pkg">GAP</strong> readable file containing all generators of a matrix representation over a quaternion algebra over an algebraic number field, of dimension <var class="Arg">dim</var>. An example is <code class="code">2A6G1-Hr2aB0.g</code>.</p>
</dd>
<dt><strong class="Mark"><code class="code"><var class="Arg">groupname</var>G<var class="Arg">i</var>-Z<var class="Arg">n</var>r<var class="Arg">dim</var><var class="Arg">id</var>B<var class="Arg">m</var>.g</code></strong></dt>
<dd><p>a <strong class="pkg">GAP</strong> readable file containing all generators of a matrix representation of dimension <var class="Arg">dim</var> over the ring of integers mod <var class="Arg">n</var>. An example is <code class="code">2A8G1-Z4r4aB0.g</code>.</p>
</dd>
</dl>
<p><a id="X8486CCB181FC99A3" name="X8486CCB181FC99A3"></a></p>
<h5>7.6-1 AGR.ParseFilenameFormat</h5>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ AGR.ParseFilenameFormat</code>( <var class="Arg">string</var>, <var class="Arg">format</var> )</td><td class="tdright">( function )</td></tr></table></div>
<p>Returns: a list of strings and integers if <var class="Arg">string</var> matches <var class="Arg">format</var>, and <code class="keyw">fail</code> otherwise.</p>
<p>Let <var class="Arg">string</var> be a filename, and <var class="Arg">format</var> be a list <span class="SimpleMath">[ [ c_1, c_2, ..., c_n ], [ f_1, f_2, ..., f_n ] ]</span> such that each entry <span class="SimpleMath">c_i</span> is a list of strings and of functions that take a character as their argument and return <code class="file">true</code> or <code class="file">false</code>, and such that each entry <span class="SimpleMath">f_i</span> is a function for parsing a filename, such as the currently undocumented functions <code class="code">ParseForwards</code> and <code class="code">ParseBackwards</code>.</p>
<p><code class="func">AGR.ParseFilenameFormat</code> returns a list of strings and integers such that the concatenation of their <code class="func">String</code> (<a href="../../../doc/ref/chap27.html#X81FB5BE27903EC32"><span class="RefLink">Reference: String</span></a>) values yields <var class="Arg">string</var> if <var class="Arg">string</var> matches <var class="Arg">format</var>, and <code class="keyw">fail</code> otherwise. Matching is defined as follows. Splitting <var class="Arg">string</var> at each minus character (<code class="code">-</code>) yields <span class="SimpleMath">m</span> parts <span class="SimpleMath">s_1, s_2, ..., s_m</span>. The string <var class="Arg">string</var> matches <var class="Arg">format</var> if <span class="SimpleMath">s_i</span> matches the conditions in <span class="SimpleMath">c_i</span>, for <span class="SimpleMath">1 ≤ i ≤ n</span>, in the sense that applying <span class="SimpleMath">f_i</span> to <span class="SimpleMath">s_i</span> and <span class="SimpleMath">c_i</span> yields a non-<code class="keyw">fail</code> result.</p>
<div class="example"><pre>
<span class="GAPprompt">gap></span> <span class="GAPinput">format:= [ [ [ IsChar, "G", IsDigitChar ],</span>
<span class="GAPprompt">></span> <span class="GAPinput"> [ "p", IsDigitChar, AGR.IsLowerAlphaOrDigitChar,</span>
<span class="GAPprompt">></span> <span class="GAPinput"> "B", IsDigitChar, ".m", IsDigitChar ] ],</span>
<span class="GAPprompt">></span> <span class="GAPinput"> [ ParseBackwards, ParseForwards ] ];;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">AGR.ParseFilenameFormat( "A6G1-p10B0.m1", format );</span>
[ "A6", "G", 1, "p", 10, "", "B", 0, ".m", 1 ]
<span class="GAPprompt">gap></span> <span class="GAPinput">AGR.ParseFilenameFormat( "A6G1-p15aB0.m1", format );</span>
[ "A6", "G", 1, "p", 15, "a", "B", 0, ".m", 1 ]
<span class="GAPprompt">gap></span> <span class="GAPinput">AGR.ParseFilenameFormat( "A6G1-f2r16B0.m1", format );</span>
fail
</pre></div>
<p><a id="X78AB92DB7C2CAB6E" name="X78AB92DB7C2CAB6E"></a></p>
<h5>7.6-2 AGR.FileContents</h5>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ AGR.FileContents</code>( <var class="Arg">dirname</var>, <var class="Arg">groupname</var>, <var class="Arg">filename</var>, <var class="Arg">type</var> )</td><td class="tdright">( function )</td></tr></table></div>
<p>Returns: the <strong class="pkg">GAP</strong> object obtained from reading and interpreting the file(s) with name(s) <var class="Arg">filename</var>.</p>
<p>Let <var class="Arg">dirname</var> and <var class="Arg">groupname</var> be strings, <var class="Arg">filename</var> be a string or a list of strings, and <var class="Arg">type</var> be a data type (see <code class="func">AGR.DeclareDataType</code> (<a href="chap7.html#X836AA4EA8346BE5B"><span class="RefLink">7.5-1</span></a>)). <var class="Arg">dirname</var> must be one of <code class="code">"datagens"</code>, <code class="code">"dataword"</code>, or the <var class="Arg">dirid</var> value of a private directory, see <code class="func">AtlasOfGroupRepresentationsNotifyPrivateDirectory</code> (<a href="chap5.html#X825AF58885A48520"><span class="RefLink">5.1-1</span></a>). If <var class="Arg">groupname</var> is the <strong class="pkg">ATLAS</strong>-file name of a group <span class="SimpleMath">G</span> (see Section <a href="chap3.html#X87E64E2B7B8A8152"><span class="RefLink">3.2</span></a>), and if <var class="Arg">filename</var> is either the name of an accessible file in the <var class="Arg">dirname</var> directory of the <strong class="pkg">ATLAS</strong>, or a list of such filenames, with data concerning <span class="SimpleMath">G</span> and for the data type <code class="code">type</code>, then <code class="func">AGR.FileContents</code> returns the contents of the corresponding file(s), in the sense that the file(s) (or equivalent ones, see Section <a href="chap4.html#X7FA485E479F6C3A0"><span class="RefLink">4.3-6</span></a>) is/are read, and the result is interpreted if necessary; otherwise <code class="keyw">fail</code> is returned.</p>
<p>Note that if <var class="Arg">filename</var> refers to file(s) already stored in the <var class="Arg">dirname</var> directory then <code class="func">AGR.FileContents</code> does <em>not</em> check whether the table of contents of the <strong class="pkg">ATLAS</strong> of Group Representations actually contains <var class="Arg">filename</var>.</p>
<p><a id="X7AD2556F87F1D40D" name="X7AD2556F87F1D40D"></a></p>
<h4>7.7 <span class="Heading">The Tables of Contents of the <strong class="pkg">ATLAS</strong> of Group Representations
</span></h4>
<p>The list of data currently available is stored in several <em>tables of contents</em>, one for the local <strong class="pkg">GAP</strong> data, one for the data on remote servers, and one for each private data directory. These tables of contents are created by <code class="func">ReloadAtlasTableOfContents</code> (<a href="chap4.html#X7AC3EA317EDBDA0E"><span class="RefLink">4.2-1</span></a>).</p>
<p>It is assumed that the local data directories contain only files that are also available on servers. Private extensions to the database (cf. Section <a href="chap4.html#X80C7729A8404F682"><span class="RefLink">4.5</span></a> and Chapter <a href="chap5.html#X7B33345C7B304697"><span class="RefLink">5</span></a>) cannot be handled by putting the data files into the local directories.</p>
<p>Each table of contents is represented by a record whose components are the <strong class="pkg">ATLAS</strong>-file names of the groups (see Section <a href="chap3.html#X87E64E2B7B8A8152"><span class="RefLink">3.2</span></a>) and <code class="code">lastupdated</code>, a string describing the date of the last update of this table of contents. The value for each group name is a record whose components are the names of those data types (see Section <a href="chap7.html#X7C164C4D7ECE62D0"><span class="RefLink">7.5</span></a>) for which data are available.</p>
<p>Here are the administrational functions that are used to build the tables of contents. Some of them may be useful also for private extensions of the package (see Chapter <a href="chap5.html#X7B33345C7B304697"><span class="RefLink">5</span></a>).</p>
<p>The following functions define group names, available representations, and straight line programs.</p>
<dl>
<dt><strong class="Mark"><code class="code">AGR.GNAN( <var class="Arg">gapname</var>, <var class="Arg">atlasname</var> )</code></strong></dt>
<dd><p>Called with two strings <var class="Arg">gapname</var> (the <strong class="pkg">GAP</strong> name of the group) and <var class="Arg">atlasname</var> (the <strong class="pkg">ATLAS</strong> name of the group), <code class="code">AGR.GNAN</code> stores the information in the list <code class="code">AtlasOfGroupRepresentationsInfo.GAPnames</code>, which defines the name mapping between the <strong class="pkg">ATLAS</strong> names and <strong class="pkg">GAP</strong> names of the groups.</p>
<p>This function may be used also for private extensions of the database.</p>
<p>An example of a valid call is <code class="code">AGR.GNAN("A5.2","S5")</code>.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.GRP( <var class="Arg">dirname</var>, <var class="Arg">simpname</var>, <var class="Arg">groupname</var>)</code></strong></dt>
<dd><p>Called with three strings, <code class="code">AGR.GRP</code> stores in the <code class="code">groupname</code> component of <code class="func">AtlasOfGroupRepresentationsInfo</code> (<a href="chap7.html#X7BEC94A6781E126E"><span class="RefLink">7.1-6</span></a>) in which path on the servers the data about the group with <strong class="pkg">ATLAS</strong> name <var class="Arg">groupname</var> can be found.</p>
<p>This function is <em>not</em> intended for private extensions of the database.</p>
<p>An example of a valid call is <code class="code">AGR.GRP("alt","A5","S5")</code>.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.TOC( <var class="Arg">typename</var>, <var class="Arg">filename</var>, <var class="Arg">crcfile</var> )</code></strong></dt>
<dd><p>Called with two strings <var class="Arg">typename</var> and <var class="Arg">filename</var>, and a list <var class="Arg">crc</var> of integers, <code class="code">AGR.TOC</code> notifies an entry to the <code class="code">TableOfContents.remote</code> component of <code class="func">AtlasOfGroupRepresentationsInfo</code> (<a href="chap7.html#X7BEC94A6781E126E"><span class="RefLink">7.1-6</span></a>), where <var class="Arg">typename</var> must be the name of the data type to which the entry belongs, <var class="Arg">filename</var> must be the prefix of the data file(s), and <var class="Arg">crc</var> must be the list of <code class="func">CrcFile</code> (<a href="../../../doc/ref/chap9.html#X8241CEAD80415BB9"><span class="RefLink">Reference: CrcFile</span></a>) values of the file(s).</p>
<p>This function is <em>not</em> intended for private extensions of the database.</p>
<p>An example of a valid call is <code class="code">AGR.TOC("perm","S5G1-p5B0.m",[-3581724,115937465])</code>.</p>
</dd>
</dl>
<p>The following functions add data about the groups and their standard generators. The function calls must be executed after the corresponding <code class="code">AGR.GNAN</code> calls.</p>
<dl>
<dt><strong class="Mark"><code class="code">AGR.GRS( <var class="Arg">gapname</var>, <var class="Arg">size</var> )</code></strong></dt>
<dd><p>Called with the string <var class="Arg">gapname</var> (the <strong class="pkg">GAP</strong> name of the group) and the integer <var class="Arg">size</var> (the order of the group), <code class="code">AGR.GRS</code> stores this information in <code class="code">AtlasOfGroupRepresentationsInfo.GAPnames</code>.</p>
<p>An example of a valid call is <code class="code">AGR.GRS("A5.2",120)</code>.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.MXN( <var class="Arg">gapname</var>, <var class="Arg">nrMaxes</var> )</code></strong></dt>
<dd><p>Called with the string <var class="Arg">gapname</var> (the <strong class="pkg">GAP</strong> name of the group) and the integer <var class="Arg">nrMaxes</var> (the number of classes of maximal subgroups of the group), <code class="code">AGR.MXN</code> stores the information in <code class="code">AtlasOfGroupRepresentationsInfo.GAPnames</code>.</p>
<p>An example of a valid call is <code class="code">AGR.MXN("A5.2",4)</code>.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.MXO( <var class="Arg">gapname</var>, <var class="Arg">sizesMaxes</var> )</code></strong></dt>
<dd><p>Called with the string <var class="Arg">gapname</var> (the <strong class="pkg">GAP</strong> name of the group) and the list <var class="Arg">sizesMaxes</var> (of subgroup orders of the classes of maximal subgroups of the group, not necessarily dense, in non-increasing order), <code class="code">AGR.MXO</code> stores the information in <code class="code">AtlasOfGroupRepresentationsInfo.GAPnames</code>.</p>
<p>An example of a valid call is <code class="code">AGR.MXO("A5.2",[60,24,20,12])</code>.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.MXS( <var class="Arg">gapname</var>, <var class="Arg">structureMaxes</var> )</code></strong></dt>
<dd><p>Called with the string <var class="Arg">gapname</var> (the <strong class="pkg">GAP</strong> name of the group) and the list <var class="Arg">structureMaxes</var> (of strings describing the structures of the maximal subgroups of the group, not necessarily dense), <code class="code">AGR.MXS</code> stores the information in <code class="code">AtlasOfGroupRepresentationsInfo.GAPnames</code>.</p>
<p>An example of a valid call is <code class="code">AGR.MXS("A5.2",["A5","S4","5:4","S3x2"])</code>.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.KERPRG( <var class="Arg">gapname</var>, <var class="Arg">kernelProgram</var> )</code></strong></dt>
<dd><p>Called with the string <var class="Arg">gapname</var> (the <strong class="pkg">GAP</strong> name of the group) and the list <var class="Arg">kernelProgram</var> (with entries the standardization of the group, the <strong class="pkg">GAP</strong> name of a factor group, and the list of lines of a straight line program that computes generators of the kernel of the epimorphism from the group to the factor group), <code class="code">AGR.KERPRG</code> stores the information in <code class="code">AtlasOfGroupRepresentationsInfo.GAPnames</code>.</p>
<p>An example of a valid call is <code class="code">AGR.KERPRG("2.J2",[1,"J2",[[[1,2]]]])</code>.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.STDCOMP</code></strong></dt>
<dd><p>Called with the string <var class="Arg">gapname</var> (the <strong class="pkg">GAP</strong> name of the group) and the list <var class="Arg">factorCompatibility</var> (with entries the standardization of the group, the <strong class="pkg">GAP</strong> name of a factor group, the standardization of this factor group, and <code class="keyw">true</code> or <code class="keyw">false</code>, indicating whether mapping the standard generators for <var class="Arg">gapname</var> to those of <var class="Arg">factgapname</var> defines an epimorphism), <code class="code">AGR.STDCOMP</code> stores the information in <code class="code">AtlasOfGroupRepresentationsInfo.GAPnames</code>.</p>
<p>An example of a valid call is <code class="code">AGR.STDCOMP("2.A5.2",[1,"A5.2",1,true])</code>.</p>
</dd>
</dl>
<p>The following functions add data about representations or straight line programs that are already known. The function calls must be executed after the corresponding <code class="code">AGR.TOC</code> calls.</p>
<dl>
<dt><strong class="Mark"><code class="code">AGR.RNG( <var class="Arg">repname</var>, <var class="Arg">descr</var> )</code></strong></dt>
<dd><p>Called with two strings <var class="Arg">repname</var> (denoting the name of a file containing the generators of a matrix representation over a ring that is not determined by the filename) and <var class="Arg">descr</var> (describing this ring <span class="SimpleMath">R</span>, say), <code class="code">AGR.RNG</code> adds the triple <span class="SimpleMath">[ <var class="Arg">repname</var>, <var class="Arg">descr</var>, R ]</span> to the list stored in the <code class="code">ringinfo</code> component of <code class="func">AtlasOfGroupRepresentationsInfo</code> (<a href="chap7.html#X7BEC94A6781E126E"><span class="RefLink">7.1-6</span></a>).</p>
<p>An example of a valid call is <code class="code">AGR.RNG("A5G1-Ar3aB0","Field([Sqrt(5)])")</code>.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.TOCEXT( <var class="Arg">atlasname</var>, <var class="Arg">std</var>, <var class="Arg">maxnr</var>, <var class="Arg">files</var> )</code></strong></dt>
<dd><p>Called with the string <var class="Arg">atlasname</var> (the <strong class="pkg">ATLAS</strong> name of the group), the positive integers <var class="Arg">std</var> (the standardization) and <var class="Arg">maxnr</var> (the number of the class of maximal subgroups), and the list <var class="Arg">files</var> (of filenames of straight line programs for computing generators of the <var class="Arg">maxnr</var>-th maximal subgroup, using a straight line program for a factor group plus perhaps some straight line program for computing kernel generators), <code class="code">AGR.TOCEXT</code> stores the information in the <code class="code">maxext</code> component of the <var class="Arg">atlasname</var> component of the <code class="code">"remote"</code> table of contents.</p>
<p>An example of a valid call is <code class="code">AGR.TOCEXT("2A5",1,3,["A5G1-max3W1"])</code>.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.API( <var class="Arg">repname</var>, <var class="Arg">info</var> )</code></strong></dt>
<dd><p>Called with the string <var class="Arg">repname</var> (denoting the name of a permutation representation) and the list <var class="Arg">info</var> (describing the point stabilizer of this representation), <code class="code">AGR.API</code> binds the component <var class="Arg">repname</var> of the record <code class="code">AtlasOfGroupRepresentationsInfo.permrepinfo</code> to <var class="Arg">info</var>.</p>
<p><var class="Arg">info</var> has the following entries.</p>
<ul>
<li><p>At position <span class="SimpleMath">1</span>, the transitivity is stored.</p>
</li>
<li><p>If the transitivity is zero then the second entry is the list of orbit lengths.</p>
</li>
<li><p>If the transitivity is positive then the second entry is the rank of the action.</p>
</li>
<li><p>If the transitivity is positive then the third entry is one of the strings <code class="code">"prim"</code>, <code class="code">"imprim"</code>, denoting primitivity or not.</p>
</li>
<li><p>If the transitivity is positive then the fourth entry is a string describing the structure of the point stabilizer. If the third entry is <code class="code">"imprim"</code> then this description consists of a subgroup part and a maximal subgroup part, separated by <code class="code">" < "</code>.</p>
</li>
<li><p>If the third entry is <code class="code">"prim"</code> then the fifth entry is either <code class="code">"???"</code> or it denotes the number of the class of maximal subgroups that are the point stabilizers.</p>
</li>
</ul>
<p>An example of a valid call is <code class="code">AGR.API("A5G1-p5B0",[3,2,"prim","A4",1])</code>.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.CHAR( <var class="Arg">groupname</var>, <var class="Arg">repname</var>, <var class="Arg">char</var>, <var class="Arg">pos</var>[, <var class="Arg">charname</var>] )</code></strong></dt>
<dd><p>Called with the strings <var class="Arg">groupname</var> (the <strong class="pkg">GAP</strong> name of the group) and <var class="Arg">repname</var> (denoting the name of the representation), the integer <var class="Arg">char</var> (the characteristic of the representation), and <var class="Arg">pos</var> (the position or list of positions of the irreducible constituent(s)), <code class="code">AGR.CHAR</code> stores the information in <code class="code">AtlasOfGroupRepresentationsInfo.characterinfo</code>. A string describing the character can be entered as <var class="Arg">charname</var>.</p>
<p>An example of a valid call is <code class="code">AGR.CHAR("M11","M11G1-p11B0",0,[1,2],"1a+10a")</code>.</p>
</dd>
</dl>
<p>These functions are used to create the initial table of contents for the server data of the <strong class="pkg">AtlasRep</strong> package when the file <code class="file">gap/atlasprm.g</code> of the package is read.</p>
<p><a id="X7D42612882656B32" name="X7D42612882656B32"></a></p>
<h4>7.8 <span class="Heading">Sanity Checks for the <strong class="pkg">ATLAS</strong> of Group Representations</span></h4>
<p>The fact that the <strong class="pkg">ATLAS</strong> of Group Representations is designed as an open database (see Section <a href="chap4.html#X7E1934D2780D108F"><span class="RefLink">4.3-1</span></a>) makes it especially desirable to have consistency checks available which can be run automatically whenever new data are added by the developers of the <strong class="pkg">ATLAS</strong>. The tests described in Section <a href="chap7.html#X86FDCF0B85496AE5"><span class="RefLink">7.8-1</span></a> can be used also for data from private extensions of the package (see Chapter <a href="chap5.html#X7B33345C7B304697"><span class="RefLink">5</span></a>), Section <a href="chap7.html#X7FBFA8D287B807D2"><span class="RefLink">7.8-2</span></a> lists tests which do not have this property.</p>
<p>All these tests apply only to the <em>local</em> table of contents (see Section <a href="chap7.html#X7AD2556F87F1D40D"><span class="RefLink">7.7</span></a>) or to private extensions. So only those data files are checked that are actually available in the local <strong class="pkg">GAP</strong> installation. No files are fetched from servers during these tests. The required space and time for running these tests depend on the amount of locally available data.</p>
<p>The file <code class="file">tst/testall.g</code> of the package contains <code class="func">Test</code> (<a href="../../../doc/ref/chap7.html#X87712F9D8732193C"><span class="RefLink">Reference: Test</span></a>) statements for executing a collection of such sanity checks; one can run them by calling <code class="code">ReadPackage( "AtlasRep", "tst/testall.g" )</code>. If no problem occurs then <strong class="pkg">GAP</strong> prints only lines starting with one of the following.</p>
<div class="example"><pre>
+ Input file:
+ GAP4stones:
</pre></div>
<p>Some of the checks compute and verify additional data, such as information about point stabilizers of permutation representations. In these cases, output lines starting with <code class="code">#E</code> are error messages that point to inconsistencies, whereas output lines starting with <code class="code">#I</code> inform about data that have been computed and were not yet stored, or about stored data that were not verified.</p>
<p>The examples in the package manual form a part of the tests, they are collected in the file <code class="file">tst/docxpl.tst</code> of the package.</p>
<p><a id="X86FDCF0B85496AE5" name="X86FDCF0B85496AE5"></a></p>
<h5>7.8-1 <span class="Heading">Sanity Checks for a Table of Contents</span></h5>
<p>The following tests can be used to check the data that belong to a given table of contents. Each of these tests is given by a function with optional argument <var class="Arg">tocid</var>, the identifying string that had been entered as the second argument of <code class="func">AtlasOfGroupRepresentationsNotifyPrivateDirectory</code> (<a href="chap5.html#X825AF58885A48520"><span class="RefLink">5.1-1</span></a>). The contents of the local <code class="file">dataword</code> directory can be checked by entering <code class="code">"local"</code>, which is also the default for <var class="Arg">tocid</var>. The function returns <code class="keyw">false</code> if an error occurs, otherwise <code class="keyw">true</code>. Currently the following tests of this kind are available.</p>
<dl>
<dt><strong class="Mark"><code class="code">AGR.Test.Words( [<var class="Arg">tocid</var>] )</code></strong></dt>
<dd><p>processes all straight line programs that are stored in the directory with identifier <var class="Arg">tocid</var>, using the function stored in the <code class="code">TestWords</code> component of the data type in question.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.Test.FileHeaders( [<var class="Arg">tocid</var>] )</code></strong></dt>
<dd><p>checks whether all <strong class="pkg">MeatAxe</strong> text format data files in the directory with identifier <var class="Arg">tocid</var> have a header line that is consistent with the filename, and whether the contents of all <strong class="pkg">GAP</strong> format data files in this directory is consistent with the contents of the file.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.Test.Files( [<var class="Arg">tocid</var>] )</code></strong></dt>
<dd><p>checks whether the <strong class="pkg">MeatAxe</strong> text files that are stored in the directory with identifier <var class="Arg">tocid</var> can be read with <code class="func">ScanMeatAxeFile</code> (<a href="chap7.html#X83D5103780E1238F"><span class="RefLink">7.3-1</span></a>) such that the result is not <code class="keyw">fail</code>. The function does not check whether the first line of a <strong class="pkg">MeatAxe</strong> text file is consistent with the filename, since this can be tested with <code class="code">AGR.Test.FileHeaders</code>.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.Test.BinaryFormat( [<var class="Arg">tocid</var>] )</code></strong></dt>
<dd><p>checks whether all <strong class="pkg">MeatAxe</strong> text format data files in the directory with identifier <var class="Arg">tocid</var> satisfy that applying first <code class="func">CMtxBinaryFFMatOrPerm</code> (<a href="chap7.html#X8477AA668733255C"><span class="RefLink">7.3-4</span></a>) and then <code class="func">FFMatOrPermCMtxBinary</code> (<a href="chap7.html#X872FA00C7F791FBB"><span class="RefLink">7.3-5</span></a>) yields the same object.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.Test.Primitivity( [<var class="Arg">tocid</var>] )</code></strong></dt>
<dd><p>checks the stored primitivity information for the permutation representations that are stored in the directory with identifier <var class="Arg">tocid</var>.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.Test.Characters( [<var class="Arg">tocid</var>] )</code></strong></dt>
<dd><p>checks the stored character information for the matrix and permutation representations that are stored in the directory with identifier <var class="Arg">tocid</var>.</p>
</dd>
</dl>
<p><a id="X7FBFA8D287B807D2" name="X7FBFA8D287B807D2"></a></p>
<h5>7.8-2 <span class="Heading">Other Sanity Checks</span></h5>
<p>The tests described in this section are not intended for checking data from private extensions of the <strong class="pkg">AtlasRep</strong> package. Each of the tests is given by a function without arguments that returns <code class="keyw">false</code> if a contradiction was found during the test, and <code class="keyw">true</code> otherwise. Additionally, certain messages are printed when contradictions between stored and computed data are found, when stored data cannot be verified computationally, or when the computations yield improvements of the stored data. Currently the following tests of this kind are available.</p>
<dl>
<dt><strong class="Mark"><code class="code">AGR.Test.GroupOrders()</code></strong></dt>
<dd><p>checks whether the group orders stored in the <code class="code">GAPnames</code> component of <code class="func">AtlasOfGroupRepresentationsInfo</code> (<a href="chap7.html#X7BEC94A6781E126E"><span class="RefLink">7.1-6</span></a>) coincide with the group orders computed from an <strong class="pkg">ATLAS</strong> permutation representation of degree up to <code class="code">AGR.Test.MaxTestDegree</code>, from the character table or the table of marks with the given name, or from the structure of the name. Supported is a splitting of the name at the first dot (<code class="code">.</code>), where the two parts of the name are examined with the same criteria in order to derive the group order.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.Test.MaxesOrders()</code></strong></dt>
<dd><p>checks whether the orders of maximal subgroups stored in the component <code class="code">GAPnames</code> of <code class="func">AtlasOfGroupRepresentationsInfo</code> (<a href="chap7.html#X7BEC94A6781E126E"><span class="RefLink">7.1-6</span></a>) coincide with the orders computed from the restriction of an <strong class="pkg">ATLAS</strong> permutation representation of degree up to <code class="code">AGR.Test.MaxTestDegree</code>, from the character table, or the table of marks with the given name, or from the information about maximal subgroups of a factor group modulo a normal subgroup that is contained in the Frattini subgroup.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.Test.MaxesStructure()</code></strong></dt>
<dd><p>checks whether the names of maximal subgroups stored in the component <code class="code">GAPnames</code> of <code class="func">AtlasOfGroupRepresentationsInfo</code> (<a href="chap7.html#X7BEC94A6781E126E"><span class="RefLink">7.1-6</span></a>) coincide with the names computed from the <strong class="pkg">GAP</strong> character table with the given name.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.Test.StdCompatibility()</code></strong></dt>
<dd><p>checks whether the information about the compatibility of standard generators of a group and its factor groups that is stored in the <code class="code">GAPnames</code> component of <code class="func">AtlasOfGroupRepresentationsInfo</code> (<a href="chap7.html#X7BEC94A6781E126E"><span class="RefLink">7.1-6</span></a>) coincides with computed values.</p>
<p>The following criterion is used for computing the value for a group <span class="SimpleMath">G</span>. Use the <strong class="pkg">GAP</strong> Character Table Library to determine factor groups <span class="SimpleMath">F</span> of <span class="SimpleMath">G</span> for which standard generators are defined and moreover a presentation in terms of these standard generators is known. Evaluate the relators of the presentation in the standard generators of <span class="SimpleMath">G</span>, and let <span class="SimpleMath">N</span> be the normal closure of these elements in <span class="SimpleMath">G</span>. Then mapping the standard generators of <span class="SimpleMath">F</span> to the <span class="SimpleMath">N</span>-cosets of the standard generators of <span class="SimpleMath">G</span> is an epimorphism. If <span class="SimpleMath">|G/N| = |F|</span> holds then <span class="SimpleMath">G/N</span> and <span class="SimpleMath">F</span> are isomorphic, and the standard generators of <span class="SimpleMath">G</span> and <span class="SimpleMath">F</span> are compatible in the sense that mapping the standard generators of <span class="SimpleMath">G</span> to their <span class="SimpleMath">N</span>-cosets yields standard generators of <span class="SimpleMath">F</span>.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.Test.CompatibleMaxes()</code></strong></dt>
<dd><p>checks whether the information about deriving straight line programs for restricting to subgroups from straight line programs that belong to a factor group coincide with computed values.</p>
<p>The following criterion is used for computing the value for a group <span class="SimpleMath">G</span>. If <span class="SimpleMath">F</span> is a factor group of <span class="SimpleMath">G</span> such that the standard generators of <span class="SimpleMath">G</span> and <span class="SimpleMath">F</span> are compatible (see the test function <code class="code">AGR.Test.StdCompatibility</code>) and if there are a presentation for <span class="SimpleMath">F</span> and a permutation representation of <span class="SimpleMath">G</span> then it is checked whether the <code class="code">"maxes"</code> type straight line programs for <span class="SimpleMath">F</span> can be used to compute generators for the maximal subgroups of <span class="SimpleMath">G</span>; if not then generators of the kernel of the natural epimorphism from <span class="SimpleMath">G</span> to <span class="SimpleMath">F</span>, must be added.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.Test.ClassScripts()</code></strong></dt>
<dd><p>checks whether the straight line programs that compute representatives of certain conjugacy classes are consistent with information stored on the <strong class="pkg">GAP</strong> character table of the group in question, in the sense that the given class names really occur in the character table and that the element orders and centralizer orders for the classes are correct.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.Test.CycToCcls()</code></strong></dt>
<dd><p>checks whether some straight line program that computes representatives of conjugacy classes of a group can be computed from the ordinary <strong class="pkg">GAP</strong> character table of that group and a straight line program that computes representatives of cyclic subgroups. In this case the missing scripts are printed if the level of <code class="func">InfoAtlasRep</code> (<a href="chap7.html#X8006BE167EB81E16"><span class="RefLink">7.1-1</span></a>) is at least <span class="SimpleMath">1</span>.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.Test.Standardization()</code></strong></dt>
<dd><p>checks whether all generating sets corresponding to the same set of standard generators have the same element orders; for the case that straight line programs for computing certain class representatives are available, also the orders of these representatives are checked w. r. t. all generating sets.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.Test.StdTomLib()</code></strong></dt>
<dd><p>checks whether the standard generators are compatible with those that occur in the <strong class="pkg">TomLib</strong> package.</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.Test.KernelGenerators()</code></strong></dt>
<dd><p>checks whether the information stored in the <code class="code">GAPnames</code> component of <code class="func">AtlasOfGroupRepresentationsInfo</code> (<a href="chap7.html#X7BEC94A6781E126E"><span class="RefLink">7.1-6</span></a>) about straight line programs for computing generators of the kernels of natural epimorphisms between <strong class="pkg">ATLAS</strong> groups coincides with computed values.</p>
<p>The following criterion is used for computing the value for a group <span class="SimpleMath">G</span>. Use the <strong class="pkg">GAP</strong> Character Table Library to determine factor groups <span class="SimpleMath">F</span> of <span class="SimpleMath">G</span> for which standard generators are defined such that mapping standard generators of <span class="SimpleMath">G</span> to those of <span class="SimpleMath">F</span> defines a homomorphism, and such that a presentation of <span class="SimpleMath">F</span> in terms of its standard generators is known. Evaluating the relators of the presentation in the standard generators of <span class="SimpleMath">G</span> yields normal subgroup generators for the kernel.</p>
<p>A message is printed for each group name for which some straight line program for computing kernel generators was not stored but now was computed, or for which the stored info cannot be verified,</p>
</dd>
<dt><strong class="Mark"><code class="code">AGR.Test.MinimalDegrees()</code></strong></dt>
<dd><p>checks that the (permutation and matrix) representations available in the <strong class="pkg">ATLAS</strong> of Group Representations do not have smaller degree than the claimed minimum.</p>
</dd>
</dl>
<div class="chlinkprevnextbot"> <a href="chap0.html">[Top of Book]</a> <a href="chap0.html#contents">[Contents]</a> <a href="chap6.html">[Previous Chapter]</a> <a href="chapBib.html">[Next Chapter]</a> </div>
<div class="chlinkbot"><span class="chlink1">Goto Chapter: </span><a href="chap0.html">Top</a> <a href="chap1.html">1</a> <a href="chap2.html">2</a> <a href="chap3.html">3</a> <a href="chap4.html">4</a> <a href="chap5.html">5</a> <a href="chap6.html">6</a> <a href="chap7.html">7</a> <a href="chapBib.html">Bib</a> <a href="chapInd.html">Ind</a> </div>
<hr />
<p class="foot">generated by <a href="http://www.math.rwth-aachen.de/~Frank.Luebeck/GAPDoc">GAPDoc2HTML</a></p>
</body>
</html>
|