diff --git a/doc/.gitignore b/doc/.gitignore deleted file mode 100644 index 369c34e..0000000 --- a/doc/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -## {{{1 gitkeep -* -!.gitignore -## }}}1 diff --git a/doc/_AutoDocMainFile.xml b/doc/_AutoDocMainFile.xml new file mode 100644 index 0000000..17936be --- /dev/null +++ b/doc/_AutoDocMainFile.xml @@ -0,0 +1,4 @@ + + + +<#Include SYSTEM "_Chapter_smallantimagmas_automatic_generated_documentation.xml"> diff --git a/doc/_Chapter_smallantimagmas_automatic_generated_documentation.xml b/doc/_Chapter_smallantimagmas_automatic_generated_documentation.xml new file mode 100644 index 0000000..e8b049d --- /dev/null +++ b/doc/_Chapter_smallantimagmas_automatic_generated_documentation.xml @@ -0,0 +1,586 @@ + + + + +smallantimagmas automatic generated documentation + +
+smallantimagmas automatic generated documentation of properties + + + + true or false + + + identifies whether magma M is antiassociative. +

+ IsAntiassociative(OneSmallGroup(16)); +false +gap> IsAntiassociative(OneSmallAntimagma(2)); +true +gap> IsAntiassociative(OneSmallAntimagma(3)); +true +]]> + + +

+ + + + + + + true or false + + + if magma is left cyclic m. + + + + + + + true or false + + + if magma is left cyclic m. + + + + + + + true or false + + + if magma is left cancellative m. +

+ M := SmallAntimagma(2, 1); + +gap> Display( MultiplicationTable(M) ); +[ [ 2, 1 ], + [ 2, 1 ] ] +gap> IsRightCancellative(M); +false +gap> IsLeftCancellative(M); +true +gap> List(AllSmallAntimagmas(2), M -> IsLeftCancellative(M)); +[ true, false ] +]]> + + +

+ + + + + + + true or false + + + if magma is right cancellative m. +

+ List(AllSmallAntimagmas(2), M -> IsRightCancellative(M)); +[ false, true ] +]]> + + +

+ + + + + + + true or false + + + if magma is cancellative m. +

+ List(AllSmallAntimagmas(2), M -> IsCancellative(M)); +[ false, false ] +]]> + + +

+ + + + +

+ + +
+smallantimagmas automatic generated documentation of attributes + + + + + identifies associativity index of M. +

+ OneSmallAntimagma(2); + +gap> AssociativityIndex(OneSmallAntimagma(2)); +0 +gap> OneSmallGroup(4); + +gap> AssociativityIndex(OneSmallGroup(4)); +64 +gap> AssociativityIndex(OneSmallGroup(4)) = 4 ^ 3; +true +]]> + + +

+ + + + + + + + computes diaognal of multiplication table of M. +

+ List(AllSmallAntimagmas(3), M -> DiagonalOfMultiplicationTable((M))); +[ [ 2, 1, 1 ], [ 2, 1, 1 ], + [ 2, 3, 2 ], [ 2, 1, 1 ], + [ 2, 1, 1 ], [ 2, 1, 2 ], + [ 2, 3, 2 ], [ 2, 1, 2 ], + [ 2, 3, 1 ], [ 2, 3, 1 ] +] +]]> + + +

+ + + + + + + + identifies commutativity index of M. +

+ + + +

+ + + + + + + + calculates anticommutativity index of M. +

+ + + +

+ + + + + + + + computes squares index of M so the order of \left\{ m^2 | m \in \right\}. +

+ List(AllSmallAntimagmas(2), M -> List(M, m -> m * m) ); +[ [ m2, m1 ], [ m2, m1 ] ] +gap> List(AllSmallAntimagmas(2), M -> SquaresIndex(M )); +[ 2, 2 ] +gap> List(AllSmallAntimagmas(3), M -> SquaresIndex(M )); +[ 2, 2, 2, 2, 2, 2, 2, 2, 3, 3 ] +]]> + + +

+ + + + + + + + identifies class of antiassociative magma M. +

+ IsAntiassociative(OneSmallGroup(16)); +false +gap> IsAntiassociative(OneSmallAntimagma(2)); +true +gap> IsAntiassociative(OneSmallAntimagma(3)); +true +]]> + + +

+ + + + + + + + returns a left order of element m. + + + + + + + + returns a right order of element m. + + + + + + + + returns a left order of element m. + + + + + + + + returns a left order of element m. + + + + +

+ + +
+smallantimagmas automatic generated documentation of global functions + + + + + builds a collection of non-isomorphic submagmas of M. +

+ AllSmallAntimagmas(2); +[ , ] +gap> List(AllSmallAntimagmas(2), M -> AllSubmagmas(M)); +[ [ ], [ ] ] +]]> + + +

+ + + + + + + + computes isomorphism invariants of M. + + + + + + + + identifies whether magmas M, N are isomorphic. +

+ M := SmallAntimagma(2, 1); + +gap> N := SmallAntimagma(2, 2); + +gap> T := MagmaByMultiplicationTable([ [2, 1], [2, 1] ]); + +gap> IsMagmaIsomorphic(M, M); +true +gap> IsMagmaIsomorphic(M, T); +true +gap> IsMagmaIsomorphic(M, N); +false +]]> + + +

+ + + + + + + + identifies whether magmas M, N are antiisomorphic. +

+ N := SmallAntimagma(2, 1); + +gap> M := SmallAntimagma(2, 1); + +gap> N := SmallAntimagma(2, 2); + +gap> IsMagmaAntiisomorphic(M, M); +false +gap> IsMagmaAntiisomorphic(M, N); +true +gap> IsMagmaAntiisomorphic(M, TransposedMagma(M)); +true +]]> + + +

+ + + + + + + + generates transposed magma M. +

+ M := SmallAntimagma(2, 1); + +gap> IsMagmaAntiisomorphic(M, TransposedMagma(M)); +true +gap> IsMagmaIsomorphic(M, TransposedMagma(TransposedMagma(M))); +true +gap> M := SmallAntimagma(2, 1); + +gap> Display(MultiplicationTable(M)); +[ [ 2, 1 ], + [ 2, 1 ] ] +gap> Display(MultiplicationTable(TransposedMagma(M))); +[ [ 2, 2 ], + [ 1, 1 ] ] +]]> + + +

+ + + + + + + + returns a left k-power of element m. + + + + + + + + returns a right k-power of element m. + + + + + + + + returns all antiassociative magmas of specified size n (a number) +

+ AllSmallAntimagmas(2); +[ , ] +gap> AllSmallAntimagmas(3); +[ + , , , + , , , + , , + , +] +]]> + + +

+ + + + + + + + counts number of antiassociative magmas of specified size n (a number). +

+ NrSmallAntimagmas(2); +2 +gap> NrSmallAntimagmas(3); +10 +gap> NrSmallAntimagmas(4); +17780 +]]> + + +

+ + + + + + + + returns antiassociative magma of id [n, i]. +

+ SmallAntimagma(2, 1); + +gap> SmallAntimagma(4, 5); + +]]> + + +

+ + + + + + + + returns a random antiassociative magma of size n. +

+ OneSmallAntimagma(2); + + +gap> OneSmallAntimagma(3); + +]]> + + +

+ + + + + + + + returns really-all antiassociative magmas, isomorphic, of specified size n (a number) +

+ ReallyAllSmallAntimagmas(2); +[ , ] +]]> + + +

+ + + + + + + + counts number of antiassociative magmas of specified size n (a number) +

+ ReallyNrSmallAntimagmas(3); +52 +]]> + + +

+ + + + + + + + returns all possible diagonals of multiplication table for [n]-antimagma. +

+ AntimagmaGeneratorPossibleDiagonals(2); +[ [ 2, 1 ] ] +gap> AntimagmaGeneratorPossibleDiagonals(3); +[ + [ 2, 1, 1 ], [ 2, 1, 2 ], [ 2, 3, 1 ], [ 2, 3, 2 ], + [ 3, 1, 1 ], [ 3, 1, 2 ], [ 3, 3, 1 ], [ 3, 3, 2 ] +] +]]> + + +

+ + + + + + + + filters non-isomorphic magmas m. + + + + +

+ + +
+smallantimagmas automatic generated documentation of methods + + + + + computes an isomoprhism between magmas M, N. +

+ M := SmallAntimagma(2, 1); + +gap> N := MagmaByMultiplicationTable([ [2, 1], [2, 1] ]); + +gap> MagmaIsomorphism(M, N); + Domain([ m1, m2 ]) > +]]> + + +

+ + + + + + + + creates an antiisomoprhism between magmas M, N. +

+ M := SmallAntimagma(2, 1); + +gap> N := SmallAntimagma(2, 2); + +gap> MagmaAntiisomorphism(M, N); + Domain([ m1, m2 ]) > +]]> + + +

+ + + + +

+ + +
+ diff --git a/doc/_Chunks.xml b/doc/_Chunks.xml new file mode 100644 index 0000000..e69de29 diff --git a/doc/_entities.xml b/doc/_entities.xml new file mode 100644 index 0000000..529f621 --- /dev/null +++ b/doc/_entities.xml @@ -0,0 +1 @@ +smallantimagmas'> diff --git a/doc/chap0.html b/doc/chap0.html new file mode 100644 index 0000000..bbe289d --- /dev/null +++ b/doc/chap0.html @@ -0,0 +1,125 @@ + + + + + + +GAP (smallantimagmas) - Contents + + + + + + + + + +
Goto Chapter: Top 1 Ind
+ +
 [Top of Book]  [Contents]   [Next Chapter] 
+ + +

+
+ +

smallantimagmas

+ + +

A fork of smallgrp package for small antiassociative magmas

+ +

+ 0.2.0

+ +

+ 28 August 2024 +

+ +
+

+ Kamil Zabielski + + + +
Address:
Department of Theoretical Computer Science
Białystok University of Technology
Wiejska 45A
15-325 Białystok
Poland
+

+ +

+

Copyright

+

© 2024 by Kamil Zabielski

+ +

smallantimagmas package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

+ +

+

Acknowledgements

+

We appreciate very much all past and future comments, suggestions and contributions to this package and its documentation provided by GAP users and developers.

+ +

+ +
+

Contents

+ +
1 smallantimagmas automatic generated documentation + + + + +
+
Index
+
+
+ +
 [Top of Book]  [Contents]   [Next Chapter] 
+ + +
Goto Chapter: Top 1 Ind
+ +
+

generated by GAPDoc2HTML

+ + diff --git a/doc/chap0.txt b/doc/chap0.txt new file mode 100644 index 0000000..fe9d891 --- /dev/null +++ b/doc/chap0.txt @@ -0,0 +1,83 @@ + + +  smallantimagmas  + + +  A fork of smallgrp package for small antiassociative magmas  + + + 0.2.0 + + + 28 August 2024 + + + Kamil Zabielski + + + + + ------------------------------------------------------- + Copyright + © 2024 by Kamil Zabielski + + smallantimagmas package is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + (http://www.fsf.org/licenses/gpl.html) as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any later + version. + + + ------------------------------------------------------- + Acknowledgements + We appreciate very much all past and future comments, suggestions and + contributions to this package and its documentation provided by GAP users + and developers. + + + ------------------------------------------------------- + + + Contents (smallantimagmas) + + 1 smallantimagmas automatic generated documentation + 1.1 smallantimagmas automatic generated documentation of properties + 1.1-1 IsAntiassociative + 1.1-2 IsLeftCyclic + 1.1-3 IsRightCyclic + 1.1-4 IsLeftCancellative + 1.1-5 IsRightCancellative + 1.1-6 IsCancellative + 1.2 smallantimagmas automatic generated documentation of attributes + 1.2-1 AssociativityIndex + 1.2-2 DiagonalOfMultiplicationTable + 1.2-3 CommutativityIndex + 1.2-4 AnticommutativityIndex + 1.2-5 SquaresIndex + 1.2-6 IdSmallAntimagma + 1.2-7 LeftOrder + 1.2-8 RightOrder + 1.2-9 LeftOrdersOfElements + 1.2-10 RightOrdersOfElements + 1.3 smallantimagmas automatic generated documentation of global functions + 1.3-1 AllSubmagmas + 1.3-2 MagmaIsomorphismInvariantsMatch + 1.3-3 IsMagmaIsomorphic + 1.3-4 IsMagmaAntiisomorphic + 1.3-5 TransposedMagma + 1.3-6 LeftPower + 1.3-7 RightPower + 1.3-8 AllSmallAntimagmas + 1.3-9 NrSmallAntimagmas + 1.3-10 SmallAntimagma + 1.3-11 OneSmallAntimagma + 1.3-12 ReallyAllSmallAntimagmas + 1.3-13 ReallyNrSmallAntimagmas + 1.3-14 AntimagmaGeneratorPossibleDiagonals + 1.3-15 AntimagmaGeneratorFilterNonIsomorphicMagmas + 1.4 smallantimagmas automatic generated documentation of methods + 1.4-1 MagmaIsomorphism + 1.4-2 MagmaAntiisomorphism + + +  diff --git a/doc/chap0_mj.html b/doc/chap0_mj.html new file mode 100644 index 0000000..359a701 --- /dev/null +++ b/doc/chap0_mj.html @@ -0,0 +1,128 @@ + + + + + + + +GAP (smallantimagmas) - Contents + + + + + + + + + +
Goto Chapter: Top 1 Ind
+ +
 [Top of Book]  [Contents]   [Next Chapter] 
+ + +

+
+ +

smallantimagmas

+ + +

A fork of smallgrp package for small antiassociative magmas

+ +

+ 0.2.0

+ +

+ 28 August 2024 +

+ +
+

+ Kamil Zabielski + + + +
Address:
Department of Theoretical Computer Science
Białystok University of Technology
Wiejska 45A
15-325 Białystok
Poland
+

+ +

+

Copyright

+

© 2024 by Kamil Zabielski

+ +

smallantimagmas package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

+ +

+

Acknowledgements

+

We appreciate very much all past and future comments, suggestions and contributions to this package and its documentation provided by GAP users and developers.

+ +

+ +
+

Contents

+ +
1 smallantimagmas automatic generated documentation + + + + +
+
Index
+
+
+ +
 [Top of Book]  [Contents]   [Next Chapter] 
+ + +
Goto Chapter: Top 1 Ind
+ +
+

generated by GAPDoc2HTML

+ + diff --git a/doc/chap1.html b/doc/chap1.html new file mode 100644 index 0000000..35570e9 --- /dev/null +++ b/doc/chap1.html @@ -0,0 +1,578 @@ + + + + + + +GAP (smallantimagmas) - Chapter 1: smallantimagmas automatic generated documentation + + + + + + + + + +
Goto Chapter: Top 1 Ind
+ +
 [Top of Book]  [Contents]   [Previous Chapter]   [Next Chapter] 
+ + +

+
1 smallantimagmas automatic generated documentation +
 1.1 smallantimagmas automatic generated documentation of properties + +
+
 1.2 smallantimagmas automatic generated documentation of attributes + +
+
 1.3 smallantimagmas automatic generated documentation of global functions + +
+
 1.4 smallantimagmas automatic generated documentation of methods + +
+
+ +

1 smallantimagmas automatic generated documentation

+ +

+ +

1.1 smallantimagmas automatic generated documentation of properties

+ +

+ +
1.1-1 IsAntiassociative
+ +
‣ IsAntiassociative( M )( property )
+

Returns: true or false

+ +

identifies whether magma M is antiassociative.

+ + +
+gap> IsAntiassociative(OneSmallGroup(16));
+false
+gap> IsAntiassociative(OneSmallAntimagma(2));
+true
+gap> IsAntiassociative(OneSmallAntimagma(3));
+true
+
+ +

+ +
1.1-2 IsLeftCyclic
+ +
‣ IsLeftCyclic( M )( property )
+

Returns: true or false

+ +

if magma is left cyclic m.

+ +

+ +
1.1-3 IsRightCyclic
+ +
‣ IsRightCyclic( M )( property )
+

Returns: true or false

+ +

if magma is left cyclic m.

+ +

+ +
1.1-4 IsLeftCancellative
+ +
‣ IsLeftCancellative( M )( property )
+

Returns: true or false

+ +

if magma is left cancellative m.

+ + +
+gap> M := SmallAntimagma(2, 1);
+<magma with 2 generators>
+gap> Display( MultiplicationTable(M) );
+[ [  2,  1 ],
+  [  2,  1 ] ]
+gap> IsRightCancellative(M);
+false
+gap> IsLeftCancellative(M);
+true
+gap> List(AllSmallAntimagmas(2), M -> IsLeftCancellative(M));
+[ true, false ]
+
+ +

+ +
1.1-5 IsRightCancellative
+ +
‣ IsRightCancellative( M )( property )
+

Returns: true or false

+ +

if magma is right cancellative m.

+ + +
+gap> List(AllSmallAntimagmas(2), M -> IsRightCancellative(M));
+[ false, true ]
+
+ +

+ +
1.1-6 IsCancellative
+ +
‣ IsCancellative( M )( property )
+

Returns: true or false

+ +

if magma is cancellative m.

+ + +
+gap> List(AllSmallAntimagmas(2), M -> IsCancellative(M));
+[ false, false ]
+
+ +

+ +

1.2 smallantimagmas automatic generated documentation of attributes

+ +

+ +
1.2-1 AssociativityIndex
+ +
‣ AssociativityIndex( M )( attribute )
+

identifies associativity index of M.

+ + +
+gap> OneSmallAntimagma(2);
+<magma with 2 generators>
+gap> AssociativityIndex(OneSmallAntimagma(2));
+0
+gap> OneSmallGroup(4);
+<pc group of size 4 with 2 generators>
+gap> AssociativityIndex(OneSmallGroup(4));
+64
+gap> AssociativityIndex(OneSmallGroup(4)) = 4 ^ 3;
+true
+
+ +

+ +
1.2-2 DiagonalOfMultiplicationTable
+ +
‣ DiagonalOfMultiplicationTable( M )( attribute )
+

computes diaognal of multiplication table of M.

+ + +
+gap> List(AllSmallAntimagmas(3), M -> DiagonalOfMultiplicationTable((M)));                
+[ [ 2, 1, 1 ], [ 2, 1, 1 ], 
+  [ 2, 3, 2 ], [ 2, 1, 1 ], 
+  [ 2, 1, 1 ], [ 2, 1, 2 ], 
+  [ 2, 3, 2 ], [ 2, 1, 2 ], 
+  [ 2, 3, 1 ], [ 2, 3, 1 ]
+]
+
+ +

+ +
1.2-3 CommutativityIndex
+ +
‣ CommutativityIndex( M )( attribute )
+

identifies commutativity index of M.

+ + +
+
+
+ +

+ +
1.2-4 AnticommutativityIndex
+ +
‣ AnticommutativityIndex( M )( attribute )
+

calculates anticommutativity index of M.

+ + +
+
+ +

+ +
1.2-5 SquaresIndex
+ +
‣ SquaresIndex( M )( attribute )
+

computes squares index of M so the order of \left\{ m^2 | m \in \right\}.

+ + +
+gap> List(AllSmallAntimagmas(2), M -> List(M, m -> m * m) );                
+[ [ m2, m1 ], [ m2, m1 ] ]
+gap> List(AllSmallAntimagmas(2), M -> SquaresIndex(M ));
+[ 2, 2 ]
+gap> List(AllSmallAntimagmas(3), M -> SquaresIndex(M ));
+[ 2, 2, 2, 2, 2, 2, 2, 2, 3, 3 ]
+
+ +

+ +
1.2-6 IdSmallAntimagma
+ +
‣ IdSmallAntimagma( M )( attribute )
+

identifies class of antiassociative magma M.

+ + +
+gap> IsAntiassociative(OneSmallGroup(16));
+false
+gap> IsAntiassociative(OneSmallAntimagma(2));
+true
+gap> IsAntiassociative(OneSmallAntimagma(3));
+true
+
+ +

+ +
1.2-7 LeftOrder
+ +
‣ LeftOrder( [m] )( attribute )
+

returns a left order of element m.

+ +

+ +
1.2-8 RightOrder
+ +
‣ RightOrder( [m] )( attribute )
+

returns a right order of element m.

+ +

+ +
1.2-9 LeftOrdersOfElements
+ +
‣ LeftOrdersOfElements( [m] )( attribute )
+

returns a left order of element m.

+ +

+ +
1.2-10 RightOrdersOfElements
+ +
‣ RightOrdersOfElements( [m] )( attribute )
+

returns a left order of element m.

+ +

+ +

1.3 smallantimagmas automatic generated documentation of global functions

+ +

+ +
1.3-1 AllSubmagmas
+ +
‣ AllSubmagmas( M )( function )
+

builds a collection of non-isomorphic submagmas of M.

+ + +
+gap> AllSmallAntimagmas(2);
+[ <magma with 2 generators>, <magma with 2 generators> ]
+gap> List(AllSmallAntimagmas(2), M -> AllSubmagmas(M));
+[ [ <magma with 1 generator> ], [ <magma with 1 generator> ] ]
+
+ +

+ +
1.3-2 MagmaIsomorphismInvariantsMatch
+ +
‣ MagmaIsomorphismInvariantsMatch( M )( function )
+

computes isomorphism invariants of M.

+ +

+ +
1.3-3 IsMagmaIsomorphic
+ +
‣ IsMagmaIsomorphic( M, N )( function )
+

identifies whether magmas M, N are isomorphic.

+ + +
+gap> M := SmallAntimagma(2, 1);
+<magma with 2 generators>
+gap> N := SmallAntimagma(2, 2);
+<magma with 2 generators>
+gap> T := MagmaByMultiplicationTable([ [2, 1], [2, 1] ]);
+<magma with 2 generators>
+gap> IsMagmaIsomorphic(M, M);
+true
+gap> IsMagmaIsomorphic(M, T);
+true
+gap> IsMagmaIsomorphic(M, N);
+false
+
+ +

+ +
1.3-4 IsMagmaAntiisomorphic
+ +
‣ IsMagmaAntiisomorphic( [M, N] )( function )
+

identifies whether magmas M, N are antiisomorphic.

+ + +
+gap> N := SmallAntimagma(2, 1);
+<magma with 2 generators>
+gap> M := SmallAntimagma(2, 1);
+<magma with 2 generators>
+gap> N := SmallAntimagma(2, 2);
+<magma with 2 generators>
+gap> IsMagmaAntiisomorphic(M, M);
+false
+gap> IsMagmaAntiisomorphic(M, N);
+true
+gap> IsMagmaAntiisomorphic(M, TransposedMagma(M));
+true
+
+ +

+ +
1.3-5 TransposedMagma
+ +
‣ TransposedMagma( [M] )( function )
+

generates transposed magma M.

+ + +
+gap> M := SmallAntimagma(2, 1);
+<magma with 2 generators>
+gap> IsMagmaAntiisomorphic(M, TransposedMagma(M));
+true
+gap> IsMagmaIsomorphic(M, TransposedMagma(TransposedMagma(M)));
+true
+gap> M := SmallAntimagma(2, 1);
+<magma with 2 generators>
+gap> Display(MultiplicationTable(M));
+[ [  2,  1 ],
+  [  2,  1 ] ]
+gap> Display(MultiplicationTable(TransposedMagma(M)));
+[ [  2,  2 ],
+  [  1,  1 ] ]
+
+ +

+ +
1.3-6 LeftPower
+ +
‣ LeftPower( [m, k] )( function )
+

returns a left k-power of element m.

+ +

+ +
1.3-7 RightPower
+ +
‣ RightPower( [m, k] )( function )
+

returns a right k-power of element m.

+ +

+ +
1.3-8 AllSmallAntimagmas
+ +
‣ AllSmallAntimagmas( n )( function )
+

returns all antiassociative magmas of specified size n (a number)

+ + +
+gap> AllSmallAntimagmas(2);
+[ <magma with 2 generators>, <magma with 2 generators> ]
+gap> AllSmallAntimagmas(3);
+[ 
+  <magma with 3 generators>, <magma with 3 generators>, <magma with 3 generators>,
+  <magma with 3 generators>, <magma with 3 generators>, <magma with 3 generators>,
+  <magma with 3 generators>, <magma with 3 generators>,
+  <magma with 3 generators>, <magma with 3 generators>
+]
+
+ +

+ +
1.3-9 NrSmallAntimagmas
+ +
‣ NrSmallAntimagmas( n )( function )
+

counts number of antiassociative magmas of specified size n (a number).

+ + +
+gap> NrSmallAntimagmas(2);
+2
+gap> NrSmallAntimagmas(3);
+10
+gap> NrSmallAntimagmas(4);
+17780
+
+ +

+ +
1.3-10 SmallAntimagma
+ +
‣ SmallAntimagma( n, i )( function )
+

returns antiassociative magma of id [n, i].

+ + +
+gap> SmallAntimagma(2, 1);
+<magma with 2 generators>
+gap> SmallAntimagma(4, 5);
+<magma with 4 generators>
+
+ +

+ +
1.3-11 OneSmallAntimagma
+ +
‣ OneSmallAntimagma( n )( function )
+

returns a random antiassociative magma of size n.

+ + +
+gap> OneSmallAntimagma(2);
+<magma with 2 generators>
+
+gap> OneSmallAntimagma(3);
+<magma with 3 generators>
+
+ +

+ +
1.3-12 ReallyAllSmallAntimagmas
+ +
‣ ReallyAllSmallAntimagmas( n )( function )
+

returns really-all antiassociative magmas, isomorphic, of specified size n (a number)

+ + +
+gap> ReallyAllSmallAntimagmas(2);
+[ <magma with 2 generators>, <magma with 2 generators> ]
+
+ +

+ +
1.3-13 ReallyNrSmallAntimagmas
+ +
‣ ReallyNrSmallAntimagmas( n )( function )
+

counts number of antiassociative magmas of specified size n (a number)

+ + +
+gap> ReallyNrSmallAntimagmas(3);
+52
+
+ +

+ +
1.3-14 AntimagmaGeneratorPossibleDiagonals
+ +
‣ AntimagmaGeneratorPossibleDiagonals( n )( function )
+

returns all possible diagonals of multiplication table for [n]-antimagma.

+ + +
+gap> AntimagmaGeneratorPossibleDiagonals(2);
+[ [ 2, 1 ] ]
+gap> AntimagmaGeneratorPossibleDiagonals(3);
+[ 
+  [ 2, 1, 1 ], [ 2, 1, 2 ], [ 2, 3, 1 ], [ 2, 3, 2 ], 
+  [ 3, 1, 1 ], [ 3, 1, 2 ], [ 3, 3, 1 ], [ 3, 3, 2 ] 
+]
+
+ +

+ +
1.3-15 AntimagmaGeneratorFilterNonIsomorphicMagmas
+ +
‣ AntimagmaGeneratorFilterNonIsomorphicMagmas( Ms )( function )
+

filters non-isomorphic magmas m.

+ +

+ +

1.4 smallantimagmas automatic generated documentation of methods

+ +

+ +
1.4-1 MagmaIsomorphism
+ +
‣ MagmaIsomorphism( M, N )( operation )
+

computes an isomoprhism between magmas M, N.

+ + +
+gap> M := SmallAntimagma(2, 1);
+<magma with 2 generators>
+gap> N := MagmaByMultiplicationTable([ [2, 1], [2, 1] ]);
+<magma with 2 generators>
+gap> MagmaIsomorphism(M, N);
+<mapping: Domain([ m1, m2 ]) -> Domain([ m1, m2 ]) >
+
+ +

+ +
1.4-2 MagmaAntiisomorphism
+ +
‣ MagmaAntiisomorphism( M, N )( operation )
+

creates an antiisomoprhism between magmas M, N.

+ + +
+gap> M := SmallAntimagma(2, 1);
+<magma with 2 generators>
+gap> N := SmallAntimagma(2, 2);
+<magma with 2 generators>
+gap> MagmaAntiisomorphism(M, N);
+<mapping: Domain([ m1, m2 ]) -> Domain([ m1, m2 ]) >
+
+ + +
 [Top of Book]  [Contents]   [Previous Chapter]   [Next Chapter] 
+ + +
Goto Chapter: Top 1 Ind
+ +
+

generated by GAPDoc2HTML

+ + diff --git a/doc/chap1.txt b/doc/chap1.txt new file mode 100644 index 0000000..7a7bc52 --- /dev/null +++ b/doc/chap1.txt @@ -0,0 +1,429 @@ + + 1 smallantimagmas automatic generated documentation + + + 1.1 smallantimagmas automatic generated documentation of properties + + 1.1-1 IsAntiassociative + + IsAntiassociative( M )  property + Returns: true or false + + identifies whether magma M is antiassociative. + +  Example  + gap> IsAntiassociative(OneSmallGroup(16)); + false + gap> IsAntiassociative(OneSmallAntimagma(2)); + true + gap> IsAntiassociative(OneSmallAntimagma(3)); + true +  + + 1.1-2 IsLeftCyclic + + IsLeftCyclic( M )  property + Returns: true or false + + if magma is left cyclic m. + + 1.1-3 IsRightCyclic + + IsRightCyclic( M )  property + Returns: true or false + + if magma is left cyclic m. + + 1.1-4 IsLeftCancellative + + IsLeftCancellative( M )  property + Returns: true or false + + if magma is left cancellative m. + +  Example  + gap> M := SmallAntimagma(2, 1); +  + gap> Display( MultiplicationTable(M) ); + [ [ 2, 1 ], +  [ 2, 1 ] ] + gap> IsRightCancellative(M); + false + gap> IsLeftCancellative(M); + true + gap> List(AllSmallAntimagmas(2), M -> IsLeftCancellative(M)); + [ true, false ] +  + + 1.1-5 IsRightCancellative + + IsRightCancellative( M )  property + Returns: true or false + + if magma is right cancellative m. + +  Example  + gap> List(AllSmallAntimagmas(2), M -> IsRightCancellative(M)); + [ false, true ] +  + + 1.1-6 IsCancellative + + IsCancellative( M )  property + Returns: true or false + + if magma is cancellative m. + +  Example  + gap> List(AllSmallAntimagmas(2), M -> IsCancellative(M)); + [ false, false ] +  + + + 1.2 smallantimagmas automatic generated documentation of attributes + + 1.2-1 AssociativityIndex + + AssociativityIndex( M )  attribute + + identifies associativity index of M. + +  Example  + gap> OneSmallAntimagma(2); +  + gap> AssociativityIndex(OneSmallAntimagma(2)); + 0 + gap> OneSmallGroup(4); +  + gap> AssociativityIndex(OneSmallGroup(4)); + 64 + gap> AssociativityIndex(OneSmallGroup(4)) = 4 ^ 3; + true +  + + 1.2-2 DiagonalOfMultiplicationTable + + DiagonalOfMultiplicationTable( M )  attribute + + computes diaognal of multiplication table of M. + +  Example  + gap> List(AllSmallAntimagmas(3), M -> DiagonalOfMultiplicationTable((M)));  + [ [ 2, 1, 1 ], [ 2, 1, 1 ],  +  [ 2, 3, 2 ], [ 2, 1, 1 ],  +  [ 2, 1, 1 ], [ 2, 1, 2 ],  +  [ 2, 3, 2 ], [ 2, 1, 2 ],  +  [ 2, 3, 1 ], [ 2, 3, 1 ] + ] +  + + 1.2-3 CommutativityIndex + + CommutativityIndex( M )  attribute + + identifies commutativity index of M. + +  Example  +  +  + + 1.2-4 AnticommutativityIndex + + AnticommutativityIndex( M )  attribute + + calculates anticommutativity index of M. + +  Example  +  + + 1.2-5 SquaresIndex + + SquaresIndex( M )  attribute + + computes squares index of M so the order of \left\{ m^2 | m \in \right\}. + +  Example  + gap> List(AllSmallAntimagmas(2), M -> List(M, m -> m * m) );  + [ [ m2, m1 ], [ m2, m1 ] ] + gap> List(AllSmallAntimagmas(2), M -> SquaresIndex(M )); + [ 2, 2 ] + gap> List(AllSmallAntimagmas(3), M -> SquaresIndex(M )); + [ 2, 2, 2, 2, 2, 2, 2, 2, 3, 3 ] +  + + 1.2-6 IdSmallAntimagma + + IdSmallAntimagma( M )  attribute + + identifies class of antiassociative magma M. + +  Example  + gap> IsAntiassociative(OneSmallGroup(16)); + false + gap> IsAntiassociative(OneSmallAntimagma(2)); + true + gap> IsAntiassociative(OneSmallAntimagma(3)); + true +  + + 1.2-7 LeftOrder + + LeftOrder( [m] )  attribute + + returns a left order of element m. + + 1.2-8 RightOrder + + RightOrder( [m] )  attribute + + returns a right order of element m. + + 1.2-9 LeftOrdersOfElements + + LeftOrdersOfElements( [m] )  attribute + + returns a left order of element m. + + 1.2-10 RightOrdersOfElements + + RightOrdersOfElements( [m] )  attribute + + returns a left order of element m. + + + 1.3 smallantimagmas automatic generated documentation of global functions + + 1.3-1 AllSubmagmas + + AllSubmagmas( M )  function + + builds a collection of non-isomorphic submagmas of M. + +  Example  + gap> AllSmallAntimagmas(2); + [ , ] + gap> List(AllSmallAntimagmas(2), M -> AllSubmagmas(M)); + [ [ ], [ ] ] +  + + 1.3-2 MagmaIsomorphismInvariantsMatch + + MagmaIsomorphismInvariantsMatch( M )  function + + computes isomorphism invariants of M. + + 1.3-3 IsMagmaIsomorphic + + IsMagmaIsomorphic( M, N )  function + + identifies whether magmas M, N are isomorphic. + +  Example  + gap> M := SmallAntimagma(2, 1); +  + gap> N := SmallAntimagma(2, 2); +  + gap> T := MagmaByMultiplicationTable([ [2, 1], [2, 1] ]); +  + gap> IsMagmaIsomorphic(M, M); + true + gap> IsMagmaIsomorphic(M, T); + true + gap> IsMagmaIsomorphic(M, N); + false +  + + 1.3-4 IsMagmaAntiisomorphic + + IsMagmaAntiisomorphic( [M, N] )  function + + identifies whether magmas M, N are antiisomorphic. + +  Example  + gap> N := SmallAntimagma(2, 1); +  + gap> M := SmallAntimagma(2, 1); +  + gap> N := SmallAntimagma(2, 2); +  + gap> IsMagmaAntiisomorphic(M, M); + false + gap> IsMagmaAntiisomorphic(M, N); + true + gap> IsMagmaAntiisomorphic(M, TransposedMagma(M)); + true +  + + 1.3-5 TransposedMagma + + TransposedMagma( [M] )  function + + generates transposed magma M. + +  Example  + gap> M := SmallAntimagma(2, 1); +  + gap> IsMagmaAntiisomorphic(M, TransposedMagma(M)); + true + gap> IsMagmaIsomorphic(M, TransposedMagma(TransposedMagma(M))); + true + gap> M := SmallAntimagma(2, 1); +  + gap> Display(MultiplicationTable(M)); + [ [ 2, 1 ], +  [ 2, 1 ] ] + gap> Display(MultiplicationTable(TransposedMagma(M))); + [ [ 2, 2 ], +  [ 1, 1 ] ] +  + + 1.3-6 LeftPower + + LeftPower( [m, k] )  function + + returns a left k-power of element m. + + 1.3-7 RightPower + + RightPower( [m, k] )  function + + returns a right k-power of element m. + + 1.3-8 AllSmallAntimagmas + + AllSmallAntimagmas( n )  function + + returns all antiassociative magmas of specified size n (a number) + +  Example  + gap> AllSmallAntimagmas(2); + [ , ] + gap> AllSmallAntimagmas(3); + [  +  , , , +  , , , +  , , +  ,  + ] +  + + 1.3-9 NrSmallAntimagmas + + NrSmallAntimagmas( n )  function + + counts number of antiassociative magmas of specified size n (a number). + +  Example  + gap> NrSmallAntimagmas(2); + 2 + gap> NrSmallAntimagmas(3); + 10 + gap> NrSmallAntimagmas(4); + 17780 +  + + 1.3-10 SmallAntimagma + + SmallAntimagma( n, i )  function + + returns antiassociative magma of id [n, i]. + +  Example  + gap> SmallAntimagma(2, 1); +  + gap> SmallAntimagma(4, 5); +  +  + + 1.3-11 OneSmallAntimagma + + OneSmallAntimagma( n )  function + + returns a random antiassociative magma of size n. + +  Example  + gap> OneSmallAntimagma(2); +  +  + gap> OneSmallAntimagma(3); +  +  + + 1.3-12 ReallyAllSmallAntimagmas + + ReallyAllSmallAntimagmas( n )  function + + returns really-all antiassociative magmas, isomorphic, of specified size n + (a number) + +  Example  + gap> ReallyAllSmallAntimagmas(2); + [ , ] +  + + 1.3-13 ReallyNrSmallAntimagmas + + ReallyNrSmallAntimagmas( n )  function + + counts number of antiassociative magmas of specified size n (a number) + +  Example  + gap> ReallyNrSmallAntimagmas(3); + 52 +  + + 1.3-14 AntimagmaGeneratorPossibleDiagonals + + AntimagmaGeneratorPossibleDiagonals( n )  function + + returns all possible diagonals of multiplication table for [n]-antimagma. + +  Example  + gap> AntimagmaGeneratorPossibleDiagonals(2); + [ [ 2, 1 ] ] + gap> AntimagmaGeneratorPossibleDiagonals(3); + [  +  [ 2, 1, 1 ], [ 2, 1, 2 ], [ 2, 3, 1 ], [ 2, 3, 2 ],  +  [ 3, 1, 1 ], [ 3, 1, 2 ], [ 3, 3, 1 ], [ 3, 3, 2 ]  + ] +  + + 1.3-15 AntimagmaGeneratorFilterNonIsomorphicMagmas + + AntimagmaGeneratorFilterNonIsomorphicMagmas( Ms )  function + + filters non-isomorphic magmas m. + + + 1.4 smallantimagmas automatic generated documentation of methods + + 1.4-1 MagmaIsomorphism + + MagmaIsomorphism( M, N )  operation + + computes an isomoprhism between magmas M, N. + +  Example  + gap> M := SmallAntimagma(2, 1); +  + gap> N := MagmaByMultiplicationTable([ [2, 1], [2, 1] ]); +  + gap> MagmaIsomorphism(M, N); +  Domain([ m1, m2 ]) > +  + + 1.4-2 MagmaAntiisomorphism + + MagmaAntiisomorphism( M, N )  operation + + creates an antiisomoprhism between magmas M, N. + +  Example  + gap> M := SmallAntimagma(2, 1); +  + gap> N := SmallAntimagma(2, 2); +  + gap> MagmaAntiisomorphism(M, N); +  Domain([ m1, m2 ]) > +  + diff --git a/doc/chap1_mj.html b/doc/chap1_mj.html new file mode 100644 index 0000000..62785d9 --- /dev/null +++ b/doc/chap1_mj.html @@ -0,0 +1,581 @@ + + + + + + + +GAP (smallantimagmas) - Chapter 1: smallantimagmas automatic generated documentation + + + + + + + + + +
Goto Chapter: Top 1 Ind
+ + + + +

+ + +

1 smallantimagmas automatic generated documentation

+ +

+ +

1.1 smallantimagmas automatic generated documentation of properties

+ +

+ +
1.1-1 IsAntiassociative
+ +
‣ IsAntiassociative( M )( property )
+

Returns: true or false

+ +

identifies whether magma M is antiassociative.

+ + +
+gap> IsAntiassociative(OneSmallGroup(16));
+false
+gap> IsAntiassociative(OneSmallAntimagma(2));
+true
+gap> IsAntiassociative(OneSmallAntimagma(3));
+true
+
+ +

+ +
1.1-2 IsLeftCyclic
+ +
‣ IsLeftCyclic( M )( property )
+

Returns: true or false

+ +

if magma is left cyclic m.

+ +

+ +
1.1-3 IsRightCyclic
+ +
‣ IsRightCyclic( M )( property )
+

Returns: true or false

+ +

if magma is left cyclic m.

+ +

+ +
1.1-4 IsLeftCancellative
+ +
‣ IsLeftCancellative( M )( property )
+

Returns: true or false

+ +

if magma is left cancellative m.

+ + +
+gap> M := SmallAntimagma(2, 1);
+<magma with 2 generators>
+gap> Display( MultiplicationTable(M) );
+[ [  2,  1 ],
+  [  2,  1 ] ]
+gap> IsRightCancellative(M);
+false
+gap> IsLeftCancellative(M);
+true
+gap> List(AllSmallAntimagmas(2), M -> IsLeftCancellative(M));
+[ true, false ]
+
+ +

+ +
1.1-5 IsRightCancellative
+ +
‣ IsRightCancellative( M )( property )
+

Returns: true or false

+ +

if magma is right cancellative m.

+ + +
+gap> List(AllSmallAntimagmas(2), M -> IsRightCancellative(M));
+[ false, true ]
+
+ +

+ +
1.1-6 IsCancellative
+ +
‣ IsCancellative( M )( property )
+

Returns: true or false

+ +

if magma is cancellative m.

+ + +
+gap> List(AllSmallAntimagmas(2), M -> IsCancellative(M));
+[ false, false ]
+
+ +

+ +

1.2 smallantimagmas automatic generated documentation of attributes

+ +

+ +
1.2-1 AssociativityIndex
+ +
‣ AssociativityIndex( M )( attribute )
+

identifies associativity index of M.

+ + +
+gap> OneSmallAntimagma(2);
+<magma with 2 generators>
+gap> AssociativityIndex(OneSmallAntimagma(2));
+0
+gap> OneSmallGroup(4);
+<pc group of size 4 with 2 generators>
+gap> AssociativityIndex(OneSmallGroup(4));
+64
+gap> AssociativityIndex(OneSmallGroup(4)) = 4 ^ 3;
+true
+
+ +

+ +
1.2-2 DiagonalOfMultiplicationTable
+ +
‣ DiagonalOfMultiplicationTable( M )( attribute )
+

computes diaognal of multiplication table of M.

+ + +
+gap> List(AllSmallAntimagmas(3), M -> DiagonalOfMultiplicationTable((M)));                
+[ [ 2, 1, 1 ], [ 2, 1, 1 ], 
+  [ 2, 3, 2 ], [ 2, 1, 1 ], 
+  [ 2, 1, 1 ], [ 2, 1, 2 ], 
+  [ 2, 3, 2 ], [ 2, 1, 2 ], 
+  [ 2, 3, 1 ], [ 2, 3, 1 ]
+]
+
+ +

+ +
1.2-3 CommutativityIndex
+ +
‣ CommutativityIndex( M )( attribute )
+

identifies commutativity index of M.

+ + +
+
+
+ +

+ +
1.2-4 AnticommutativityIndex
+ +
‣ AnticommutativityIndex( M )( attribute )
+

calculates anticommutativity index of M.

+ + +
+
+ +

+ +
1.2-5 SquaresIndex
+ +
‣ SquaresIndex( M )( attribute )
+

computes squares index of M so the order of \(\left\{ m^2 | m \in \right\}\).

+ + +
+gap> List(AllSmallAntimagmas(2), M -> List(M, m -> m * m) );                
+[ [ m2, m1 ], [ m2, m1 ] ]
+gap> List(AllSmallAntimagmas(2), M -> SquaresIndex(M ));
+[ 2, 2 ]
+gap> List(AllSmallAntimagmas(3), M -> SquaresIndex(M ));
+[ 2, 2, 2, 2, 2, 2, 2, 2, 3, 3 ]
+
+ +

+ +
1.2-6 IdSmallAntimagma
+ +
‣ IdSmallAntimagma( M )( attribute )
+

identifies class of antiassociative magma M.

+ + +
+gap> IsAntiassociative(OneSmallGroup(16));
+false
+gap> IsAntiassociative(OneSmallAntimagma(2));
+true
+gap> IsAntiassociative(OneSmallAntimagma(3));
+true
+
+ +

+ +
1.2-7 LeftOrder
+ +
‣ LeftOrder( [m] )( attribute )
+

returns a left order of element m.

+ +

+ +
1.2-8 RightOrder
+ +
‣ RightOrder( [m] )( attribute )
+

returns a right order of element m.

+ +

+ +
1.2-9 LeftOrdersOfElements
+ +
‣ LeftOrdersOfElements( [m] )( attribute )
+

returns a left order of element m.

+ +

+ +
1.2-10 RightOrdersOfElements
+ +
‣ RightOrdersOfElements( [m] )( attribute )
+

returns a left order of element m.

+ +

+ +

1.3 smallantimagmas automatic generated documentation of global functions

+ +

+ +
1.3-1 AllSubmagmas
+ +
‣ AllSubmagmas( M )( function )
+

builds a collection of non-isomorphic submagmas of M.

+ + +
+gap> AllSmallAntimagmas(2);
+[ <magma with 2 generators>, <magma with 2 generators> ]
+gap> List(AllSmallAntimagmas(2), M -> AllSubmagmas(M));
+[ [ <magma with 1 generator> ], [ <magma with 1 generator> ] ]
+
+ +

+ +
1.3-2 MagmaIsomorphismInvariantsMatch
+ +
‣ MagmaIsomorphismInvariantsMatch( M )( function )
+

computes isomorphism invariants of M.

+ +

+ +
1.3-3 IsMagmaIsomorphic
+ +
‣ IsMagmaIsomorphic( M, N )( function )
+

identifies whether magmas M, N are isomorphic.

+ + +
+gap> M := SmallAntimagma(2, 1);
+<magma with 2 generators>
+gap> N := SmallAntimagma(2, 2);
+<magma with 2 generators>
+gap> T := MagmaByMultiplicationTable([ [2, 1], [2, 1] ]);
+<magma with 2 generators>
+gap> IsMagmaIsomorphic(M, M);
+true
+gap> IsMagmaIsomorphic(M, T);
+true
+gap> IsMagmaIsomorphic(M, N);
+false
+
+ +

+ +
1.3-4 IsMagmaAntiisomorphic
+ +
‣ IsMagmaAntiisomorphic( [M, N] )( function )
+

identifies whether magmas M, N are antiisomorphic.

+ + +
+gap> N := SmallAntimagma(2, 1);
+<magma with 2 generators>
+gap> M := SmallAntimagma(2, 1);
+<magma with 2 generators>
+gap> N := SmallAntimagma(2, 2);
+<magma with 2 generators>
+gap> IsMagmaAntiisomorphic(M, M);
+false
+gap> IsMagmaAntiisomorphic(M, N);
+true
+gap> IsMagmaAntiisomorphic(M, TransposedMagma(M));
+true
+
+ +

+ +
1.3-5 TransposedMagma
+ +
‣ TransposedMagma( [M] )( function )
+

generates transposed magma M.

+ + +
+gap> M := SmallAntimagma(2, 1);
+<magma with 2 generators>
+gap> IsMagmaAntiisomorphic(M, TransposedMagma(M));
+true
+gap> IsMagmaIsomorphic(M, TransposedMagma(TransposedMagma(M)));
+true
+gap> M := SmallAntimagma(2, 1);
+<magma with 2 generators>
+gap> Display(MultiplicationTable(M));
+[ [  2,  1 ],
+  [  2,  1 ] ]
+gap> Display(MultiplicationTable(TransposedMagma(M)));
+[ [  2,  2 ],
+  [  1,  1 ] ]
+
+ +

+ +
1.3-6 LeftPower
+ +
‣ LeftPower( [m, k] )( function )
+

returns a left \(k\)-power of element m.

+ +

+ +
1.3-7 RightPower
+ +
‣ RightPower( [m, k] )( function )
+

returns a right \(k\)-power of element m.

+ +

+ +
1.3-8 AllSmallAntimagmas
+ +
‣ AllSmallAntimagmas( n )( function )
+

returns all antiassociative magmas of specified size n (a number)

+ + +
+gap> AllSmallAntimagmas(2);
+[ <magma with 2 generators>, <magma with 2 generators> ]
+gap> AllSmallAntimagmas(3);
+[ 
+  <magma with 3 generators>, <magma with 3 generators>, <magma with 3 generators>,
+  <magma with 3 generators>, <magma with 3 generators>, <magma with 3 generators>,
+  <magma with 3 generators>, <magma with 3 generators>,
+  <magma with 3 generators>, <magma with 3 generators>
+]
+
+ +

+ +
1.3-9 NrSmallAntimagmas
+ +
‣ NrSmallAntimagmas( n )( function )
+

counts number of antiassociative magmas of specified size n (a number).

+ + +
+gap> NrSmallAntimagmas(2);
+2
+gap> NrSmallAntimagmas(3);
+10
+gap> NrSmallAntimagmas(4);
+17780
+
+ +

+ +
1.3-10 SmallAntimagma
+ +
‣ SmallAntimagma( n, i )( function )
+

returns antiassociative magma of id [n, i].

+ + +
+gap> SmallAntimagma(2, 1);
+<magma with 2 generators>
+gap> SmallAntimagma(4, 5);
+<magma with 4 generators>
+
+ +

+ +
1.3-11 OneSmallAntimagma
+ +
‣ OneSmallAntimagma( n )( function )
+

returns a random antiassociative magma of size n.

+ + +
+gap> OneSmallAntimagma(2);
+<magma with 2 generators>
+
+gap> OneSmallAntimagma(3);
+<magma with 3 generators>
+
+ +

+ +
1.3-12 ReallyAllSmallAntimagmas
+ +
‣ ReallyAllSmallAntimagmas( n )( function )
+

returns really-all antiassociative magmas, isomorphic, of specified size n (a number)

+ + +
+gap> ReallyAllSmallAntimagmas(2);
+[ <magma with 2 generators>, <magma with 2 generators> ]
+
+ +

+ +
1.3-13 ReallyNrSmallAntimagmas
+ +
‣ ReallyNrSmallAntimagmas( n )( function )
+

counts number of antiassociative magmas of specified size n (a number)

+ + +
+gap> ReallyNrSmallAntimagmas(3);
+52
+
+ +

+ +
1.3-14 AntimagmaGeneratorPossibleDiagonals
+ +
‣ AntimagmaGeneratorPossibleDiagonals( n )( function )
+

returns all possible diagonals of multiplication table for [n]-antimagma.

+ + +
+gap> AntimagmaGeneratorPossibleDiagonals(2);
+[ [ 2, 1 ] ]
+gap> AntimagmaGeneratorPossibleDiagonals(3);
+[ 
+  [ 2, 1, 1 ], [ 2, 1, 2 ], [ 2, 3, 1 ], [ 2, 3, 2 ], 
+  [ 3, 1, 1 ], [ 3, 1, 2 ], [ 3, 3, 1 ], [ 3, 3, 2 ] 
+]
+
+ +

+ +
1.3-15 AntimagmaGeneratorFilterNonIsomorphicMagmas
+ +
‣ AntimagmaGeneratorFilterNonIsomorphicMagmas( Ms )( function )
+

filters non-isomorphic magmas m.

+ +

+ +

1.4 smallantimagmas automatic generated documentation of methods

+ +

+ +
1.4-1 MagmaIsomorphism
+ +
‣ MagmaIsomorphism( M, N )( operation )
+

computes an isomoprhism between magmas M, N.

+ + +
+gap> M := SmallAntimagma(2, 1);
+<magma with 2 generators>
+gap> N := MagmaByMultiplicationTable([ [2, 1], [2, 1] ]);
+<magma with 2 generators>
+gap> MagmaIsomorphism(M, N);
+<mapping: Domain([ m1, m2 ]) -> Domain([ m1, m2 ]) >
+
+ +

+ +
1.4-2 MagmaAntiisomorphism
+ +
‣ MagmaAntiisomorphism( M, N )( operation )
+

creates an antiisomoprhism between magmas M, N.

+ + +
+gap> M := SmallAntimagma(2, 1);
+<magma with 2 generators>
+gap> N := SmallAntimagma(2, 2);
+<magma with 2 generators>
+gap> MagmaAntiisomorphism(M, N);
+<mapping: Domain([ m1, m2 ]) -> Domain([ m1, m2 ]) >
+
+ + + + + +
Goto Chapter: Top 1 Ind
+ +
+

generated by GAPDoc2HTML

+ + diff --git a/doc/chapInd.html b/doc/chapInd.html new file mode 100644 index 0000000..0e0b98f --- /dev/null +++ b/doc/chapInd.html @@ -0,0 +1,73 @@ + + + + + + +GAP (smallantimagmas) - Index + + + + + + + + + +
Goto Chapter: Top 1 Ind
+ + + + +

+ +
+

Index

+ +AllSmallAntimagmas 1.3-8
+AllSubmagmas 1.3-1
+AnticommutativityIndex, for IsMagma 1.2-4
+AntimagmaGeneratorFilterNonIsomorphicMagmas 1.3-15
+AntimagmaGeneratorPossibleDiagonals 1.3-14
+AssociativityIndex, for IsMagma 1.2-1
+CommutativityIndex, for IsMagma 1.2-3
+DiagonalOfMultiplicationTable, for IsMagma 1.2-2
+IdSmallAntimagma, for IsMagma 1.2-6
+IsAntiassociative, for IsMagma 1.1-1
+IsCancellative, for IsMagma 1.1-6
+IsLeftCancellative, for IsMagma 1.1-4
+IsLeftCyclic, for IsMagma 1.1-2
+IsMagmaAntiisomorphic 1.3-4
+IsMagmaIsomorphic 1.3-3
+IsRightCancellative, for IsMagma 1.1-5
+IsRightCyclic, for IsMagma 1.1-3
+LeftOrder, for IsExtLElement 1.2-7
+LeftOrdersOfElements, for IsMagma 1.2-9
+LeftPower 1.3-6
+License .-1
+MagmaAntiisomorphism, for IsMagma, IsMagma 1.4-2
+MagmaIsomorphism, for IsMagma, IsMagma 1.4-1
+MagmaIsomorphismInvariantsMatch 1.3-2
+NrSmallAntimagmas 1.3-9
+OneSmallAntimagma 1.3-11
+ReallyAllSmallAntimagmas 1.3-12
+ReallyNrSmallAntimagmas 1.3-13
+RightOrder, for IsExtRElement 1.2-8
+RightOrdersOfElements, for IsMagma 1.2-10
+RightPower 1.3-7
+SmallAntimagma 1.3-10
+SquaresIndex, for IsMagma 1.2-5
+TransposedMagma 1.3-5
+

+
+ + + + +
Goto Chapter: Top 1 Ind
+ +
+

generated by GAPDoc2HTML

+ + diff --git a/doc/chapInd.txt b/doc/chapInd.txt new file mode 100644 index 0000000..0b4322d --- /dev/null +++ b/doc/chapInd.txt @@ -0,0 +1,41 @@ + + + Index + + AllSmallAntimagmas 1.3-8 + AllSubmagmas 1.3-1 + AnticommutativityIndex, for IsMagma 1.2-4 + AntimagmaGeneratorFilterNonIsomorphicMagmas 1.3-15 + AntimagmaGeneratorPossibleDiagonals 1.3-14 + AssociativityIndex, for IsMagma 1.2-1 + CommutativityIndex, for IsMagma 1.2-3 + DiagonalOfMultiplicationTable, for IsMagma 1.2-2 + IdSmallAntimagma, for IsMagma 1.2-6 + IsAntiassociative, for IsMagma 1.1-1 + IsCancellative, for IsMagma 1.1-6 + IsLeftCancellative, for IsMagma 1.1-4 + IsLeftCyclic, for IsMagma 1.1-2 + IsMagmaAntiisomorphic 1.3-4 + IsMagmaIsomorphic 1.3-3 + IsRightCancellative, for IsMagma 1.1-5 + IsRightCyclic, for IsMagma 1.1-3 + LeftOrder, for IsExtLElement 1.2-7 + LeftOrdersOfElements, for IsMagma 1.2-9 + LeftPower 1.3-6 + License 0.0-1 + MagmaAntiisomorphism, for IsMagma, IsMagma 1.4-2 + MagmaIsomorphism, for IsMagma, IsMagma 1.4-1 + MagmaIsomorphismInvariantsMatch 1.3-2 + NrSmallAntimagmas 1.3-9 + OneSmallAntimagma 1.3-11 + ReallyAllSmallAntimagmas 1.3-12 + ReallyNrSmallAntimagmas 1.3-13 + RightOrder, for IsExtRElement 1.2-8 + RightOrdersOfElements, for IsMagma 1.2-10 + RightPower 1.3-7 + SmallAntimagma 1.3-10 + SquaresIndex, for IsMagma 1.2-5 + TransposedMagma 1.3-5 + + + ------------------------------------------------------- diff --git a/doc/chapInd_mj.html b/doc/chapInd_mj.html new file mode 100644 index 0000000..4ec59b4 --- /dev/null +++ b/doc/chapInd_mj.html @@ -0,0 +1,76 @@ + + + + + + + +GAP (smallantimagmas) - Index + + + + + + + + + +
Goto Chapter: Top 1 Ind
+ + + + +

+ +
+

Index

+ +AllSmallAntimagmas 1.3-8
+AllSubmagmas 1.3-1
+AnticommutativityIndex, for IsMagma 1.2-4
+AntimagmaGeneratorFilterNonIsomorphicMagmas 1.3-15
+AntimagmaGeneratorPossibleDiagonals 1.3-14
+AssociativityIndex, for IsMagma 1.2-1
+CommutativityIndex, for IsMagma 1.2-3
+DiagonalOfMultiplicationTable, for IsMagma 1.2-2
+IdSmallAntimagma, for IsMagma 1.2-6
+IsAntiassociative, for IsMagma 1.1-1
+IsCancellative, for IsMagma 1.1-6
+IsLeftCancellative, for IsMagma 1.1-4
+IsLeftCyclic, for IsMagma 1.1-2
+IsMagmaAntiisomorphic 1.3-4
+IsMagmaIsomorphic 1.3-3
+IsRightCancellative, for IsMagma 1.1-5
+IsRightCyclic, for IsMagma 1.1-3
+LeftOrder, for IsExtLElement 1.2-7
+LeftOrdersOfElements, for IsMagma 1.2-9
+LeftPower 1.3-6
+License .-1
+MagmaAntiisomorphism, for IsMagma, IsMagma 1.4-2
+MagmaIsomorphism, for IsMagma, IsMagma 1.4-1
+MagmaIsomorphismInvariantsMatch 1.3-2
+NrSmallAntimagmas 1.3-9
+OneSmallAntimagma 1.3-11
+ReallyAllSmallAntimagmas 1.3-12
+ReallyNrSmallAntimagmas 1.3-13
+RightOrder, for IsExtRElement 1.2-8
+RightOrdersOfElements, for IsMagma 1.2-10
+RightPower 1.3-7
+SmallAntimagma 1.3-10
+SquaresIndex, for IsMagma 1.2-5
+TransposedMagma 1.3-5
+

+
+ + + + +
Goto Chapter: Top 1 Ind
+ +
+

generated by GAPDoc2HTML

+ + diff --git a/doc/chooser.html b/doc/chooser.html new file mode 100644 index 0000000..db786c9 --- /dev/null +++ b/doc/chooser.html @@ -0,0 +1,132 @@ + + + + + + +GAPDoc Style Chooser + + + + + + + + +

Setting preferences for GAPDoc manuals

+ +
+

+ +

+

+Unfold subsections in menus only by mouse clicks: + no (default) +    + yes +

+

+Show GAP examples as in sessions with ColorPrompt(true): + yes +(default)     + no +

+

+Display side of table of contents within chapters: + right (default)     + left +

+

+Main document font: + Helvetica/sans +serif (default)     + Times/serif +

+

+Paragraph formatting: + left-right +justified (default)     + ragged right +

+
+

+Apply settings to last page. +

+ + + + diff --git a/doc/lefttoc.css b/doc/lefttoc.css new file mode 100644 index 0000000..f8d65f8 --- /dev/null +++ b/doc/lefttoc.css @@ -0,0 +1,17 @@ +/* leftmenu.css Frank Lübeck */ +/* Change default CSS to show section menu on left side */ + +body { + padding-left: 28%; +} +body.chap0 { + padding-left: 2%; +} +div.ChapSects div.ContSect:hover div.ContSSBlock { + left: 15%; +} +div.ChapSects { + left: 1%; + width: 25%; +} + diff --git a/doc/manual.css b/doc/manual.css new file mode 100644 index 0000000..a320794 --- /dev/null +++ b/doc/manual.css @@ -0,0 +1,482 @@ +/* manual.css Frank Lübeck */ +/* This is the default CSS style sheet for GAPDoc HTML manuals. */ + +/* basic settings, fonts, sizes, colors, ... */ +body { + position: relative; + background: #ffffff; + color: #000000; + width: 70%; + margin: 0pt; + padding: 15pt; + font-family: Helvetica,Verdana,Arial,sans-serif; + text-align: justify; +} + +/* no side toc on title page, bib and index */ +body.chap0 { + width: 95%; +} +body.chapBib { + width: 95%; +} +body.chapInd { + width: 95%; +} + + +h1 { font-size: 200%; } +h2 { font-size: 160%; } +h3 { font-size: 160%; } +h4 { font-size: 130%; } +h5 { font-size: 100%; } + +p.foot { + font-size: 60%; + font-style: normal; +} + +a:link { + color: #00008e; + text-decoration: none; +} +a:visited { + color: #00008e; + text-decoration: none; +} +a:active { + color: #000000; + text-decoration: none; +} +a:hover { + background: #eeeeee; +} + +pre { + font-family: "Courier New",Courier,monospace; + font-size: 100%; + color:#111111; +} + +tt,code { + font-family: "Courier New",Courier,monospace; + font-size: 110%; + color: #000000; } + +var { +} + +/* general alignment classes */ +.pcenter { + text-align: center; +} + +.pleft { + text-align: left; +} + +.pright { + text-align: right; +} + +/* layout for the definitions of functions, variables, ... */ +div.func { + background: #e0e0e0; + margin: 0pt 0pt; +} + + +/* general and special table settings */ +table { + border-collapse: collapse; + margin-left: auto; + margin-right: auto; +} + +td, th { + border-style: none; +} + +table.func { + padding: 0pt 1ex; + margin-left: 1ex; + margin-right: 1ex; + background: transparent; + /* line-height: 1.1; */ + width: 100%; +} + +table.func td.tdright { + padding-right: 2ex; +} + +/* Example elements (for old converted manuals, now in div+pre */ +table.example { + background: #efefef; + border-style: none; + border-width: 0pt; + padding: 0px; + width: 100% +} +table.example td { + border-style: none; + border-width: 0pt; + padding: 0ex 1ex; +} +/* becomes ... */ +div.example { + background: #efefef; + padding: 0ex 1ex; + /* overflow-x: auto; */ + overflow: auto; +} + +/* Links to chapters in all files at top and bottom. */ +/* If there are too many chapters then use 'display: none' here. */ +div.chlinktop { + background: #dddddd; + border-style: solid; + border-width: thin; + margin: 2px; + text-align: center; +} + +div.chlinktop a { + margin: 3px; +} +div.chlinktop a:hover { + background: #ffffff; +} + +div.chlinkbot { + background: #dddddd; + border-style: solid; + border-width: thin; + margin: 2px; + text-align: center; + /* width: 100%; */ +} + +div.chlinkbot a { + margin: 3px; +} + +span.chlink1 { +} + +/* and this is for the "Top", "Prev", "Next" links */ +div.chlinkprevnexttop { + background: #dddddd; + border-style: solid; + border-width: thin; + text-align: center; + margin: 2px; +} + +div.chlinkprevnexttop a:hover { + background: #ffffff; +} + +div.chlinkprevnextbot { + background: #dddddd; + border-style: solid; + border-width: thin; + text-align: center; + margin: 2px; +} + +div.chlinkprevnextbot a:hover { + background: #ffffff; +} + + +/* table of contents, initially don't display subsections */ +div.ContSSBlock { + display: none; +} +div.ContSSBlock br { + display: none; +} +/* format in separate lines */ +span.tocline { + display: block; + width: 100%; +} +div.ContSSBlock a { + display: block; +} + +/* this is for the main table of contents */ +div.ContChap { +} + +div.ContChap div.ContSect:hover div.ContSSBlock { + display: block; + position: absolute; + background: #eeeeee; + border-style: solid; + border-width: 1px 4px 4px 1px; + border-color: #666666; + padding-left: 0.5ex; + color: #000000; + left: 20%; + width: 40%; + z-index: 10000; +} + +div.ContSSBlock a:hover { + background: #ffffff; +} + +/* and here for the side menu of contents in the chapter files */ +div.ChapSects { +} + +div.ChapSects a:hover { + background: #eeeeee; +} + +div.ChapSects a:hover { + display: block; + width: 100%; + background: #eeeeee; + color: #000000; +} + +div.ChapSects div.ContSect:hover div.ContSSBlock { + display: block; + position: fixed; + background: #eeeeee; + border-style: solid; + border-width: 1px 2px 2px 1px; + border-color: #666666; + padding-left: 0ex; + padding-right: 0.5ex; + color: #000000; + left: 54%; + width: 25%; + z-index: 10000; +} + +div.ChapSects div.ContSect:hover div.ContSSBlock a { + display: block; + margin-left: 3px; +} + +div.ChapSects div.ContSect:hover div.ContSSBlock a:hover { + display: block; + background: #ffffff; +} + +div.ContSect { + text-align: left; + margin-left: 1em; +} +div.ChapSects { + position: fixed; + left: 75%; + font-size: 90%; + overflow: auto; + top: 10px; + bottom: 0px; +} + +/* Table elements */ +table.GAPDocTable { + border-collapse: collapse; + border-style: none; + border-color: black; +} + +table.GAPDocTable td, table.GAPDocTable th { + padding: 3pt; + border-width: thin; + border-style: solid; + border-color: #555555; +} + +caption.GAPDocTable { + caption-side: bottom; + width: 70%; + margin-top: 1em; + margin-left: auto; + margin-right: auto; +} + +td.tdleft { + text-align: left; +} + +table.GAPDocTablenoborder { + border-collapse: collapse; + border-style: none; + border-color: black; +} + +table.GAPDocTablenoborder td, table.GAPDocTable th { + padding: 3pt; + border-width: 0pt; + border-style: solid; + border-color: #555555; +} + +caption.GAPDocTablenoborder { + caption-side: bottom; + width: 70%; + margin-top: 1em; + margin-left: auto; + margin-right: auto; +} + +td.tdleft { + text-align: left; +} + +td.tdright { + text-align: right; +} + +td.tdcenter { + text-align: center; +} + +/* Colors and fonts can be overwritten for some types of elements. */ +/* Verb elements */ +pre.normal { + color: #000000; +} + +/* Func-like elements and Ref to Func-like */ +code.func { + color: #000000; +} + +/* K elements */ +code.keyw { + color: #770000; +} + +/* F elements */ +code.file { + color: #8e4510; +} + +/* C elements */ +code.code { +} + +/* Item elements */ +code.i { +} + +/* Button elements */ +strong.button { +} + +/* Headings */ +span.Heading { +} + +/* Arg elements */ +var.Arg { + color: #006600; +} + +/* Example elements, is in tables, see above */ +div.Example { +} + +/* Package elements */ +strong.pkg { +} + +/* URL-like elements */ +span.URL { +} + +/* Mark elements */ +strong.Mark { +} + +/* Ref elements */ +b.Ref { +} +span.Ref { +} + +/* this contains the contents page */ +div.contents { +} + +/* this contains the index page */ +div.index { +} + +/* ignore some text for non-css layout */ +span.nocss { + display: none; +} + +/* colors for ColorPrompt like examples */ +span.GAPprompt { + color: #000097; + font-weight: normal; +} +span.GAPbrkprompt { + color: #970000; + font-weight: normal; +} +span.GAPinput { + color: #970000; +} + +/* Bib entries */ +p.BibEntry { +} +span.BibKey { + color: #005522; +} +span.BibKeyLink { +} +b.BibAuthor { +} +i.BibTitle { +} +i.BibBookTitle { +} +span.BibEditor { +} +span.BibJournal { +} +span.BibType { +} +span.BibPublisher { +} +span.BibSchool { +} +span.BibEdition { +} +span.BibVolume { +} +span.BibSeries { +} +span.BibNumber { +} +span.BibPages { +} +span.BibOrganization { +} +span.BibAddress { +} +span.BibYear { +} +span.BibPublisher { +} +span.BibNote { +} +span.BibHowpublished { +} + + + + diff --git a/doc/manual.js b/doc/manual.js new file mode 100644 index 0000000..627cf94 --- /dev/null +++ b/doc/manual.js @@ -0,0 +1,113 @@ +/* manual.js Frank Lübeck */ + +/* This file contains a few javascript functions which allow to switch + between display styles for GAPDoc HTML manuals. + If javascript is switched off in a browser or this file in not available + in a manual directory, this is no problem. Users just cannot switch + between several styles and don't see the corresponding button. + + A style with name mystyle can be added by providing two files (or only + one of them). + mystyle.js: Additional javascript code for the style, it is + read in the HTML pages after this current file. + The additional code may adjust the preprocessing function + jscontent() with is called onload of a file. This + is done by appending functions to jscontentfuncs + (jscontentfuncs.push(newfunc);). + Make sure, that your style is still usable without + javascript. + mystyle.css: CSS configuration, read after manual.css (so it can + just reconfigure a few details, or overwrite everything). + + Then adjust chooser.html such that users can switch on and off mystyle. + + A user can change the preferred style permanently by using the [Style] + link and choosing one. Or one can append '?GAPDocStyle=mystyle' to the URL + when loading any file of the manual (so the style can be configured in + the GAP user preferences). + +*/ + +/* generic helper function */ +function deleteCookie(nam) { + document.cookie = nam+"=;Path=/;expires=Thu, 01 Jan 1970 00:00:00 GMT"; +} + +/* read a value from a "nam1=val1;nam2=val2;..." string (e.g., the search + part of an URL or a cookie */ +function valueString(str,nam) { + var cs = str.split(";"); + for (var i=0; i < cs.length; i++) { + var pos = cs[i].search(nam+"="); + if (pos > -1) { + pos = cs[i].indexOf("="); + return cs[i].slice(pos+1); + } + } + return 0; +} + +/* when a non-default style is chosen via URL or a cookie, then + the cookie is reset and the styles .js and .css files are read */ +function overwriteStyle() { + /* style in URL? */ + var style = valueString(window.location.search, "GAPDocStyle"); + /* otherwise check cookie */ + if (style == 0) + style = valueString(document.cookie, "GAPDocStyle"); + if (style == 0) + return; + if (style == "default") + deleteCookie("GAPDocStyle"); + else { + /* ok, we set the cookie for path "/" */ + var path = "/"; + /* or better like this ??? + var here = window.location.pathname.split("/"); + for (var i=0; i+3 < here.length; i++) + path = path+"/"+here[i]; + */ + document.cookie = "GAPDocStyle="+style+";Path="+path; + /* split into names of style files */ + var stlist = style.split(","); + /* read style's css and js files */ + for (var i=0; i < stlist.length; i++) { + document.writeln(''); + document.writeln(''); + } + } +} + +/* this adds a "[Style]" link next to the MathJax switcher */ +function addStyleLink() { + var line = document.getElementById("mathjaxlink"); + var el = document.createElement("a"); + var oncl = document.createAttribute("href"); + var back = window.location.protocol+"//" + if (window.location.protocol == "http:" || + window.location.protocol == "https:") { + back = back+window.location.host; + if (window.location.port != "") { + back = back+":"+window.location.port; + } + } + back = back+window.location.pathname; + oncl.nodeValue = "chooser.html?BACK="+back; + el.setAttributeNode(oncl); + var cont = document.createTextNode(" [Style]"); + el.appendChild(cont); + line.appendChild(el); +} + +var jscontentfuncs = new Array(); + +jscontentfuncs.push(addStyleLink); + +/* the default jscontent() only adds the [Style] link to the page */ +function jscontent () { + for (var i=0; i < jscontentfuncs.length; i++) + jscontentfuncs[i](); +} + diff --git a/doc/manual.lab b/doc/manual.lab new file mode 100644 index 0000000..1c2c390 --- /dev/null +++ b/doc/manual.lab @@ -0,0 +1,45 @@ +\GAPDocLabFile{smallantimagmas} +\makelabel{smallantimagmas:Title page}{}{X7D2C85EC87DD46E5} +\makelabel{smallantimagmas:Copyright}{}{X81488B807F2A1CF1} +\makelabel{smallantimagmas:Acknowledgements}{}{X82A988D47DFAFCFA} +\makelabel{smallantimagmas:Table of Contents}{}{X8537FEB07AF2BEC8} +\makelabel{smallantimagmas:smallantimagmas automatic generated documentation}{1}{X7EB7BB817CC15891} +\makelabel{smallantimagmas:smallantimagmas automatic generated documentation of properties}{1.1}{X78F902077A6714C4} +\makelabel{smallantimagmas:smallantimagmas automatic generated documentation of attributes}{1.2}{X839C88FC81394B14} +\makelabel{smallantimagmas:smallantimagmas automatic generated documentation of global functions}{1.3}{X7A4C95527CCD8524} +\makelabel{smallantimagmas:smallantimagmas automatic generated documentation of methods}{1.4}{X8553DA53796C81EA} +\makelabel{smallantimagmas:Index}{Ind}{X83A0356F839C696F} +\makelabel{smallantimagmas:License}{}{X81488B807F2A1CF1} +\makelabel{smallantimagmas:IsAntiassociative for IsMagma}{1.1.1}{X7B8537C57970AE37} +\makelabel{smallantimagmas:IsLeftCyclic for IsMagma}{1.1.2}{X8392BFEE78284DE1} +\makelabel{smallantimagmas:IsRightCyclic for IsMagma}{1.1.3}{X7BE3D1C0801AE7EA} +\makelabel{smallantimagmas:IsLeftCancellative for IsMagma}{1.1.4}{X7D994F7382127E77} +\makelabel{smallantimagmas:IsRightCancellative for IsMagma}{1.1.5}{X85C01ECF83CD5484} +\makelabel{smallantimagmas:IsCancellative for IsMagma}{1.1.6}{X7E58570787350F43} +\makelabel{smallantimagmas:AssociativityIndex for IsMagma}{1.2.1}{X809A477180F2A0F6} +\makelabel{smallantimagmas:DiagonalOfMultiplicationTable for IsMagma}{1.2.2}{X802DA9B083E7F4A3} +\makelabel{smallantimagmas:CommutativityIndex for IsMagma}{1.2.3}{X87FED7267EB0A068} +\makelabel{smallantimagmas:AnticommutativityIndex for IsMagma}{1.2.4}{X7D32B8F780294AEC} +\makelabel{smallantimagmas:SquaresIndex for IsMagma}{1.2.5}{X85904967802C27B4} +\makelabel{smallantimagmas:IdSmallAntimagma for IsMagma}{1.2.6}{X783C01BD7B931A12} +\makelabel{smallantimagmas:LeftOrder for IsExtLElement}{1.2.7}{X78BF96667D805695} +\makelabel{smallantimagmas:RightOrder for IsExtRElement}{1.2.8}{X850894387AD0E717} +\makelabel{smallantimagmas:LeftOrdersOfElements for IsMagma}{1.2.9}{X7CDCE61679BFD1F7} +\makelabel{smallantimagmas:RightOrdersOfElements for IsMagma}{1.2.10}{X84D8A5D88790F870} +\makelabel{smallantimagmas:AllSubmagmas}{1.3.1}{X8011AFA47C662D53} +\makelabel{smallantimagmas:MagmaIsomorphismInvariantsMatch}{1.3.2}{X7BA7BE44861A8C51} +\makelabel{smallantimagmas:IsMagmaIsomorphic}{1.3.3}{X7F7EAF23807EE984} +\makelabel{smallantimagmas:IsMagmaAntiisomorphic}{1.3.4}{X807BD59180325341} +\makelabel{smallantimagmas:TransposedMagma}{1.3.5}{X79BF9EB48562EF6C} +\makelabel{smallantimagmas:LeftPower}{1.3.6}{X7FD21A58851687DF} +\makelabel{smallantimagmas:RightPower}{1.3.7}{X788005DE7947D914} +\makelabel{smallantimagmas:AllSmallAntimagmas}{1.3.8}{X7DDB92C284197B0B} +\makelabel{smallantimagmas:NrSmallAntimagmas}{1.3.9}{X7E5054007A985873} +\makelabel{smallantimagmas:SmallAntimagma}{1.3.10}{X7903CEEA79DEBA73} +\makelabel{smallantimagmas:OneSmallAntimagma}{1.3.11}{X804A623879A9AC7F} +\makelabel{smallantimagmas:ReallyAllSmallAntimagmas}{1.3.12}{X7D0A720279246D45} +\makelabel{smallantimagmas:ReallyNrSmallAntimagmas}{1.3.13}{X796637787C216BA1} +\makelabel{smallantimagmas:AntimagmaGeneratorPossibleDiagonals}{1.3.14}{X83FADDD185B26133} +\makelabel{smallantimagmas:AntimagmaGeneratorFilterNonIsomorphicMagmas}{1.3.15}{X8493D36B80E32C64} +\makelabel{smallantimagmas:MagmaIsomorphism for IsMagma, IsMagma}{1.4.1}{X87F3EA827FF3D302} +\makelabel{smallantimagmas:MagmaAntiisomorphism for IsMagma, IsMagma}{1.4.2}{X7AB3F3E37D8A5687} diff --git a/doc/manual.pdf b/doc/manual.pdf new file mode 100644 index 0000000..fee6e48 Binary files /dev/null and b/doc/manual.pdf differ diff --git a/doc/manual.six b/doc/manual.six new file mode 100644 index 0000000..a2b18e3 --- /dev/null +++ b/doc/manual.six @@ -0,0 +1,114 @@ +#SIXFORMAT GapDocGAP +HELPBOOKINFOSIXTMP := rec( +encoding := "UTF-8", +bookname := "smallantimagmas", +entries := +[ [ "Title page", "0.0", [ 0, 0, 0 ], 1, 1, "title page", "X7D2C85EC87DD46E5" + ], + [ "Copyright", "0.0-1", [ 0, 0, 1 ], 21, 2, "copyright", + "X81488B807F2A1CF1" ], + [ "Acknowledgements", "0.0-2", [ 0, 0, 2 ], 32, 2, "acknowledgements", + "X82A988D47DFAFCFA" ], + [ "Table of Contents", "0.0-3", [ 0, 0, 3 ], 39, 3, "table of contents", + "X8537FEB07AF2BEC8" ], + [ + "\033[1X\033[33X\033[0;-2Ysmallantimagmas automatic generated documentation\ +\033[133X\033[101X", "1", [ 1, 0, 0 ], 1, 4, + "smallantimagmas automatic generated documentation", + "X7EB7BB817CC15891" ], + [ + "\033[1X\033[33X\033[0;-2Ysmallantimagmas automatic generated documentation\ + of properties\033[133X\033[101X", "1.1", [ 1, 1, 0 ], 4, 4, + "smallantimagmas automatic generated documentation of properties", + "X78F902077A6714C4" ], + [ + "\033[1X\033[33X\033[0;-2Ysmallantimagmas automatic generated documentation\ + of attributes\033[133X\033[101X", "1.2", [ 1, 2, 0 ], 82, 5, + "smallantimagmas automatic generated documentation of attributes", + "X839C88FC81394B14" ], + [ + "\033[1X\033[33X\033[0;-2Ysmallantimagmas automatic generated documentation\ + of global functions\033[133X\033[101X", "1.3", [ 1, 3, 0 ], 193, 7, + "smallantimagmas automatic generated documentation of global functions", + "X7A4C95527CCD8524" ], + [ + "\033[1X\033[33X\033[0;-2Ysmallantimagmas automatic generated documentation\ + of methods\033[133X\033[101X", "1.4", [ 1, 4, 0 ], 397, 11, + "smallantimagmas automatic generated documentation of methods", + "X8553DA53796C81EA" ], + [ "Index", "ind", [ "Ind", 0, 0 ], 1, 12, "index", "X83A0356F839C696F" ], + [ "License", "0.0-1", [ 0, 0, 1 ], 21, 2, "license", "X81488B807F2A1CF1" ], + [ "\033[2XIsAntiassociative\033[102X for IsMagma", "1.1-1", [ 1, 1, 1 ], 7, + 4, "isantiassociative for ismagma", "X7B8537C57970AE37" ], + [ "\033[2XIsLeftCyclic\033[102X for IsMagma", "1.1-2", [ 1, 1, 2 ], 23, 4, + "isleftcyclic for ismagma", "X8392BFEE78284DE1" ], + [ "\033[2XIsRightCyclic\033[102X for IsMagma", "1.1-3", [ 1, 1, 3 ], 30, 4, + "isrightcyclic for ismagma", "X7BE3D1C0801AE7EA" ], + [ "\033[2XIsLeftCancellative\033[102X for IsMagma", "1.1-4", [ 1, 1, 4 ], + 37, 4, "isleftcancellative for ismagma", "X7D994F7382127E77" ], + [ "\033[2XIsRightCancellative\033[102X for IsMagma", "1.1-5", [ 1, 1, 5 ], + 58, 5, "isrightcancellative for ismagma", "X85C01ECF83CD5484" ], + [ "\033[2XIsCancellative\033[102X for IsMagma", "1.1-6", [ 1, 1, 6 ], 70, + 5, "iscancellative for ismagma", "X7E58570787350F43" ], + [ "\033[2XAssociativityIndex\033[102X for IsMagma", "1.2-1", [ 1, 2, 1 ], + 85, 5, "associativityindex for ismagma", "X809A477180F2A0F6" ], + [ "\033[2XDiagonalOfMultiplicationTable\033[102X for IsMagma", "1.2-2", + [ 1, 2, 2 ], 104, 6, "diagonalofmultiplicationtable for ismagma", + "X802DA9B083E7F4A3" ], + [ "\033[2XCommutativityIndex\033[102X for IsMagma", "1.2-3", [ 1, 2, 3 ], + 120, 6, "commutativityindex for ismagma", "X87FED7267EB0A068" ], + [ "\033[2XAnticommutativityIndex\033[102X for IsMagma", "1.2-4", + [ 1, 2, 4 ], 130, 6, "anticommutativityindex for ismagma", + "X7D32B8F780294AEC" ], + [ "\033[2XSquaresIndex\033[102X for IsMagma", "1.2-5", [ 1, 2, 5 ], 139, 6, + "squaresindex for ismagma", "X85904967802C27B4" ], + [ "\033[2XIdSmallAntimagma\033[102X for IsMagma", "1.2-6", [ 1, 2, 6 ], + 154, 6, "idsmallantimagma for ismagma", "X783C01BD7B931A12" ], + [ "\033[2XLeftOrder\033[102X for IsExtLElement", "1.2-7", [ 1, 2, 7 ], 169, + 7, "leftorder for isextlelement", "X78BF96667D805695" ], + [ "\033[2XRightOrder\033[102X for IsExtRElement", "1.2-8", [ 1, 2, 8 ], + 175, 7, "rightorder for isextrelement", "X850894387AD0E717" ], + [ "\033[2XLeftOrdersOfElements\033[102X for IsMagma", "1.2-9", [ 1, 2, 9 ], + 181, 7, "leftordersofelements for ismagma", "X7CDCE61679BFD1F7" ], + [ "\033[2XRightOrdersOfElements\033[102X for IsMagma", "1.2-10", + [ 1, 2, 10 ], 187, 7, "rightordersofelements for ismagma", + "X84D8A5D88790F870" ], + [ "\033[2XAllSubmagmas\033[102X", "1.3-1", [ 1, 3, 1 ], 196, 7, + "allsubmagmas", "X8011AFA47C662D53" ], + [ "\033[2XMagmaIsomorphismInvariantsMatch\033[102X", "1.3-2", [ 1, 3, 2 ], + 209, 8, "magmaisomorphisminvariantsmatch", "X7BA7BE44861A8C51" ], + [ "\033[2XIsMagmaIsomorphic\033[102X", "1.3-3", [ 1, 3, 3 ], 215, 8, + "ismagmaisomorphic", "X7F7EAF23807EE984" ], + [ "\033[2XIsMagmaAntiisomorphic\033[102X", "1.3-4", [ 1, 3, 4 ], 236, 8, + "ismagmaantiisomorphic", "X807BD59180325341" ], + [ "\033[2XTransposedMagma\033[102X", "1.3-5", [ 1, 3, 5 ], 257, 8, + "transposedmagma", "X79BF9EB48562EF6C" ], + [ "\033[2XLeftPower\033[102X", "1.3-6", [ 1, 3, 6 ], 280, 9, "leftpower", + "X7FD21A58851687DF" ], + [ "\033[2XRightPower\033[102X", "1.3-7", [ 1, 3, 7 ], 286, 9, "rightpower", + "X788005DE7947D914" ], + [ "\033[2XAllSmallAntimagmas\033[102X", "1.3-8", [ 1, 3, 8 ], 292, 9, + "allsmallantimagmas", "X7DDB92C284197B0B" ], + [ "\033[2XNrSmallAntimagmas\033[102X", "1.3-9", [ 1, 3, 9 ], 310, 9, + "nrsmallantimagmas", "X7E5054007A985873" ], + [ "\033[2XSmallAntimagma\033[102X", "1.3-10", [ 1, 3, 10 ], 325, 10, + "smallantimagma", "X7903CEEA79DEBA73" ], + [ "\033[2XOneSmallAntimagma\033[102X", "1.3-11", [ 1, 3, 11 ], 338, 10, + "onesmallantimagma", "X804A623879A9AC7F" ], + [ "\033[2XReallyAllSmallAntimagmas\033[102X", "1.3-12", [ 1, 3, 12 ], 352, + 10, "reallyallsmallantimagmas", "X7D0A720279246D45" ], + [ "\033[2XReallyNrSmallAntimagmas\033[102X", "1.3-13", [ 1, 3, 13 ], 364, + 10, "reallynrsmallantimagmas", "X796637787C216BA1" ], + [ "\033[2XAntimagmaGeneratorPossibleDiagonals\033[102X", "1.3-14", + [ 1, 3, 14 ], 375, 11, "antimagmageneratorpossiblediagonals", + "X83FADDD185B26133" ], + [ "\033[2XAntimagmaGeneratorFilterNonIsomorphicMagmas\033[102X", "1.3-15", + [ 1, 3, 15 ], 391, 11, "antimagmageneratorfilternonisomorphicmagmas", + "X8493D36B80E32C64" ], + [ "\033[2XMagmaIsomorphism\033[102X for IsMagma, IsMagma", "1.4-1", + [ 1, 4, 1 ], 400, 11, "magmaisomorphism for ismagma ismagma", + "X87F3EA827FF3D302" ], + [ "\033[2XMagmaAntiisomorphism\033[102X for IsMagma, IsMagma", "1.4-2", + [ 1, 4, 2 ], 415, 11, "magmaantiisomorphism for ismagma ismagma", + "X7AB3F3E37D8A5687" ] ] +); diff --git a/doc/nocolorprompt.css b/doc/nocolorprompt.css new file mode 100644 index 0000000..601602f --- /dev/null +++ b/doc/nocolorprompt.css @@ -0,0 +1,13 @@ + +/* colors for ColorPrompt like examples */ +span.GAPprompt { + color: #000000; + font-weight: normal; +} +span.GAPbrkprompt { + color: #000000; + font-weight: normal; +} +span.GAPinput { + color: #000000; +} diff --git a/doc/ragged.css b/doc/ragged.css new file mode 100644 index 0000000..e8d79ca --- /dev/null +++ b/doc/ragged.css @@ -0,0 +1,6 @@ +/* times.css Frank Lübeck */ +/* Change default CSS to use Times font. */ + +body { + text-align: left; +} diff --git a/doc/rainbow.js b/doc/rainbow.js new file mode 100644 index 0000000..1b662ae --- /dev/null +++ b/doc/rainbow.js @@ -0,0 +1,60 @@ + +function randchar(str) { + var i = Math.floor(Math.random() * str.length); + while (i == str.length) + i = Math.floor(Math.random() * str.length); + return str[i]; +} + +hexdigits = "0123456789abcdef"; + +function randlight() { + return randchar("cdef")+randchar(hexdigits)+ + randchar("cdef")+randchar(hexdigits)+ + randchar("cdef")+randchar(hexdigits) +} +function randdark() { + return randchar("012345789")+randchar(hexdigits)+ + randchar("012345789")+randchar(hexdigits)+ + randchar("102345789")+randchar(hexdigits) +} + +document.write('\n'); + + + diff --git a/doc/smallantimagmas.aux b/doc/smallantimagmas.aux new file mode 100644 index 0000000..5d2b0c0 --- /dev/null +++ b/doc/smallantimagmas.aux @@ -0,0 +1,98 @@ +\relax +\providecommand\hyper@newdestlabel[2]{} +\providecommand\HyperFirstAtBeginDocument{\AtBeginDocument} +\HyperFirstAtBeginDocument{\ifx\hyper@anchor\@undefined +\global\let\oldcontentsline\contentsline +\gdef\contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}} +\global\let\oldnewlabel\newlabel +\gdef\newlabel#1#2{\newlabelxx{#1}#2} +\gdef\newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}} +\AtEndDocument{\ifx\hyper@anchor\@undefined +\let\contentsline\oldcontentsline +\let\newlabel\oldnewlabel +\fi} +\fi} +\global\let\hyper@last\relax +\gdef\HyperFirstAtBeginDocument#1{#1} +\providecommand\HyField@AuxAddToFields[1]{} +\providecommand\HyField@AuxAddToCoFields[2]{} +\@writefile{toc}{\contentsline {chapter}{\numberline {1}\textcolor {Chapter }{smallantimagmas automatic generated documentation}}{4}{chapter.1}\protected@file@percent } +\@writefile{lof}{\addvspace {10\p@ }} +\@writefile{lot}{\addvspace {10\p@ }} +\newlabel{Chapter_smallantimagmas_automatic_generated_documentation}{{1}{4}{\textcolor {Chapter }{smallantimagmas automatic generated documentation}}{chapter.1}{}} +\@writefile{toc}{\contentsline {section}{\numberline {1.1}\textcolor {Chapter }{smallantimagmas automatic generated documentation of properties}}{4}{section.1.1}\protected@file@percent } +\newlabel{Chapter_smallantimagmas_automatic_generated_documentation_Section_smallantimagmas_automatic_generated_documentation_of_properties}{{1.1}{4}{\textcolor {Chapter }{smallantimagmas automatic generated documentation of properties}}{section.1.1}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.1.1}\textcolor {Chapter }{IsAntiassociative (for IsMagma)}}{4}{subsection.1.1.1}\protected@file@percent } +\newlabel{IsAntiassociative:for IsMagma}{{1.1.1}{4}{\textcolor {Chapter }{IsAntiassociative (for IsMagma)}}{subsection.1.1.1}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.1.2}\textcolor {Chapter }{IsLeftCyclic (for IsMagma)}}{4}{subsection.1.1.2}\protected@file@percent } +\newlabel{IsLeftCyclic:for IsMagma}{{1.1.2}{4}{\textcolor {Chapter }{IsLeftCyclic (for IsMagma)}}{subsection.1.1.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.1.3}\textcolor {Chapter }{IsRightCyclic (for IsMagma)}}{4}{subsection.1.1.3}\protected@file@percent } +\newlabel{IsRightCyclic:for IsMagma}{{1.1.3}{4}{\textcolor {Chapter }{IsRightCyclic (for IsMagma)}}{subsection.1.1.3}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.1.4}\textcolor {Chapter }{IsLeftCancellative (for IsMagma)}}{4}{subsection.1.1.4}\protected@file@percent } +\newlabel{IsLeftCancellative:for IsMagma}{{1.1.4}{4}{\textcolor {Chapter }{IsLeftCancellative (for IsMagma)}}{subsection.1.1.4}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.1.5}\textcolor {Chapter }{IsRightCancellative (for IsMagma)}}{5}{subsection.1.1.5}\protected@file@percent } +\newlabel{IsRightCancellative:for IsMagma}{{1.1.5}{5}{\textcolor {Chapter }{IsRightCancellative (for IsMagma)}}{subsection.1.1.5}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.1.6}\textcolor {Chapter }{IsCancellative (for IsMagma)}}{5}{subsection.1.1.6}\protected@file@percent } +\newlabel{IsCancellative:for IsMagma}{{1.1.6}{5}{\textcolor {Chapter }{IsCancellative (for IsMagma)}}{subsection.1.1.6}{}} +\@writefile{toc}{\contentsline {section}{\numberline {1.2}\textcolor {Chapter }{smallantimagmas automatic generated documentation of attributes}}{5}{section.1.2}\protected@file@percent } +\newlabel{Chapter_smallantimagmas_automatic_generated_documentation_Section_smallantimagmas_automatic_generated_documentation_of_attributes}{{1.2}{5}{\textcolor {Chapter }{smallantimagmas automatic generated documentation of attributes}}{section.1.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.2.1}\textcolor {Chapter }{AssociativityIndex (for IsMagma)}}{5}{subsection.1.2.1}\protected@file@percent } +\newlabel{AssociativityIndex:for IsMagma}{{1.2.1}{5}{\textcolor {Chapter }{AssociativityIndex (for IsMagma)}}{subsection.1.2.1}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.2.2}\textcolor {Chapter }{DiagonalOfMultiplicationTable (for IsMagma)}}{6}{subsection.1.2.2}\protected@file@percent } +\newlabel{DiagonalOfMultiplicationTable:for IsMagma}{{1.2.2}{6}{\textcolor {Chapter }{DiagonalOfMultiplicationTable (for IsMagma)}}{subsection.1.2.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.2.3}\textcolor {Chapter }{CommutativityIndex (for IsMagma)}}{6}{subsection.1.2.3}\protected@file@percent } +\newlabel{CommutativityIndex:for IsMagma}{{1.2.3}{6}{\textcolor {Chapter }{CommutativityIndex (for IsMagma)}}{subsection.1.2.3}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.2.4}\textcolor {Chapter }{AnticommutativityIndex (for IsMagma)}}{6}{subsection.1.2.4}\protected@file@percent } +\newlabel{AnticommutativityIndex:for IsMagma}{{1.2.4}{6}{\textcolor {Chapter }{AnticommutativityIndex (for IsMagma)}}{subsection.1.2.4}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.2.5}\textcolor {Chapter }{SquaresIndex (for IsMagma)}}{6}{subsection.1.2.5}\protected@file@percent } +\newlabel{SquaresIndex:for IsMagma}{{1.2.5}{6}{\textcolor {Chapter }{SquaresIndex (for IsMagma)}}{subsection.1.2.5}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.2.6}\textcolor {Chapter }{IdSmallAntimagma (for IsMagma)}}{6}{subsection.1.2.6}\protected@file@percent } +\newlabel{IdSmallAntimagma:for IsMagma}{{1.2.6}{6}{\textcolor {Chapter }{IdSmallAntimagma (for IsMagma)}}{subsection.1.2.6}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.2.7}\textcolor {Chapter }{LeftOrder (for IsExtLElement)}}{7}{subsection.1.2.7}\protected@file@percent } +\newlabel{LeftOrder:for IsExtLElement}{{1.2.7}{7}{\textcolor {Chapter }{LeftOrder (for IsExtLElement)}}{subsection.1.2.7}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.2.8}\textcolor {Chapter }{RightOrder (for IsExtRElement)}}{7}{subsection.1.2.8}\protected@file@percent } +\newlabel{RightOrder:for IsExtRElement}{{1.2.8}{7}{\textcolor {Chapter }{RightOrder (for IsExtRElement)}}{subsection.1.2.8}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.2.9}\textcolor {Chapter }{LeftOrdersOfElements (for IsMagma)}}{7}{subsection.1.2.9}\protected@file@percent } +\newlabel{LeftOrdersOfElements:for IsMagma}{{1.2.9}{7}{\textcolor {Chapter }{LeftOrdersOfElements (for IsMagma)}}{subsection.1.2.9}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.2.10}\textcolor {Chapter }{RightOrdersOfElements (for IsMagma)}}{7}{subsection.1.2.10}\protected@file@percent } +\newlabel{RightOrdersOfElements:for IsMagma}{{1.2.10}{7}{\textcolor {Chapter }{RightOrdersOfElements (for IsMagma)}}{subsection.1.2.10}{}} +\@writefile{toc}{\contentsline {section}{\numberline {1.3}\textcolor {Chapter }{smallantimagmas automatic generated documentation of global functions}}{7}{section.1.3}\protected@file@percent } +\newlabel{Chapter_smallantimagmas_automatic_generated_documentation_Section_smallantimagmas_automatic_generated_documentation_of_global_functions}{{1.3}{7}{\textcolor {Chapter }{smallantimagmas automatic generated documentation of global functions}}{section.1.3}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.3.1}\textcolor {Chapter }{AllSubmagmas}}{7}{subsection.1.3.1}\protected@file@percent } +\newlabel{AllSubmagmas}{{1.3.1}{7}{\textcolor {Chapter }{AllSubmagmas}}{subsection.1.3.1}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.3.2}\textcolor {Chapter }{MagmaIsomorphismInvariantsMatch}}{8}{subsection.1.3.2}\protected@file@percent } +\newlabel{MagmaIsomorphismInvariantsMatch}{{1.3.2}{8}{\textcolor {Chapter }{MagmaIsomorphismInvariantsMatch}}{subsection.1.3.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.3.3}\textcolor {Chapter }{IsMagmaIsomorphic}}{8}{subsection.1.3.3}\protected@file@percent } +\newlabel{IsMagmaIsomorphic}{{1.3.3}{8}{\textcolor {Chapter }{IsMagmaIsomorphic}}{subsection.1.3.3}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.3.4}\textcolor {Chapter }{IsMagmaAntiisomorphic}}{8}{subsection.1.3.4}\protected@file@percent } +\newlabel{IsMagmaAntiisomorphic}{{1.3.4}{8}{\textcolor {Chapter }{IsMagmaAntiisomorphic}}{subsection.1.3.4}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.3.5}\textcolor {Chapter }{TransposedMagma}}{8}{subsection.1.3.5}\protected@file@percent } +\newlabel{TransposedMagma}{{1.3.5}{8}{\textcolor {Chapter }{TransposedMagma}}{subsection.1.3.5}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.3.6}\textcolor {Chapter }{LeftPower}}{9}{subsection.1.3.6}\protected@file@percent } +\newlabel{LeftPower}{{1.3.6}{9}{\textcolor {Chapter }{LeftPower}}{subsection.1.3.6}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.3.7}\textcolor {Chapter }{RightPower}}{9}{subsection.1.3.7}\protected@file@percent } +\newlabel{RightPower}{{1.3.7}{9}{\textcolor {Chapter }{RightPower}}{subsection.1.3.7}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.3.8}\textcolor {Chapter }{AllSmallAntimagmas}}{9}{subsection.1.3.8}\protected@file@percent } +\newlabel{AllSmallAntimagmas}{{1.3.8}{9}{\textcolor {Chapter }{AllSmallAntimagmas}}{subsection.1.3.8}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.3.9}\textcolor {Chapter }{NrSmallAntimagmas}}{9}{subsection.1.3.9}\protected@file@percent } +\newlabel{NrSmallAntimagmas}{{1.3.9}{9}{\textcolor {Chapter }{NrSmallAntimagmas}}{subsection.1.3.9}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.3.10}\textcolor {Chapter }{SmallAntimagma}}{10}{subsection.1.3.10}\protected@file@percent } +\newlabel{SmallAntimagma}{{1.3.10}{10}{\textcolor {Chapter }{SmallAntimagma}}{subsection.1.3.10}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.3.11}\textcolor {Chapter }{OneSmallAntimagma}}{10}{subsection.1.3.11}\protected@file@percent } +\newlabel{OneSmallAntimagma}{{1.3.11}{10}{\textcolor {Chapter }{OneSmallAntimagma}}{subsection.1.3.11}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.3.12}\textcolor {Chapter }{ReallyAllSmallAntimagmas}}{10}{subsection.1.3.12}\protected@file@percent } +\newlabel{ReallyAllSmallAntimagmas}{{1.3.12}{10}{\textcolor {Chapter }{ReallyAllSmallAntimagmas}}{subsection.1.3.12}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.3.13}\textcolor {Chapter }{ReallyNrSmallAntimagmas}}{10}{subsection.1.3.13}\protected@file@percent } +\newlabel{ReallyNrSmallAntimagmas}{{1.3.13}{10}{\textcolor {Chapter }{ReallyNrSmallAntimagmas}}{subsection.1.3.13}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.3.14}\textcolor {Chapter }{AntimagmaGeneratorPossibleDiagonals}}{11}{subsection.1.3.14}\protected@file@percent } +\newlabel{AntimagmaGeneratorPossibleDiagonals}{{1.3.14}{11}{\textcolor {Chapter }{AntimagmaGeneratorPossibleDiagonals}}{subsection.1.3.14}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.3.15}\textcolor {Chapter }{AntimagmaGeneratorFilterNonIsomorphicMagmas}}{11}{subsection.1.3.15}\protected@file@percent } +\newlabel{AntimagmaGeneratorFilterNonIsomorphicMagmas}{{1.3.15}{11}{\textcolor {Chapter }{AntimagmaGeneratorFilterNonIsomorphicMagmas}}{subsection.1.3.15}{}} +\@writefile{toc}{\contentsline {section}{\numberline {1.4}\textcolor {Chapter }{smallantimagmas automatic generated documentation of methods}}{11}{section.1.4}\protected@file@percent } +\newlabel{Chapter_smallantimagmas_automatic_generated_documentation_Section_smallantimagmas_automatic_generated_documentation_of_methods}{{1.4}{11}{\textcolor {Chapter }{smallantimagmas automatic generated documentation of methods}}{section.1.4}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.4.1}\textcolor {Chapter }{MagmaIsomorphism (for IsMagma, IsMagma)}}{11}{subsection.1.4.1}\protected@file@percent } +\newlabel{MagmaIsomorphism:for IsMagma, IsMagma}{{1.4.1}{11}{\textcolor {Chapter }{MagmaIsomorphism (for IsMagma, IsMagma)}}{subsection.1.4.1}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.4.2}\textcolor {Chapter }{MagmaAntiisomorphism (for IsMagma, IsMagma)}}{11}{subsection.1.4.2}\protected@file@percent } +\newlabel{MagmaAntiisomorphism:for IsMagma, IsMagma}{{1.4.2}{11}{\textcolor {Chapter }{MagmaAntiisomorphism (for IsMagma, IsMagma)}}{subsection.1.4.2}{}} +\@writefile{toc}{\contentsline {chapter}{Index}{12}{section*.4}\protected@file@percent } +\gdef \@abspage@last{12} diff --git a/doc/smallantimagmas.bbl b/doc/smallantimagmas.bbl new file mode 100644 index 0000000..e69de29 diff --git a/doc/smallantimagmas.blg b/doc/smallantimagmas.blg new file mode 100644 index 0000000..73ebf64 --- /dev/null +++ b/doc/smallantimagmas.blg @@ -0,0 +1,48 @@ +This is BibTeX, Version 0.99d (TeX Live 2022/dev/Debian) +Capacity: max_strings=200000, hash_size=200000, hash_prime=170003 +The top-level auxiliary file: smallantimagmas.aux +I found no \citation commands---while reading file smallantimagmas.aux +I found no \bibdata command---while reading file smallantimagmas.aux +I found no \bibstyle command---while reading file smallantimagmas.aux +You've used 0 entries, + 0 wiz_defined-function locations, + 83 strings with 504 characters, +and the built_in function-call counts, 0 in all, are: += -- 0 +> -- 0 +< -- 0 ++ -- 0 +- -- 0 +* -- 0 +:= -- 0 +add.period$ -- 0 +call.type$ -- 0 +change.case$ -- 0 +chr.to.int$ -- 0 +cite$ -- 0 +duplicate$ -- 0 +empty$ -- 0 +format.name$ -- 0 +if$ -- 0 +int.to.chr$ -- 0 +int.to.str$ -- 0 +missing$ -- 0 +newline$ -- 0 +num.names$ -- 0 +pop$ -- 0 +preamble$ -- 0 +purify$ -- 0 +quote$ -- 0 +skip$ -- 0 +stack$ -- 0 +substring$ -- 0 +swap$ -- 0 +text.length$ -- 0 +text.prefix$ -- 0 +top$ -- 0 +type$ -- 0 +warning$ -- 0 +while$ -- 0 +width$ -- 0 +write$ -- 0 +(There were 3 error messages) diff --git a/doc/smallantimagmas.idx b/doc/smallantimagmas.idx new file mode 100644 index 0000000..ed727c5 --- /dev/null +++ b/doc/smallantimagmas.idx @@ -0,0 +1,34 @@ +\indexentry{License|hyperpage}{2} +\indexentry{IsAntiassociative@\texttt {IsAntiassociative}!for IsMagma|hyperpage}{4} +\indexentry{IsLeftCyclic@\texttt {IsLeftCyclic}!for IsMagma|hyperpage}{4} +\indexentry{IsRightCyclic@\texttt {IsRightCyclic}!for IsMagma|hyperpage}{4} +\indexentry{IsLeftCancellative@\texttt {IsLeftCancellative}!for IsMagma|hyperpage}{4} +\indexentry{IsRightCancellative@\texttt {IsRightCancellative}!for IsMagma|hyperpage}{5} +\indexentry{IsCancellative@\texttt {IsCancellative}!for IsMagma|hyperpage}{5} +\indexentry{AssociativityIndex@\texttt {AssociativityIndex}!for IsMagma|hyperpage}{5} +\indexentry{DiagonalOfMultiplicationTable@\texttt {DiagonalOfMultiplicationTable}!for IsMagma|hyperpage}{6} +\indexentry{CommutativityIndex@\texttt {CommutativityIndex}!for IsMagma|hyperpage}{6} +\indexentry{AnticommutativityIndex@\texttt {AnticommutativityIndex}!for IsMagma|hyperpage}{6} +\indexentry{SquaresIndex@\texttt {SquaresIndex}!for IsMagma|hyperpage}{6} +\indexentry{IdSmallAntimagma@\texttt {IdSmallAntimagma}!for IsMagma|hyperpage}{6} +\indexentry{LeftOrder@\texttt {LeftOrder}!for IsExtLElement|hyperpage}{7} +\indexentry{RightOrder@\texttt {RightOrder}!for IsExtRElement|hyperpage}{7} +\indexentry{LeftOrdersOfElements@\texttt {LeftOrdersOfElements}!for IsMagma|hyperpage}{7} +\indexentry{RightOrdersOfElements@\texttt {RightOrdersOfElements}!for IsMagma|hyperpage}{7} +\indexentry{AllSubmagmas@\texttt {AllSubmagmas}|hyperpage}{7} +\indexentry{MagmaIsomorphismInvariantsMatch@\texttt {MagmaIsomorphismInvariantsMatch}|hyperpage}{8} +\indexentry{IsMagmaIsomorphic@\texttt {IsMagmaIsomorphic}|hyperpage}{8} +\indexentry{IsMagmaAntiisomorphic@\texttt {IsMagmaAntiisomorphic}|hyperpage}{8} +\indexentry{TransposedMagma@\texttt {TransposedMagma}|hyperpage}{8} +\indexentry{LeftPower@\texttt {LeftPower}|hyperpage}{9} +\indexentry{RightPower@\texttt {RightPower}|hyperpage}{9} +\indexentry{AllSmallAntimagmas@\texttt {AllSmallAntimagmas}|hyperpage}{9} +\indexentry{NrSmallAntimagmas@\texttt {NrSmallAntimagmas}|hyperpage}{9} +\indexentry{SmallAntimagma@\texttt {SmallAntimagma}|hyperpage}{10} +\indexentry{OneSmallAntimagma@\texttt {OneSmallAntimagma}|hyperpage}{10} +\indexentry{ReallyAllSmallAntimagmas@\texttt {ReallyAllSmallAntimagmas}|hyperpage}{10} +\indexentry{ReallyNrSmallAntimagmas@\texttt {ReallyNrSmallAntimagmas}|hyperpage}{10} +\indexentry{AntimagmaGeneratorPossibleDiagonals@\texttt {AntimagmaGeneratorPossibleDiagonals}|hyperpage}{11} +\indexentry{AntimagmaGeneratorFilterNonIsomorphicMagmas@\texttt {Antimagma}\-\texttt {Generator}\-\texttt {Filter}\-\texttt {Non}\-\texttt {Isomorphic}\-\texttt {Magmas}|hyperpage}{11} +\indexentry{MagmaIsomorphism@\texttt {MagmaIsomorphism}!for IsMagma, IsMagma|hyperpage}{11} +\indexentry{MagmaAntiisomorphism@\texttt {MagmaAntiisomorphism}!for IsMagma, IsMagma|hyperpage}{11} diff --git a/doc/smallantimagmas.ilg b/doc/smallantimagmas.ilg new file mode 100644 index 0000000..3d236c7 --- /dev/null +++ b/doc/smallantimagmas.ilg @@ -0,0 +1,6 @@ +This is makeindex, version 2.15 [TeX Live 2022/dev] (kpathsea + Thai support). +Scanning input file smallantimagmas.idx....done (34 entries accepted, 0 rejected). +Sorting entries....done (186 comparisons). +Generating output file smallantimagmas.ind....done (87 lines written, 0 warnings). +Output written in smallantimagmas.ind. +Transcript written in smallantimagmas.ilg. diff --git a/doc/smallantimagmas.ind b/doc/smallantimagmas.ind new file mode 100644 index 0000000..9169daa --- /dev/null +++ b/doc/smallantimagmas.ind @@ -0,0 +1,87 @@ +\begin{theindex} + + \item \texttt {AllSmallAntimagmas}, \hyperpage{9} + \item \texttt {AllSubmagmas}, \hyperpage{7} + \item \texttt {AnticommutativityIndex} + \subitem for IsMagma, \hyperpage{6} + \item \texttt {Antimagma}\-\texttt {Generator}\-\texttt {Filter}\-\texttt {Non}\-\texttt {Isomorphic}\-\texttt {Magmas}, + \hyperpage{11} + \item \texttt {AntimagmaGeneratorPossibleDiagonals}, \hyperpage{11} + \item \texttt {AssociativityIndex} + \subitem for IsMagma, \hyperpage{5} + + \indexspace + + \item \texttt {CommutativityIndex} + \subitem for IsMagma, \hyperpage{6} + + \indexspace + + \item \texttt {DiagonalOfMultiplicationTable} + \subitem for IsMagma, \hyperpage{6} + + \indexspace + + \item \texttt {IdSmallAntimagma} + \subitem for IsMagma, \hyperpage{6} + \item \texttt {IsAntiassociative} + \subitem for IsMagma, \hyperpage{4} + \item \texttt {IsCancellative} + \subitem for IsMagma, \hyperpage{5} + \item \texttt {IsLeftCancellative} + \subitem for IsMagma, \hyperpage{4} + \item \texttt {IsLeftCyclic} + \subitem for IsMagma, \hyperpage{4} + \item \texttt {IsMagmaAntiisomorphic}, \hyperpage{8} + \item \texttt {IsMagmaIsomorphic}, \hyperpage{8} + \item \texttt {IsRightCancellative} + \subitem for IsMagma, \hyperpage{5} + \item \texttt {IsRightCyclic} + \subitem for IsMagma, \hyperpage{4} + + \indexspace + + \item \texttt {LeftOrder} + \subitem for IsExtLElement, \hyperpage{7} + \item \texttt {LeftOrdersOfElements} + \subitem for IsMagma, \hyperpage{7} + \item \texttt {LeftPower}, \hyperpage{9} + \item License, \hyperpage{2} + + \indexspace + + \item \texttt {MagmaAntiisomorphism} + \subitem for IsMagma, IsMagma, \hyperpage{11} + \item \texttt {MagmaIsomorphism} + \subitem for IsMagma, IsMagma, \hyperpage{11} + \item \texttt {MagmaIsomorphismInvariantsMatch}, \hyperpage{8} + + \indexspace + + \item \texttt {NrSmallAntimagmas}, \hyperpage{9} + + \indexspace + + \item \texttt {OneSmallAntimagma}, \hyperpage{10} + + \indexspace + + \item \texttt {ReallyAllSmallAntimagmas}, \hyperpage{10} + \item \texttt {ReallyNrSmallAntimagmas}, \hyperpage{10} + \item \texttt {RightOrder} + \subitem for IsExtRElement, \hyperpage{7} + \item \texttt {RightOrdersOfElements} + \subitem for IsMagma, \hyperpage{7} + \item \texttt {RightPower}, \hyperpage{9} + + \indexspace + + \item \texttt {SmallAntimagma}, \hyperpage{10} + \item \texttt {SquaresIndex} + \subitem for IsMagma, \hyperpage{6} + + \indexspace + + \item \texttt {TransposedMagma}, \hyperpage{8} + +\end{theindex} diff --git a/doc/smallantimagmas.log b/doc/smallantimagmas.log new file mode 100644 index 0000000..d7cd8f8 --- /dev/null +++ b/doc/smallantimagmas.log @@ -0,0 +1,671 @@ +This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2022/dev/Debian) (preloaded format=pdflatex 2024.8.28) 28 AUG 2024 09:06 +entering extended mode + restricted \write18 enabled. + %&-line parsing enabled. +**smallantimagmas +(./smallantimagmas.tex +LaTeX2e <2021-11-15> patch level 1 +L3 programming layer <2022-01-21> +(/usr/share/texlive/texmf-dist/tex/latex/base/report.cls +Document Class: report 2021/10/04 v1.4n Standard LaTeX document class +(/usr/share/texlive/texmf-dist/tex/latex/base/size11.clo +File: size11.clo 2021/10/04 v1.4n Standard LaTeX file (size option) +) +\c@part=\count185 +\c@chapter=\count186 +\c@section=\count187 +\c@subsection=\count188 +\c@subsubsection=\count189 +\c@paragraph=\count190 +\c@subparagraph=\count191 +\c@figure=\count192 +\c@table=\count193 +\abovecaptionskip=\skip47 +\belowcaptionskip=\skip48 +\bibindent=\dimen138 +) +(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty +Package: geometry 2020/01/02 v5.9 Page Geometry + +(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty +Package: keyval 2014/10/28 v1.15 key=value parser (DPC) +\KV@toks@=\toks16 +) +(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifvtex.sty +Package: ifvtex 2019/10/25 v1.7 ifvtex legacy package. Use iftex instead. + +(/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty +Package: iftex 2020/03/06 v1.0d TeX engine tests +)) +\Gm@cnth=\count194 +\Gm@cntv=\count195 +\c@Gm@tempcnt=\count196 +\Gm@bindingoffset=\dimen139 +\Gm@wd@mp=\dimen140 +\Gm@odd@mp=\dimen141 +\Gm@even@mp=\dimen142 +\Gm@layoutwidth=\dimen143 +\Gm@layoutheight=\dimen144 +\Gm@layouthoffset=\dimen145 +\Gm@layoutvoffset=\dimen146 +\Gm@dimlist=\toks17 +) +(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty +Package: amssymb 2013/01/14 v3.01 AMS font symbols + +(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty +Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support +\@emptytoks=\toks18 +\symAMSa=\mathgroup4 +\symAMSb=\mathgroup5 +LaTeX Font Info: Redeclaring math symbol \hbar on input line 98. +LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold' +(Font) U/euf/m/n --> U/euf/b/n on input line 106. +)) +(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty +Package: inputenc 2021/02/14 v1.3d Input encoding file +\inpenc@prehook=\toks19 +\inpenc@posthook=\toks20 +) +(/usr/share/texlive/texmf-dist/tex/latex/base/makeidx.sty +Package: makeidx 2021/10/04 v1.0m Standard LaTeX package +) +\@indexfile=\write3 +\openout3 = `smallantimagmas.idx'. + + +Writing index file smallantimagmas.idx +(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty +Package: color 2021/12/07 v1.3c Standard LaTeX Color (DPC) + +(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg +File: color.cfg 2016/01/02 v1.6 sample color configuration +) +Package color Info: Driver file: pdftex.def on input line 149. + +(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def +File: pdftex.def 2020/10/05 v1.2a Graphics/color driver for pdftex +)) +(/usr/share/texlive/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty +Package: fancyvrb 2021/12/21 4.1b verbatim text (tvz,hv) +\FV@CodeLineNo=\count197 +\FV@InFile=\read2 +\FV@TabBox=\box50 +\c@FancyVerbLine=\count198 +\FV@StepNumber=\count199 +\FV@OutFile=\write4 +) +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/mathptmx.sty +Package: mathptmx 2020/03/25 PSNFSS-v9.3 Times w/ Math, improved (SPQR, WaS) +LaTeX Font Info: Redeclaring symbol font `operators' on input line 28. +LaTeX Font Info: Overwriting symbol font `operators' in version `normal' +(Font) OT1/cmr/m/n --> OT1/ztmcm/m/n on input line 28. +LaTeX Font Info: Overwriting symbol font `operators' in version `bold' +(Font) OT1/cmr/bx/n --> OT1/ztmcm/m/n on input line 28. +LaTeX Font Info: Redeclaring symbol font `letters' on input line 29. +LaTeX Font Info: Overwriting symbol font `letters' in version `normal' +(Font) OML/cmm/m/it --> OML/ztmcm/m/it on input line 29. +LaTeX Font Info: Overwriting symbol font `letters' in version `bold' +(Font) OML/cmm/b/it --> OML/ztmcm/m/it on input line 29. +LaTeX Font Info: Redeclaring symbol font `symbols' on input line 30. +LaTeX Font Info: Overwriting symbol font `symbols' in version `normal' +(Font) OMS/cmsy/m/n --> OMS/ztmcm/m/n on input line 30. +LaTeX Font Info: Overwriting symbol font `symbols' in version `bold' +(Font) OMS/cmsy/b/n --> OMS/ztmcm/m/n on input line 30. +LaTeX Font Info: Redeclaring symbol font `largesymbols' on input line 31. +LaTeX Font Info: Overwriting symbol font `largesymbols' in version `normal' +(Font) OMX/cmex/m/n --> OMX/ztmcm/m/n on input line 31. +LaTeX Font Info: Overwriting symbol font `largesymbols' in version `bold' +(Font) OMX/cmex/m/n --> OMX/ztmcm/m/n on input line 31. +\symbold=\mathgroup6 +\symitalic=\mathgroup7 +LaTeX Font Info: Redeclaring math alphabet \mathbf on input line 34. +LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal' +(Font) OT1/cmr/bx/n --> OT1/ptm/bx/n on input line 34. +LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold' +(Font) OT1/cmr/bx/n --> OT1/ptm/bx/n on input line 34. +LaTeX Font Info: Redeclaring math alphabet \mathit on input line 35. +LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal' +(Font) OT1/cmr/m/it --> OT1/ptm/m/it on input line 35. +LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold' +(Font) OT1/cmr/bx/it --> OT1/ptm/m/it on input line 35. +LaTeX Info: Redefining \hbar on input line 50. +) +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/helvet.sty +Package: helvet 2020/03/25 PSNFSS-v9.3 (WaS) +) +(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty +Package: fontenc 2021/04/29 v2.0v Standard LaTeX package +LaTeX Font Info: Trying to load font information for T1+ptm on input line 11 +2. + +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1ptm.fd +File: t1ptm.fd 2001/06/04 font definitions for T1/ptm. +)) +(/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty +Package: textcomp 2020/02/02 v2.0n Standard LaTeX package +) +(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty +Package: hyperref 2021-06-07 v7.00m Hypertext links for LaTeX + +(/usr/share/texlive/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty +Package: ltxcmds 2020-05-10 v1.25 LaTeX kernel commands for general use (HO) +) +(/usr/share/texlive/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty +Package: pdftexcmds 2020-06-27 v0.33 Utility functions of pdfTeX for LuaTeX (HO +) + +(/usr/share/texlive/texmf-dist/tex/generic/infwarerr/infwarerr.sty +Package: infwarerr 2019/12/03 v1.5 Providing info/warning/error messages (HO) +) +Package pdftexcmds Info: \pdf@primitive is available. +Package pdftexcmds Info: \pdf@ifprimitive is available. +Package pdftexcmds Info: \pdfdraftmode found. +) +(/usr/share/texlive/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty +Package: kvsetkeys 2019/12/15 v1.18 Key value parser (HO) +) +(/usr/share/texlive/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty +Package: kvdefinekeys 2019-12-19 v1.6 Define keys (HO) +) +(/usr/share/texlive/texmf-dist/tex/generic/pdfescape/pdfescape.sty +Package: pdfescape 2019/12/09 v1.15 Implements pdfTeX's escape features (HO) +) +(/usr/share/texlive/texmf-dist/tex/latex/hycolor/hycolor.sty +Package: hycolor 2020-01-27 v1.10 Color options for hyperref/bookmark (HO) +) +(/usr/share/texlive/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty +Package: letltxmacro 2019/12/03 v1.6 Let assignment for LaTeX macros (HO) +) +(/usr/share/texlive/texmf-dist/tex/latex/auxhook/auxhook.sty +Package: auxhook 2019-12-17 v1.6 Hooks for auxiliary files (HO) +) +(/usr/share/texlive/texmf-dist/tex/latex/kvoptions/kvoptions.sty +Package: kvoptions 2020-10-07 v3.14 Key value format for package options (HO) +) +\@linkdim=\dimen147 +\Hy@linkcounter=\count266 +\Hy@pagecounter=\count267 + +(/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def +File: pd1enc.def 2021-06-07 v7.00m Hyperref: PDFDocEncoding definition (HO) +Now handling font encoding PD1 ... +... no UTF-8 mapping file for font encoding PD1 +) +(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref-langpatches.def +File: hyperref-langpatches.def 2021-06-07 v7.00m Hyperref: patches for babel la +nguages +) +(/usr/share/texlive/texmf-dist/tex/generic/intcalc/intcalc.sty +Package: intcalc 2019/12/15 v1.3 Expandable calculations with integers (HO) +) +(/usr/share/texlive/texmf-dist/tex/generic/etexcmds/etexcmds.sty +Package: etexcmds 2019/12/15 v1.7 Avoid name clashes with e-TeX commands (HO) +) +\Hy@SavedSpaceFactor=\count268 + +(/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def +File: puenc.def 2021-06-07 v7.00m Hyperref: PDF Unicode definition (HO) +Now handling font encoding PU ... +... no UTF-8 mapping file for font encoding PU +) + +Package hyperref Warning: Unexpected value for option `pdftex' +(hyperref) is ignored on input line 4073. + +Package hyperref Info: Option `bookmarks' set `true' on input line 4073. + +Package hyperref Warning: Option `a4paper' is no longer used. + +Package hyperref Info: Option `colorlinks' set `true' on input line 4073. +Package hyperref Info: Option `breaklinks' set `true' on input line 4073. +Package hyperref Info: Hyper figures OFF on input line 4192. +Package hyperref Info: Link nesting OFF on input line 4197. +Package hyperref Info: Hyper index ON on input line 4200. +Package hyperref Info: Plain pages OFF on input line 4207. +Package hyperref Info: Backreferencing ON on input line 4210. +Package hyperref Info: Implicit mode ON; LaTeX internals redefined. +Package hyperref Info: Bookmarks ON on input line 4445. +(/usr/share/texlive/texmf-dist/tex/latex/hyperref/backref.sty +Package: backref 2021/02/04 v1.41 Bibliographical back referencing + +(/usr/share/texlive/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty +Package: rerunfilecheck 2019/12/05 v1.9 Rerun checks for auxiliary files (HO) + +(/usr/share/texlive/texmf-dist/tex/latex/base/atveryend-ltx.sty +Package: atveryend-ltx 2020/08/19 v1.0a Emulation of the original atveryend pac +kage +with kernel methods +) +(/usr/share/texlive/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty +Package: uniquecounter 2019/12/15 v1.4 Provide unlimited unique counter (HO) + +(/usr/share/texlive/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty +Package: bigintcalc 2019/12/15 v1.5 Expandable calculations on big integers (HO +) +)) +Package uniquecounter Info: New unique counter `rerunfilecheck' on input line 2 +86. +)) +\c@Hy@tempcnt=\count269 + +(/usr/share/texlive/texmf-dist/tex/latex/url/url.sty +\Urlmuskip=\muskip16 +Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc. +) +LaTeX Info: Redefining \url on input line 4804. +\XeTeXLinkMargin=\dimen148 + +(/usr/share/texlive/texmf-dist/tex/generic/bitset/bitset.sty +Package: bitset 2019/12/09 v1.3 Handle bit-vector datatype (HO) +) +\Fld@menulength=\count270 +\Field@Width=\dimen149 +\Fld@charsize=\dimen150 +Package hyperref Info: Hyper figures OFF on input line 6076. +Package hyperref Info: Link nesting OFF on input line 6081. +Package hyperref Info: Hyper index ON on input line 6084. +Package hyperref Info: backreferencing ON on input line 6089. +Package hyperref Info: Link coloring ON on input line 6094. +Package hyperref Info: Link coloring with OCG OFF on input line 6101. +Package hyperref Info: PDF/A mode OFF on input line 6106. +LaTeX Info: Redefining \ref on input line 6146. +LaTeX Info: Redefining \pageref on input line 6150. + +(/usr/share/texlive/texmf-dist/tex/latex/base/atbegshi-ltx.sty +Package: atbegshi-ltx 2021/01/10 v1.0c Emulation of the original atbegshi +package with kernel methods +) +\Hy@abspage=\count271 +\c@Item=\count272 +\c@Hfootnote=\count273 +) +Package hyperref Info: Driver: hpdftex. + +(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def +File: hpdftex.def 2021-06-07 v7.00m Hyperref driver for pdfTeX +\Fld@listcount=\count274 +\c@bookmark@seq@number=\count275 +\Hy@SectionHShift=\skip49 +) +\pagenrlog=\write5 +\openout5 = `smallantimagmas.pnr'. + + +(/usr/share/texlive/texmf-dist/tex/latex/enumitem/enumitem.sty +Package: enumitem 2019/06/20 v3.9 Customized lists +\labelindent=\skip50 +\enit@outerparindent=\dimen151 +\enit@toks=\toks21 +\enit@inbox=\box51 +\enit@count@id=\count276 +\enitdp@description=\count277 +) +(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def +File: l3backend-pdftex.def 2022-01-12 L3 backend support: PDF output (pdfTeX) +\l__color_backend_stack_int=\count278 +\l__pdf_internal_box=\box52 +) +(./smallantimagmas.aux) +\openout1 = `smallantimagmas.aux'. + +LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 87. +LaTeX Font Info: ... okay on input line 87. +LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 87. +LaTeX Font Info: ... okay on input line 87. +LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 87. +LaTeX Font Info: ... okay on input line 87. +LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 87. +LaTeX Font Info: ... okay on input line 87. +LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 87. +LaTeX Font Info: ... okay on input line 87. +LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 87. +LaTeX Font Info: ... okay on input line 87. +LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 87. +LaTeX Font Info: ... okay on input line 87. +LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 87. +LaTeX Font Info: ... okay on input line 87. +LaTeX Font Info: Checking defaults for PU/pdf/m/n on input line 87. +LaTeX Font Info: ... okay on input line 87. + +*geometry* driver: auto-detecting +*geometry* detected driver: pdftex +*geometry* verbose mode - [ preamble ] result: +* driver: pdftex +* paper: a4paper +* layout: +* layoutoffset:(h,v)=(0.0pt,0.0pt) +* modes: +* h-part:(L,W,R)=(76.82243pt, 443.863pt, 76.82243pt) +* v-part:(T,H,B)=(105.27519pt, 634.49646pt, 105.27519pt) +* \paperwidth=597.50787pt +* \paperheight=845.04684pt +* \textwidth=443.863pt +* \textheight=634.49646pt +* \oddsidemargin=4.55244pt +* \evensidemargin=4.55244pt +* \topmargin=-3.9948pt +* \headheight=12.0pt +* \headsep=25.0pt +* \topskip=11.0pt +* \footskip=30.0pt +* \marginparwidth=50.0pt +* \marginparsep=10.0pt +* \columnsep=10.0pt +* \skip\footins=10.0pt plus 4.0pt minus 2.0pt +* \hoffset=0.0pt +* \voffset=0.0pt +* \mag=1000 +* \@twocolumnfalse +* \@twosidefalse +* \@mparswitchfalse +* \@reversemarginfalse +* (1in=72.27pt=25.4mm, 1cm=28.453pt) + +(/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii +[Loading MPS to PDF converter (version 2006.09.02).] +\scratchcounter=\count279 +\scratchdimen=\dimen152 +\scratchbox=\box53 +\nofMPsegments=\count280 +\nofMParguments=\count281 +\everyMPshowfont=\toks22 +\MPscratchCnt=\count282 +\MPscratchDim=\dimen153 +\MPnumerator=\count283 +\makeMPintoPDFobject=\count284 +\everyMPtoPDFconversion=\toks23 +) +\big@size=\dimen154 +Package hyperref Info: Link coloring ON on input line 87. + (/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty +Package: nameref 2021-04-02 v2.47 Cross-referencing by name of section + +(/usr/share/texlive/texmf-dist/tex/latex/refcount/refcount.sty +Package: refcount 2019/12/15 v3.6 Data extraction from label references (HO) +) +(/usr/share/texlive/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty +Package: gettitlestring 2019/12/15 v1.6 Cleanup title references (HO) +) +\c@section@level=\count285 +) +LaTeX Info: Redefining \ref on input line 87. +LaTeX Info: Redefining \pageref on input line 87. +LaTeX Info: Redefining \nameref on input line 87. + +(./smallantimagmas.out) (./smallantimagmas.out) +\@outlinefile=\write6 +\openout6 = `smallantimagmas.out'. + + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `\\' on input line 107. + +LaTeX Font Info: Trying to load font information for T1+cmtt on input line 1 +18. +(/usr/share/texlive/texmf-dist/tex/latex/base/t1cmtt.fd +File: t1cmtt.fd 2019/12/16 v2.5j Standard LaTeX font definitions +) +Underfull \hbox (badness 10000) in paragraph at lines 114--120 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 110--122 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 110--122 + + [] + +[1 + +{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] +LaTeX Font Info: Trying to load font information for TS1+ptm on input line 1 +28. + +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/ts1ptm.fd +File: ts1ptm.fd 2001/06/04 font definitions for TS1/ptm. +) +LaTeX Font Info: Trying to load font information for T1+phv on input line 13 +0. + +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1phv.fd +File: t1phv.fd 2020/03/25 scalable font definitions for T1/phv. +) +Underfull \hbox (badness 10000) in paragraph at lines 130--134 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 136--138 + + [] + +[2] (./smallantimagmas.toc +LaTeX Font Info: Trying to load font information for OT1+ztmcm on input line + 2. + +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/ot1ztmcm.fd +File: ot1ztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OT1/ztmcm. +) +LaTeX Font Info: Trying to load font information for OML+ztmcm on input line + 2. + +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/omlztmcm.fd +File: omlztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OML/ztmcm. +) +LaTeX Font Info: Trying to load font information for OMS+ztmcm on input line + 2. + +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/omsztmcm.fd +File: omsztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OMS/ztmcm. +) +LaTeX Font Info: Trying to load font information for OMX+ztmcm on input line + 2. + +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/omxztmcm.fd +File: omxztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OMX/ztmcm. +) +LaTeX Font Info: Trying to load font information for OT1+ptm on input line 2 +. + +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/ot1ptm.fd +File: ot1ptm.fd 2001/06/04 font definitions for OT1/ptm. +) +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <10.95> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 2. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <8> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 2. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <6> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 2. +) +\tf@toc=\write7 +\openout7 = `smallantimagmas.toc'. + + [3 + +] +Chapter 1. +LaTeX Font Info: Font shape `T1/cmtt/bx/n' in size <10> not available +(Font) Font shape `T1/cmtt/m/n' tried instead on input line 172. +[4 + +] +Underfull \hbox (badness 10000) in paragraph at lines 306--309 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 335--338 + + [] + +[5] +Underfull \hbox (badness 10000) in paragraph at lines 361--364 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 381--384 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 400--403 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 425--428 + + [] + +[6] +Underfull \hbox (badness 10000) in paragraph at lines 450--453 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 462--465 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 474--477 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 486--489 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 505--508 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 528--531 + + [] + +[7] +Underfull \hbox (badness 10000) in paragraph at lines 540--543 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 571--574 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 602--605 + + [] + +[8] +Underfull \hbox (badness 10000) in paragraph at lines 635--638 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 647--650 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 659--662 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 687--690 + + [] + +[9] +Underfull \hbox (badness 10000) in paragraph at lines 712--715 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 735--738 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 759--762 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 781--784 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 802--805 + + [] + +[10] +Underfull \hbox (badness 10000) in paragraph at lines 828--831 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 847--850 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 872--875 + + [] + +[11] (./smallantimagmas.ind +Underfull \hbox (badness 10000) in paragraph at lines 7--9 +[]\T1/cmtt/m/n/10.95 Antimagma\T1/ptm/m/n/10.95 -\T1/cmtt/m/n/10.95 Generator\T +1/ptm/m/n/10.95 -\T1/cmtt/m/n/10.95 Filter\T1/ptm/m/n/10.95 -\T1/cmtt/m/n/10.95 + Non\T1/ptm/m/n/10.95 -\T1/cmtt/m/n/10.95 Isomorphic\T1/ptm/m/n/10.95 - + [] + +[12 + + +]) (./smallantimagmas.aux) +Package rerunfilecheck Info: File `smallantimagmas.out' has not changed. +(rerunfilecheck) Checksum: 2F9890A2C6B2528F03E9E5504E3909FD;1920. + ) +Here is how much of TeX's memory you used: + 10544 strings out of 480247 + 165356 string characters out of 5896151 + 455049 words of memory out of 5000000 + 28228 multiletter control sequences out of 15000+600000 + 528630 words of font info for 99 fonts, out of 8000000 for 9000 + 14 hyphenation exceptions out of 8191 + 87i,7n,91p,465b,659s stack positions out of 5000i,500n,10000p,200000b,80000s +{/usr/share/texlive/texmf-dist/fonts/enc/dvips/base/8r.enc} +Output written on smallantimagmas.pdf (12 pages, 130969 bytes). +PDF statistics: + 386 PDF objects out of 1000 (max. 8388607) + 241 compressed objects within 3 object streams + 94 named destinations out of 1000 (max. 500000) + 49 words of extra memory for PDF output out of 10000 (max. 10000000) + diff --git a/doc/smallantimagmas.out b/doc/smallantimagmas.out new file mode 100644 index 0000000..74e0d0e --- /dev/null +++ b/doc/smallantimagmas.out @@ -0,0 +1,6 @@ +\BOOKMARK [0][-]{chapter.1}{\376\377\000s\000m\000a\000l\000l\000a\000n\000t\000i\000m\000a\000g\000m\000a\000s\000\040\000a\000u\000t\000o\000m\000a\000t\000i\000c\000\040\000g\000e\000n\000e\000r\000a\000t\000e\000d\000\040\000d\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{}% 1 +\BOOKMARK [1][-]{section.1.1}{\376\377\000s\000m\000a\000l\000l\000a\000n\000t\000i\000m\000a\000g\000m\000a\000s\000\040\000a\000u\000t\000o\000m\000a\000t\000i\000c\000\040\000g\000e\000n\000e\000r\000a\000t\000e\000d\000\040\000d\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n\000\040\000o\000f\000\040\000p\000r\000o\000p\000e\000r\000t\000i\000e\000s}{chapter.1}% 2 +\BOOKMARK [1][-]{section.1.2}{\376\377\000s\000m\000a\000l\000l\000a\000n\000t\000i\000m\000a\000g\000m\000a\000s\000\040\000a\000u\000t\000o\000m\000a\000t\000i\000c\000\040\000g\000e\000n\000e\000r\000a\000t\000e\000d\000\040\000d\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n\000\040\000o\000f\000\040\000a\000t\000t\000r\000i\000b\000u\000t\000e\000s}{chapter.1}% 3 +\BOOKMARK [1][-]{section.1.3}{\376\377\000s\000m\000a\000l\000l\000a\000n\000t\000i\000m\000a\000g\000m\000a\000s\000\040\000a\000u\000t\000o\000m\000a\000t\000i\000c\000\040\000g\000e\000n\000e\000r\000a\000t\000e\000d\000\040\000d\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n\000\040\000o\000f\000\040\000g\000l\000o\000b\000a\000l\000\040\000f\000u\000n\000c\000t\000i\000o\000n\000s}{chapter.1}% 4 +\BOOKMARK [1][-]{section.1.4}{\376\377\000s\000m\000a\000l\000l\000a\000n\000t\000i\000m\000a\000g\000m\000a\000s\000\040\000a\000u\000t\000o\000m\000a\000t\000i\000c\000\040\000g\000e\000n\000e\000r\000a\000t\000e\000d\000\040\000d\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n\000\040\000o\000f\000\040\000m\000e\000t\000h\000o\000d\000s}{chapter.1}% 5 +\BOOKMARK [0][-]{section*.4}{\376\377\000I\000n\000d\000e\000x}{}% 6 diff --git a/doc/smallantimagmas.pnr b/doc/smallantimagmas.pnr new file mode 100644 index 0000000..7f81fef --- /dev/null +++ b/doc/smallantimagmas.pnr @@ -0,0 +1,46 @@ +PAGENRS := [ +[ 0, 0, 0 ], 1, +[ 0, 0, 1 ], 2, +[ 0, 0, 2 ], 2, +[ 0, 0, 3 ], 3, +[ 1, 0, 0 ], 4, +[ 1, 1, 0 ], 4, +[ 1, 1, 1 ], 4, +[ 1, 1, 2 ], 4, +[ 1, 1, 3 ], 4, +[ 1, 1, 4 ], 4, +[ 1, 1, 5 ], 5, +[ 1, 1, 6 ], 5, +[ 1, 2, 0 ], 5, +[ 1, 2, 1 ], 5, +[ 1, 2, 2 ], 6, +[ 1, 2, 3 ], 6, +[ 1, 2, 4 ], 6, +[ 1, 2, 5 ], 6, +[ 1, 2, 6 ], 6, +[ 1, 2, 7 ], 7, +[ 1, 2, 8 ], 7, +[ 1, 2, 9 ], 7, +[ 1, 2, 10 ], 7, +[ 1, 3, 0 ], 7, +[ 1, 3, 1 ], 7, +[ 1, 3, 2 ], 8, +[ 1, 3, 3 ], 8, +[ 1, 3, 4 ], 8, +[ 1, 3, 5 ], 8, +[ 1, 3, 6 ], 9, +[ 1, 3, 7 ], 9, +[ 1, 3, 8 ], 9, +[ 1, 3, 9 ], 9, +[ 1, 3, 10 ], 10, +[ 1, 3, 11 ], 10, +[ 1, 3, 12 ], 10, +[ 1, 3, 13 ], 10, +[ 1, 3, 14 ], 11, +[ 1, 3, 15 ], 11, +[ 1, 4, 0 ], 11, +[ 1, 4, 1 ], 11, +[ 1, 4, 2 ], 11, +[ "Ind", 0, 0 ], 12, +["Ind", 0, 0], 13, +["End"], 13]; diff --git a/doc/smallantimagmas.tex b/doc/smallantimagmas.tex new file mode 100644 index 0000000..8054b49 --- /dev/null +++ b/doc/smallantimagmas.tex @@ -0,0 +1,911 @@ +% generated by GAPDoc2LaTeX from XML source (Frank Luebeck) +\documentclass[a4paper,11pt]{report} + +\usepackage[top=37mm,bottom=37mm,left=27mm,right=27mm]{geometry} +\sloppy +\pagestyle{myheadings} +\usepackage{amssymb} +\usepackage[utf8]{inputenc} +\usepackage{makeidx} +\makeindex +\usepackage{color} +\definecolor{FireBrick}{rgb}{0.5812,0.0074,0.0083} +\definecolor{RoyalBlue}{rgb}{0.0236,0.0894,0.6179} +\definecolor{RoyalGreen}{rgb}{0.0236,0.6179,0.0894} +\definecolor{RoyalRed}{rgb}{0.6179,0.0236,0.0894} +\definecolor{LightBlue}{rgb}{0.8544,0.9511,1.0000} +\definecolor{Black}{rgb}{0.0,0.0,0.0} + +\definecolor{linkColor}{rgb}{0.0,0.0,0.554} +\definecolor{citeColor}{rgb}{0.0,0.0,0.554} +\definecolor{fileColor}{rgb}{0.0,0.0,0.554} +\definecolor{urlColor}{rgb}{0.0,0.0,0.554} +\definecolor{promptColor}{rgb}{0.0,0.0,0.589} +\definecolor{brkpromptColor}{rgb}{0.589,0.0,0.0} +\definecolor{gapinputColor}{rgb}{0.589,0.0,0.0} +\definecolor{gapoutputColor}{rgb}{0.0,0.0,0.0} + +%% for a long time these were red and blue by default, +%% now black, but keep variables to overwrite +\definecolor{FuncColor}{rgb}{0.0,0.0,0.0} +%% strange name because of pdflatex bug: +\definecolor{Chapter }{rgb}{0.0,0.0,0.0} +\definecolor{DarkOlive}{rgb}{0.1047,0.2412,0.0064} + + +\usepackage{fancyvrb} + +\usepackage{mathptmx,helvet} +\usepackage[T1]{fontenc} +\usepackage{textcomp} + + +\usepackage[ + pdftex=true, + bookmarks=true, + a4paper=true, + pdftitle={Written with GAPDoc}, + pdfcreator={LaTeX with hyperref package / GAPDoc}, + colorlinks=true, + backref=page, + breaklinks=true, + linkcolor=linkColor, + citecolor=citeColor, + filecolor=fileColor, + urlcolor=urlColor, + pdfpagemode={UseNone}, + ]{hyperref} + +\newcommand{\maintitlesize}{\fontsize{50}{55}\selectfont} + +% write page numbers to a .pnr log file for online help +\newwrite\pagenrlog +\immediate\openout\pagenrlog =\jobname.pnr +\immediate\write\pagenrlog{PAGENRS := [} +\newcommand{\logpage}[1]{\protect\write\pagenrlog{#1, \thepage,}} +%% were never documented, give conflicts with some additional packages + +\newcommand{\GAP}{\textsf{GAP}} + +%% nicer description environments, allows long labels +\usepackage{enumitem} +\setdescription{style=nextline} + +%% depth of toc +\setcounter{tocdepth}{1} + + + + + +%% command for ColorPrompt style examples +\newcommand{\gapprompt}[1]{\color{promptColor}{\bfseries #1}} +\newcommand{\gapbrkprompt}[1]{\color{brkpromptColor}{\bfseries #1}} +\newcommand{\gapinput}[1]{\color{gapinputColor}{#1}} + + +\begin{document} + +\logpage{[ 0, 0, 0 ]} +\begin{titlepage} +\mbox{}\vfill + +\begin{center}{\maintitlesize \textbf{ smallantimagmas \mbox{}}}\\ +\vfill + +\hypersetup{pdftitle= smallantimagmas } +\markright{\scriptsize \mbox{}\hfill smallantimagmas \hfill\mbox{}} +{\Huge \textbf{ A fork of smallgrp package for small antiassociative magmas \mbox{}}}\\ +\vfill + +{\Huge 0.2.0 \mbox{}}\\[1cm] +{ 28 August 2024 \mbox{}}\\[1cm] +\mbox{}\\[2cm] +{\Large \textbf{ Kamil Zabielski\\ + \mbox{}}}\\ +\hypersetup{pdfauthor= Kamil Zabielski\\ + } +\end{center}\vfill + +\mbox{}\\ +{\mbox{}\\ +\small \noindent \textbf{ Kamil Zabielski\\ + }\\ + Address: \begin{minipage}[t]{8cm}\noindent + Department of Theoretical Computer Science\\ + Bia{\l}ystok University of Technology\\ + Wiejska 45A\\ + 15\texttt{\symbol{45}}325 Bia{\l}ystok\\ + Poland\\ + \end{minipage} +}\\ +\end{titlepage} + +\newpage\setcounter{page}{2} +{\small +\section*{Copyright} +\logpage{[ 0, 0, 1 ]} + \index{License} {\copyright} 2024 by Kamil Zabielski + + \textsf{smallantimagmas} package is free software; you can redistribute it and/or modify it under the +terms of the \href{http://www.fsf.org/licenses/gpl.html} {GNU General Public License} as published by the Free Software Foundation; either version 2 of the License, +or (at your option) any later version. \mbox{}}\\[1cm] +{\small +\section*{Acknowledgements} +\logpage{[ 0, 0, 2 ]} + We appreciate very much all past and future comments, suggestions and +contributions to this package and its documentation provided by \textsf{GAP} users and developers. \mbox{}}\\[1cm] +\newpage + +\def\contentsname{Contents\logpage{[ 0, 0, 3 ]}} + +\tableofcontents +\newpage + + +\chapter{\textcolor{Chapter }{smallantimagmas automatic generated documentation}}\label{Chapter_smallantimagmas_automatic_generated_documentation} +\logpage{[ 1, 0, 0 ]} +\hyperdef{L}{X7EB7BB817CC15891}{} +{ + +\section{\textcolor{Chapter }{smallantimagmas automatic generated documentation of properties}}\label{Chapter_smallantimagmas_automatic_generated_documentation_Section_smallantimagmas_automatic_generated_documentation_of_properties} +\logpage{[ 1, 1, 0 ]} +\hyperdef{L}{X78F902077A6714C4}{} +{ + + +\subsection{\textcolor{Chapter }{IsAntiassociative (for IsMagma)}} +\logpage{[ 1, 1, 1 ]}\nobreak +\hyperdef{L}{X7B8537C57970AE37}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{IsAntiassociative({\mdseries\slshape M})\index{IsAntiassociative@\texttt{IsAntiassociative}!for IsMagma} +\label{IsAntiassociative:for IsMagma} +}\hfill{\scriptsize (property)}}\\ +\textbf{\indent Returns:\ } +\texttt{true} or \texttt{false} + + + + identifies whether magma \mbox{\texttt{\mdseries\slshape M}} is antiassociative. + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] + !gapprompt@gap>| !gapinput@IsAntiassociative(OneSmallGroup(16));| + false + !gapprompt@gap>| !gapinput@IsAntiassociative(OneSmallAntimagma(2));| + true + !gapprompt@gap>| !gapinput@IsAntiassociative(OneSmallAntimagma(3));| + true +\end{Verbatim} + + + } + + + +\subsection{\textcolor{Chapter }{IsLeftCyclic (for IsMagma)}} +\logpage{[ 1, 1, 2 ]}\nobreak +\hyperdef{L}{X8392BFEE78284DE1}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{IsLeftCyclic({\mdseries\slshape M})\index{IsLeftCyclic@\texttt{IsLeftCyclic}!for IsMagma} +\label{IsLeftCyclic:for IsMagma} +}\hfill{\scriptsize (property)}}\\ +\textbf{\indent Returns:\ } +\texttt{true} or \texttt{false} + + + + if magma is left cyclic \mbox{\texttt{\mdseries\slshape m}}. } + + + +\subsection{\textcolor{Chapter }{IsRightCyclic (for IsMagma)}} +\logpage{[ 1, 1, 3 ]}\nobreak +\hyperdef{L}{X7BE3D1C0801AE7EA}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{IsRightCyclic({\mdseries\slshape M})\index{IsRightCyclic@\texttt{IsRightCyclic}!for IsMagma} +\label{IsRightCyclic:for IsMagma} +}\hfill{\scriptsize (property)}}\\ +\textbf{\indent Returns:\ } +\texttt{true} or \texttt{false} + + + + if magma is left cyclic \mbox{\texttt{\mdseries\slshape m}}. } + + + +\subsection{\textcolor{Chapter }{IsLeftCancellative (for IsMagma)}} +\logpage{[ 1, 1, 4 ]}\nobreak +\hyperdef{L}{X7D994F7382127E77}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{IsLeftCancellative({\mdseries\slshape M})\index{IsLeftCancellative@\texttt{IsLeftCancellative}!for IsMagma} +\label{IsLeftCancellative:for IsMagma} +}\hfill{\scriptsize (property)}}\\ +\textbf{\indent Returns:\ } +\texttt{true} or \texttt{false} + + + + if magma is left cancellative \mbox{\texttt{\mdseries\slshape m}}. + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] + !gapprompt@gap>| !gapinput@M := SmallAntimagma(2, 1);| + + !gapprompt@gap>| !gapinput@Display( MultiplicationTable(M) );| + [ [ 2, 1 ], + [ 2, 1 ] ] + !gapprompt@gap>| !gapinput@IsRightCancellative(M);| + false + !gapprompt@gap>| !gapinput@IsLeftCancellative(M);| + true + !gapprompt@gap>| !gapinput@List(AllSmallAntimagmas(2), M -> IsLeftCancellative(M));| + [ true, false ] +\end{Verbatim} + + + } + + + +\subsection{\textcolor{Chapter }{IsRightCancellative (for IsMagma)}} +\logpage{[ 1, 1, 5 ]}\nobreak +\hyperdef{L}{X85C01ECF83CD5484}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{IsRightCancellative({\mdseries\slshape M})\index{IsRightCancellative@\texttt{IsRightCancellative}!for IsMagma} +\label{IsRightCancellative:for IsMagma} +}\hfill{\scriptsize (property)}}\\ +\textbf{\indent Returns:\ } +\texttt{true} or \texttt{false} + + + + if magma is right cancellative \mbox{\texttt{\mdseries\slshape m}}. + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] + !gapprompt@gap>| !gapinput@List(AllSmallAntimagmas(2), M -> IsRightCancellative(M));| + [ false, true ] +\end{Verbatim} + + + } + + + +\subsection{\textcolor{Chapter }{IsCancellative (for IsMagma)}} +\logpage{[ 1, 1, 6 ]}\nobreak +\hyperdef{L}{X7E58570787350F43}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{IsCancellative({\mdseries\slshape M})\index{IsCancellative@\texttt{IsCancellative}!for IsMagma} +\label{IsCancellative:for IsMagma} +}\hfill{\scriptsize (property)}}\\ +\textbf{\indent Returns:\ } +\texttt{true} or \texttt{false} + + + + if magma is cancellative \mbox{\texttt{\mdseries\slshape m}}. + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] + !gapprompt@gap>| !gapinput@List(AllSmallAntimagmas(2), M -> IsCancellative(M));| + [ false, false ] +\end{Verbatim} + + + } + + } + + +\section{\textcolor{Chapter }{smallantimagmas automatic generated documentation of attributes}}\label{Chapter_smallantimagmas_automatic_generated_documentation_Section_smallantimagmas_automatic_generated_documentation_of_attributes} +\logpage{[ 1, 2, 0 ]} +\hyperdef{L}{X839C88FC81394B14}{} +{ + + +\subsection{\textcolor{Chapter }{AssociativityIndex (for IsMagma)}} +\logpage{[ 1, 2, 1 ]}\nobreak +\hyperdef{L}{X809A477180F2A0F6}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{AssociativityIndex({\mdseries\slshape M})\index{AssociativityIndex@\texttt{AssociativityIndex}!for IsMagma} +\label{AssociativityIndex:for IsMagma} +}\hfill{\scriptsize (attribute)}}\\ + + + identifies associativity index of \mbox{\texttt{\mdseries\slshape M}}. + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] + !gapprompt@gap>| !gapinput@OneSmallAntimagma(2);| + + !gapprompt@gap>| !gapinput@AssociativityIndex(OneSmallAntimagma(2));| + 0 + !gapprompt@gap>| !gapinput@OneSmallGroup(4);| + + !gapprompt@gap>| !gapinput@AssociativityIndex(OneSmallGroup(4));| + 64 + !gapprompt@gap>| !gapinput@AssociativityIndex(OneSmallGroup(4)) = 4 ^ 3;| + true +\end{Verbatim} + + + } + + + +\subsection{\textcolor{Chapter }{DiagonalOfMultiplicationTable (for IsMagma)}} +\logpage{[ 1, 2, 2 ]}\nobreak +\hyperdef{L}{X802DA9B083E7F4A3}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{DiagonalOfMultiplicationTable({\mdseries\slshape M})\index{DiagonalOfMultiplicationTable@\texttt{DiagonalOfMultiplicationTable}!for IsMagma} +\label{DiagonalOfMultiplicationTable:for IsMagma} +}\hfill{\scriptsize (attribute)}}\\ + + + computes diaognal of multiplication table of \mbox{\texttt{\mdseries\slshape M}}. + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] + !gapprompt@gap>| !gapinput@List(AllSmallAntimagmas(3), M -> DiagonalOfMultiplicationTable((M))); | + [ [ 2, 1, 1 ], [ 2, 1, 1 ], + [ 2, 3, 2 ], [ 2, 1, 1 ], + [ 2, 1, 1 ], [ 2, 1, 2 ], + [ 2, 3, 2 ], [ 2, 1, 2 ], + [ 2, 3, 1 ], [ 2, 3, 1 ] + ] +\end{Verbatim} + + + } + + + +\subsection{\textcolor{Chapter }{CommutativityIndex (for IsMagma)}} +\logpage{[ 1, 2, 3 ]}\nobreak +\hyperdef{L}{X87FED7267EB0A068}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{CommutativityIndex({\mdseries\slshape M})\index{CommutativityIndex@\texttt{CommutativityIndex}!for IsMagma} +\label{CommutativityIndex:for IsMagma} +}\hfill{\scriptsize (attribute)}}\\ + + + identifies commutativity index of \mbox{\texttt{\mdseries\slshape M}}. + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] + +\end{Verbatim} + + + } + + + +\subsection{\textcolor{Chapter }{AnticommutativityIndex (for IsMagma)}} +\logpage{[ 1, 2, 4 ]}\nobreak +\hyperdef{L}{X7D32B8F780294AEC}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{AnticommutativityIndex({\mdseries\slshape M})\index{AnticommutativityIndex@\texttt{AnticommutativityIndex}!for IsMagma} +\label{AnticommutativityIndex:for IsMagma} +}\hfill{\scriptsize (attribute)}}\\ + + + calculates anticommutativity index of \mbox{\texttt{\mdseries\slshape M}}. + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] +\end{Verbatim} + + + } + + + +\subsection{\textcolor{Chapter }{SquaresIndex (for IsMagma)}} +\logpage{[ 1, 2, 5 ]}\nobreak +\hyperdef{L}{X85904967802C27B4}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{SquaresIndex({\mdseries\slshape M})\index{SquaresIndex@\texttt{SquaresIndex}!for IsMagma} +\label{SquaresIndex:for IsMagma} +}\hfill{\scriptsize (attribute)}}\\ + + + computes squares index of \mbox{\texttt{\mdseries\slshape M}} so the order of $\left\{ m^2 | m \in \right\}$. + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] + !gapprompt@gap>| !gapinput@List(AllSmallAntimagmas(2), M -> List(M, m -> m * m) ); | + [ [ m2, m1 ], [ m2, m1 ] ] + !gapprompt@gap>| !gapinput@List(AllSmallAntimagmas(2), M -> SquaresIndex(M ));| + [ 2, 2 ] + !gapprompt@gap>| !gapinput@List(AllSmallAntimagmas(3), M -> SquaresIndex(M ));| + [ 2, 2, 2, 2, 2, 2, 2, 2, 3, 3 ] +\end{Verbatim} + + + } + + + +\subsection{\textcolor{Chapter }{IdSmallAntimagma (for IsMagma)}} +\logpage{[ 1, 2, 6 ]}\nobreak +\hyperdef{L}{X783C01BD7B931A12}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{IdSmallAntimagma({\mdseries\slshape M})\index{IdSmallAntimagma@\texttt{IdSmallAntimagma}!for IsMagma} +\label{IdSmallAntimagma:for IsMagma} +}\hfill{\scriptsize (attribute)}}\\ + + + identifies class of antiassociative magma \mbox{\texttt{\mdseries\slshape M}}. + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] + !gapprompt@gap>| !gapinput@IsAntiassociative(OneSmallGroup(16));| + false + !gapprompt@gap>| !gapinput@IsAntiassociative(OneSmallAntimagma(2));| + true + !gapprompt@gap>| !gapinput@IsAntiassociative(OneSmallAntimagma(3));| + true +\end{Verbatim} + + + } + + + +\subsection{\textcolor{Chapter }{LeftOrder (for IsExtLElement)}} +\logpage{[ 1, 2, 7 ]}\nobreak +\hyperdef{L}{X78BF96667D805695}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{LeftOrder({\mdseries\slshape [m]})\index{LeftOrder@\texttt{LeftOrder}!for IsExtLElement} +\label{LeftOrder:for IsExtLElement} +}\hfill{\scriptsize (attribute)}}\\ + + + returns a left order of element \mbox{\texttt{\mdseries\slshape m}}. } + + + +\subsection{\textcolor{Chapter }{RightOrder (for IsExtRElement)}} +\logpage{[ 1, 2, 8 ]}\nobreak +\hyperdef{L}{X850894387AD0E717}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{RightOrder({\mdseries\slshape [m]})\index{RightOrder@\texttt{RightOrder}!for IsExtRElement} +\label{RightOrder:for IsExtRElement} +}\hfill{\scriptsize (attribute)}}\\ + + + returns a right order of element \mbox{\texttt{\mdseries\slshape m}}. } + + + +\subsection{\textcolor{Chapter }{LeftOrdersOfElements (for IsMagma)}} +\logpage{[ 1, 2, 9 ]}\nobreak +\hyperdef{L}{X7CDCE61679BFD1F7}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{LeftOrdersOfElements({\mdseries\slshape [m]})\index{LeftOrdersOfElements@\texttt{LeftOrdersOfElements}!for IsMagma} +\label{LeftOrdersOfElements:for IsMagma} +}\hfill{\scriptsize (attribute)}}\\ + + + returns a left order of element \mbox{\texttt{\mdseries\slshape m}}. } + + + +\subsection{\textcolor{Chapter }{RightOrdersOfElements (for IsMagma)}} +\logpage{[ 1, 2, 10 ]}\nobreak +\hyperdef{L}{X84D8A5D88790F870}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{RightOrdersOfElements({\mdseries\slshape [m]})\index{RightOrdersOfElements@\texttt{RightOrdersOfElements}!for IsMagma} +\label{RightOrdersOfElements:for IsMagma} +}\hfill{\scriptsize (attribute)}}\\ + + + returns a left order of element \mbox{\texttt{\mdseries\slshape m}}. } + + } + + +\section{\textcolor{Chapter }{smallantimagmas automatic generated documentation of global functions}}\label{Chapter_smallantimagmas_automatic_generated_documentation_Section_smallantimagmas_automatic_generated_documentation_of_global_functions} +\logpage{[ 1, 3, 0 ]} +\hyperdef{L}{X7A4C95527CCD8524}{} +{ + + +\subsection{\textcolor{Chapter }{AllSubmagmas}} +\logpage{[ 1, 3, 1 ]}\nobreak +\hyperdef{L}{X8011AFA47C662D53}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{AllSubmagmas({\mdseries\slshape M})\index{AllSubmagmas@\texttt{AllSubmagmas}} +\label{AllSubmagmas} +}\hfill{\scriptsize (function)}}\\ + + + builds a collection of non\texttt{\symbol{45}}isomorphic submagmas of \mbox{\texttt{\mdseries\slshape M}}. + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] + !gapprompt@gap>| !gapinput@AllSmallAntimagmas(2);| + [ , ] + !gapprompt@gap>| !gapinput@List(AllSmallAntimagmas(2), M -> AllSubmagmas(M));| + [ [ ], [ ] ] +\end{Verbatim} + + + } + + + +\subsection{\textcolor{Chapter }{MagmaIsomorphismInvariantsMatch}} +\logpage{[ 1, 3, 2 ]}\nobreak +\hyperdef{L}{X7BA7BE44861A8C51}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{MagmaIsomorphismInvariantsMatch({\mdseries\slshape M})\index{MagmaIsomorphismInvariantsMatch@\texttt{MagmaIsomorphismInvariantsMatch}} +\label{MagmaIsomorphismInvariantsMatch} +}\hfill{\scriptsize (function)}}\\ + + + computes isomorphism invariants of \mbox{\texttt{\mdseries\slshape M}}. } + + + +\subsection{\textcolor{Chapter }{IsMagmaIsomorphic}} +\logpage{[ 1, 3, 3 ]}\nobreak +\hyperdef{L}{X7F7EAF23807EE984}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{IsMagmaIsomorphic({\mdseries\slshape M, N})\index{IsMagmaIsomorphic@\texttt{IsMagmaIsomorphic}} +\label{IsMagmaIsomorphic} +}\hfill{\scriptsize (function)}}\\ + + + identifies whether magmas \mbox{\texttt{\mdseries\slshape M}}, \mbox{\texttt{\mdseries\slshape N}} are isomorphic. + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] + !gapprompt@gap>| !gapinput@M := SmallAntimagma(2, 1);| + + !gapprompt@gap>| !gapinput@N := SmallAntimagma(2, 2);| + + !gapprompt@gap>| !gapinput@T := MagmaByMultiplicationTable([ [2, 1], [2, 1] ]);| + + !gapprompt@gap>| !gapinput@IsMagmaIsomorphic(M, M);| + true + !gapprompt@gap>| !gapinput@IsMagmaIsomorphic(M, T);| + true + !gapprompt@gap>| !gapinput@IsMagmaIsomorphic(M, N);| + false +\end{Verbatim} + + + } + + + +\subsection{\textcolor{Chapter }{IsMagmaAntiisomorphic}} +\logpage{[ 1, 3, 4 ]}\nobreak +\hyperdef{L}{X807BD59180325341}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{IsMagmaAntiisomorphic({\mdseries\slshape [M, N]})\index{IsMagmaAntiisomorphic@\texttt{IsMagmaAntiisomorphic}} +\label{IsMagmaAntiisomorphic} +}\hfill{\scriptsize (function)}}\\ + + + identifies whether magmas \mbox{\texttt{\mdseries\slshape M}}, \mbox{\texttt{\mdseries\slshape N}} are antiisomorphic. + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] + !gapprompt@gap>| !gapinput@N := SmallAntimagma(2, 1);| + + !gapprompt@gap>| !gapinput@M := SmallAntimagma(2, 1);| + + !gapprompt@gap>| !gapinput@N := SmallAntimagma(2, 2);| + + !gapprompt@gap>| !gapinput@IsMagmaAntiisomorphic(M, M);| + false + !gapprompt@gap>| !gapinput@IsMagmaAntiisomorphic(M, N);| + true + !gapprompt@gap>| !gapinput@IsMagmaAntiisomorphic(M, TransposedMagma(M));| + true +\end{Verbatim} + + + } + + + +\subsection{\textcolor{Chapter }{TransposedMagma}} +\logpage{[ 1, 3, 5 ]}\nobreak +\hyperdef{L}{X79BF9EB48562EF6C}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{TransposedMagma({\mdseries\slshape [M]})\index{TransposedMagma@\texttt{TransposedMagma}} +\label{TransposedMagma} +}\hfill{\scriptsize (function)}}\\ + + + generates transposed magma \mbox{\texttt{\mdseries\slshape M}}. + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] + !gapprompt@gap>| !gapinput@M := SmallAntimagma(2, 1);| + + !gapprompt@gap>| !gapinput@IsMagmaAntiisomorphic(M, TransposedMagma(M));| + true + !gapprompt@gap>| !gapinput@IsMagmaIsomorphic(M, TransposedMagma(TransposedMagma(M)));| + true + !gapprompt@gap>| !gapinput@M := SmallAntimagma(2, 1);| + + !gapprompt@gap>| !gapinput@Display(MultiplicationTable(M));| + [ [ 2, 1 ], + [ 2, 1 ] ] + !gapprompt@gap>| !gapinput@Display(MultiplicationTable(TransposedMagma(M)));| + [ [ 2, 2 ], + [ 1, 1 ] ] +\end{Verbatim} + + + } + + + +\subsection{\textcolor{Chapter }{LeftPower}} +\logpage{[ 1, 3, 6 ]}\nobreak +\hyperdef{L}{X7FD21A58851687DF}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{LeftPower({\mdseries\slshape [m, k]})\index{LeftPower@\texttt{LeftPower}} +\label{LeftPower} +}\hfill{\scriptsize (function)}}\\ + + + returns a left $k$\texttt{\symbol{45}}power of element \mbox{\texttt{\mdseries\slshape m}}. } + + + +\subsection{\textcolor{Chapter }{RightPower}} +\logpage{[ 1, 3, 7 ]}\nobreak +\hyperdef{L}{X788005DE7947D914}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{RightPower({\mdseries\slshape [m, k]})\index{RightPower@\texttt{RightPower}} +\label{RightPower} +}\hfill{\scriptsize (function)}}\\ + + + returns a right $k$\texttt{\symbol{45}}power of element \mbox{\texttt{\mdseries\slshape m}}. } + + + +\subsection{\textcolor{Chapter }{AllSmallAntimagmas}} +\logpage{[ 1, 3, 8 ]}\nobreak +\hyperdef{L}{X7DDB92C284197B0B}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{AllSmallAntimagmas({\mdseries\slshape n})\index{AllSmallAntimagmas@\texttt{AllSmallAntimagmas}} +\label{AllSmallAntimagmas} +}\hfill{\scriptsize (function)}}\\ + + + returns all antiassociative magmas of specified size \mbox{\texttt{\mdseries\slshape n}} (a number) + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] + !gapprompt@gap>| !gapinput@AllSmallAntimagmas(2);| + [ , ] + !gapprompt@gap>| !gapinput@AllSmallAntimagmas(3);| + [ + , , , + , , , + , , + , + ] +\end{Verbatim} + + + } + + + +\subsection{\textcolor{Chapter }{NrSmallAntimagmas}} +\logpage{[ 1, 3, 9 ]}\nobreak +\hyperdef{L}{X7E5054007A985873}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{NrSmallAntimagmas({\mdseries\slshape n})\index{NrSmallAntimagmas@\texttt{NrSmallAntimagmas}} +\label{NrSmallAntimagmas} +}\hfill{\scriptsize (function)}}\\ + + + counts number of antiassociative magmas of specified size \mbox{\texttt{\mdseries\slshape n}} (a number). + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] + !gapprompt@gap>| !gapinput@NrSmallAntimagmas(2);| + 2 + !gapprompt@gap>| !gapinput@NrSmallAntimagmas(3);| + 10 + !gapprompt@gap>| !gapinput@NrSmallAntimagmas(4);| + 17780 +\end{Verbatim} + + + } + + + +\subsection{\textcolor{Chapter }{SmallAntimagma}} +\logpage{[ 1, 3, 10 ]}\nobreak +\hyperdef{L}{X7903CEEA79DEBA73}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{SmallAntimagma({\mdseries\slshape n, i})\index{SmallAntimagma@\texttt{SmallAntimagma}} +\label{SmallAntimagma} +}\hfill{\scriptsize (function)}}\\ + + + returns antiassociative magma of id \mbox{\texttt{\mdseries\slshape [n, i]}}. + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] + !gapprompt@gap>| !gapinput@SmallAntimagma(2, 1);| + + !gapprompt@gap>| !gapinput@SmallAntimagma(4, 5);| + +\end{Verbatim} + + + } + + + +\subsection{\textcolor{Chapter }{OneSmallAntimagma}} +\logpage{[ 1, 3, 11 ]}\nobreak +\hyperdef{L}{X804A623879A9AC7F}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{OneSmallAntimagma({\mdseries\slshape n})\index{OneSmallAntimagma@\texttt{OneSmallAntimagma}} +\label{OneSmallAntimagma} +}\hfill{\scriptsize (function)}}\\ + + + returns a random antiassociative magma of size \mbox{\texttt{\mdseries\slshape n}}. + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] + !gapprompt@gap>| !gapinput@OneSmallAntimagma(2);| + + + !gapprompt@gap>| !gapinput@OneSmallAntimagma(3);| + +\end{Verbatim} + + + } + + + +\subsection{\textcolor{Chapter }{ReallyAllSmallAntimagmas}} +\logpage{[ 1, 3, 12 ]}\nobreak +\hyperdef{L}{X7D0A720279246D45}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{ReallyAllSmallAntimagmas({\mdseries\slshape n})\index{ReallyAllSmallAntimagmas@\texttt{ReallyAllSmallAntimagmas}} +\label{ReallyAllSmallAntimagmas} +}\hfill{\scriptsize (function)}}\\ + + + returns really\texttt{\symbol{45}}all antiassociative magmas, isomorphic, of +specified size \mbox{\texttt{\mdseries\slshape n}} (a number) + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] + !gapprompt@gap>| !gapinput@ReallyAllSmallAntimagmas(2);| + [ , ] +\end{Verbatim} + + + } + + + +\subsection{\textcolor{Chapter }{ReallyNrSmallAntimagmas}} +\logpage{[ 1, 3, 13 ]}\nobreak +\hyperdef{L}{X796637787C216BA1}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{ReallyNrSmallAntimagmas({\mdseries\slshape n})\index{ReallyNrSmallAntimagmas@\texttt{ReallyNrSmallAntimagmas}} +\label{ReallyNrSmallAntimagmas} +}\hfill{\scriptsize (function)}}\\ + + + counts number of antiassociative magmas of specified size \mbox{\texttt{\mdseries\slshape n}} (a number) + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] + !gapprompt@gap>| !gapinput@ReallyNrSmallAntimagmas(3);| + 52 +\end{Verbatim} + + + } + + + +\subsection{\textcolor{Chapter }{AntimagmaGeneratorPossibleDiagonals}} +\logpage{[ 1, 3, 14 ]}\nobreak +\hyperdef{L}{X83FADDD185B26133}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{AntimagmaGeneratorPossibleDiagonals({\mdseries\slshape n})\index{AntimagmaGeneratorPossibleDiagonals@\texttt{AntimagmaGeneratorPossibleDiagonals}} +\label{AntimagmaGeneratorPossibleDiagonals} +}\hfill{\scriptsize (function)}}\\ + + + returns all possible diagonals of multiplication table for \mbox{\texttt{\mdseries\slshape [n]}}\texttt{\symbol{45}}antimagma. + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] + !gapprompt@gap>| !gapinput@AntimagmaGeneratorPossibleDiagonals(2);| + [ [ 2, 1 ] ] + !gapprompt@gap>| !gapinput@AntimagmaGeneratorPossibleDiagonals(3);| + [ + [ 2, 1, 1 ], [ 2, 1, 2 ], [ 2, 3, 1 ], [ 2, 3, 2 ], + [ 3, 1, 1 ], [ 3, 1, 2 ], [ 3, 3, 1 ], [ 3, 3, 2 ] + ] +\end{Verbatim} + + + } + + + +\subsection{\textcolor{Chapter }{AntimagmaGeneratorFilterNonIsomorphicMagmas}} +\logpage{[ 1, 3, 15 ]}\nobreak +\hyperdef{L}{X8493D36B80E32C64}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{AntimagmaGeneratorFilterNonIsomorphicMagmas({\mdseries\slshape Ms})\index{AntimagmaGeneratorFilterNonIsomorphicMagmas@\texttt{Antimagma}\-\texttt{Generator}\-\texttt{Filter}\-\texttt{Non}\-\texttt{Isomorphic}\-\texttt{Magmas}} +\label{AntimagmaGeneratorFilterNonIsomorphicMagmas} +}\hfill{\scriptsize (function)}}\\ + + + filters non\texttt{\symbol{45}}isomorphic magmas \mbox{\texttt{\mdseries\slshape m}}. } + + } + + +\section{\textcolor{Chapter }{smallantimagmas automatic generated documentation of methods}}\label{Chapter_smallantimagmas_automatic_generated_documentation_Section_smallantimagmas_automatic_generated_documentation_of_methods} +\logpage{[ 1, 4, 0 ]} +\hyperdef{L}{X8553DA53796C81EA}{} +{ + + +\subsection{\textcolor{Chapter }{MagmaIsomorphism (for IsMagma, IsMagma)}} +\logpage{[ 1, 4, 1 ]}\nobreak +\hyperdef{L}{X87F3EA827FF3D302}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{MagmaIsomorphism({\mdseries\slshape M, N})\index{MagmaIsomorphism@\texttt{MagmaIsomorphism}!for IsMagma, IsMagma} +\label{MagmaIsomorphism:for IsMagma, IsMagma} +}\hfill{\scriptsize (operation)}}\\ + + + computes an isomoprhism between magmas \mbox{\texttt{\mdseries\slshape M}}, \mbox{\texttt{\mdseries\slshape N}}. + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] + !gapprompt@gap>| !gapinput@M := SmallAntimagma(2, 1);| + + !gapprompt@gap>| !gapinput@N := MagmaByMultiplicationTable([ [2, 1], [2, 1] ]);| + + !gapprompt@gap>| !gapinput@MagmaIsomorphism(M, N);| + Domain([ m1, m2 ]) > +\end{Verbatim} + + + } + + + +\subsection{\textcolor{Chapter }{MagmaAntiisomorphism (for IsMagma, IsMagma)}} +\logpage{[ 1, 4, 2 ]}\nobreak +\hyperdef{L}{X7AB3F3E37D8A5687}{} +{\noindent\textcolor{FuncColor}{$\triangleright$\enspace\texttt{MagmaAntiisomorphism({\mdseries\slshape M, N})\index{MagmaAntiisomorphism@\texttt{MagmaAntiisomorphism}!for IsMagma, IsMagma} +\label{MagmaAntiisomorphism:for IsMagma, IsMagma} +}\hfill{\scriptsize (operation)}}\\ + + + creates an antiisomoprhism between magmas \mbox{\texttt{\mdseries\slshape M}}, \mbox{\texttt{\mdseries\slshape N}}. + + +\begin{Verbatim}[commandchars=!@|,fontsize=\small,frame=single,label=Example] + !gapprompt@gap>| !gapinput@M := SmallAntimagma(2, 1);| + + !gapprompt@gap>| !gapinput@N := SmallAntimagma(2, 2);| + + !gapprompt@gap>| !gapinput@MagmaAntiisomorphism(M, N);| + Domain([ m1, m2 ]) > +\end{Verbatim} + + + } + + } + + } + + \def\indexname{Index\logpage{[ "Ind", 0, 0 ]} +\hyperdef{L}{X83A0356F839C696F}{} +} + +\cleardoublepage +\phantomsection +\addcontentsline{toc}{chapter}{Index} + + +\printindex + +\immediate\write\pagenrlog{["Ind", 0, 0], \arabic{page},} +\newpage +\immediate\write\pagenrlog{["End"], \arabic{page}];} +\immediate\closeout\pagenrlog +\end{document} diff --git a/doc/smallantimagmas.toc b/doc/smallantimagmas.toc new file mode 100644 index 0000000..031cf8c --- /dev/null +++ b/doc/smallantimagmas.toc @@ -0,0 +1,39 @@ +\contentsline {chapter}{\numberline {1}\textcolor {Chapter }{smallantimagmas automatic generated documentation}}{4}{chapter.1}% +\contentsline {section}{\numberline {1.1}\textcolor {Chapter }{smallantimagmas automatic generated documentation of properties}}{4}{section.1.1}% +\contentsline {subsection}{\numberline {1.1.1}\textcolor {Chapter }{IsAntiassociative (for IsMagma)}}{4}{subsection.1.1.1}% +\contentsline {subsection}{\numberline {1.1.2}\textcolor {Chapter }{IsLeftCyclic (for IsMagma)}}{4}{subsection.1.1.2}% +\contentsline {subsection}{\numberline {1.1.3}\textcolor {Chapter }{IsRightCyclic (for IsMagma)}}{4}{subsection.1.1.3}% +\contentsline {subsection}{\numberline {1.1.4}\textcolor {Chapter }{IsLeftCancellative (for IsMagma)}}{4}{subsection.1.1.4}% +\contentsline {subsection}{\numberline {1.1.5}\textcolor {Chapter }{IsRightCancellative (for IsMagma)}}{5}{subsection.1.1.5}% +\contentsline {subsection}{\numberline {1.1.6}\textcolor {Chapter }{IsCancellative (for IsMagma)}}{5}{subsection.1.1.6}% +\contentsline {section}{\numberline {1.2}\textcolor {Chapter }{smallantimagmas automatic generated documentation of attributes}}{5}{section.1.2}% +\contentsline {subsection}{\numberline {1.2.1}\textcolor {Chapter }{AssociativityIndex (for IsMagma)}}{5}{subsection.1.2.1}% +\contentsline {subsection}{\numberline {1.2.2}\textcolor {Chapter }{DiagonalOfMultiplicationTable (for IsMagma)}}{6}{subsection.1.2.2}% +\contentsline {subsection}{\numberline {1.2.3}\textcolor {Chapter }{CommutativityIndex (for IsMagma)}}{6}{subsection.1.2.3}% +\contentsline {subsection}{\numberline {1.2.4}\textcolor {Chapter }{AnticommutativityIndex (for IsMagma)}}{6}{subsection.1.2.4}% +\contentsline {subsection}{\numberline {1.2.5}\textcolor {Chapter }{SquaresIndex (for IsMagma)}}{6}{subsection.1.2.5}% +\contentsline {subsection}{\numberline {1.2.6}\textcolor {Chapter }{IdSmallAntimagma (for IsMagma)}}{6}{subsection.1.2.6}% +\contentsline {subsection}{\numberline {1.2.7}\textcolor {Chapter }{LeftOrder (for IsExtLElement)}}{7}{subsection.1.2.7}% +\contentsline {subsection}{\numberline {1.2.8}\textcolor {Chapter }{RightOrder (for IsExtRElement)}}{7}{subsection.1.2.8}% +\contentsline {subsection}{\numberline {1.2.9}\textcolor {Chapter }{LeftOrdersOfElements (for IsMagma)}}{7}{subsection.1.2.9}% +\contentsline {subsection}{\numberline {1.2.10}\textcolor {Chapter }{RightOrdersOfElements (for IsMagma)}}{7}{subsection.1.2.10}% +\contentsline {section}{\numberline {1.3}\textcolor {Chapter }{smallantimagmas automatic generated documentation of global functions}}{7}{section.1.3}% +\contentsline {subsection}{\numberline {1.3.1}\textcolor {Chapter }{AllSubmagmas}}{7}{subsection.1.3.1}% +\contentsline {subsection}{\numberline {1.3.2}\textcolor {Chapter }{MagmaIsomorphismInvariantsMatch}}{8}{subsection.1.3.2}% +\contentsline {subsection}{\numberline {1.3.3}\textcolor {Chapter }{IsMagmaIsomorphic}}{8}{subsection.1.3.3}% +\contentsline {subsection}{\numberline {1.3.4}\textcolor {Chapter }{IsMagmaAntiisomorphic}}{8}{subsection.1.3.4}% +\contentsline {subsection}{\numberline {1.3.5}\textcolor {Chapter }{TransposedMagma}}{8}{subsection.1.3.5}% +\contentsline {subsection}{\numberline {1.3.6}\textcolor {Chapter }{LeftPower}}{9}{subsection.1.3.6}% +\contentsline {subsection}{\numberline {1.3.7}\textcolor {Chapter }{RightPower}}{9}{subsection.1.3.7}% +\contentsline {subsection}{\numberline {1.3.8}\textcolor {Chapter }{AllSmallAntimagmas}}{9}{subsection.1.3.8}% +\contentsline {subsection}{\numberline {1.3.9}\textcolor {Chapter }{NrSmallAntimagmas}}{9}{subsection.1.3.9}% +\contentsline {subsection}{\numberline {1.3.10}\textcolor {Chapter }{SmallAntimagma}}{10}{subsection.1.3.10}% +\contentsline {subsection}{\numberline {1.3.11}\textcolor {Chapter }{OneSmallAntimagma}}{10}{subsection.1.3.11}% +\contentsline {subsection}{\numberline {1.3.12}\textcolor {Chapter }{ReallyAllSmallAntimagmas}}{10}{subsection.1.3.12}% +\contentsline {subsection}{\numberline {1.3.13}\textcolor {Chapter }{ReallyNrSmallAntimagmas}}{10}{subsection.1.3.13}% +\contentsline {subsection}{\numberline {1.3.14}\textcolor {Chapter }{AntimagmaGeneratorPossibleDiagonals}}{11}{subsection.1.3.14}% +\contentsline {subsection}{\numberline {1.3.15}\textcolor {Chapter }{AntimagmaGeneratorFilterNonIsomorphicMagmas}}{11}{subsection.1.3.15}% +\contentsline {section}{\numberline {1.4}\textcolor {Chapter }{smallantimagmas automatic generated documentation of methods}}{11}{section.1.4}% +\contentsline {subsection}{\numberline {1.4.1}\textcolor {Chapter }{MagmaIsomorphism (for IsMagma, IsMagma)}}{11}{subsection.1.4.1}% +\contentsline {subsection}{\numberline {1.4.2}\textcolor {Chapter }{MagmaAntiisomorphism (for IsMagma, IsMagma)}}{11}{subsection.1.4.2}% +\contentsline {chapter}{Index}{12}{section*.4}% diff --git a/doc/smallantimagmas.xml b/doc/smallantimagmas.xml new file mode 100644 index 0000000..614a9dc --- /dev/null +++ b/doc/smallantimagmas.xml @@ -0,0 +1,16 @@ + + + + +] +> + +<#Include SYSTEM "title.xml"> + + +<#Include SYSTEM "_AutoDocMainFile.xml"> + + + diff --git a/doc/times.css b/doc/times.css new file mode 100644 index 0000000..4262272 --- /dev/null +++ b/doc/times.css @@ -0,0 +1,6 @@ +/* times.css Frank Lübeck */ +/* Change default CSS to use Times font. */ + +body { + font-family: Times,Times New Roman,serif; +} diff --git a/doc/title.xml b/doc/title.xml new file mode 100644 index 0000000..cc3d22b --- /dev/null +++ b/doc/title.xml @@ -0,0 +1,44 @@ + + + + + + smallantimagmas + + + A fork of smallgrp package for small antiassociative magmas + + + 0.2.0 + + + Kamil Zabielski
+
+Department of Theoretical Computer Science
+Białystok University of Technology
+Wiejska 45A
+15-325 Białystok
+Poland
+
+ +
+ + 28 August 2024 + + + License + ©right; 2024 by Kamil Zabielski

+ &smallantimagmas; package is free software; + you can redistribute it and/or modify it under the terms of the + http://www.fsf.org/licenses/gpl.html + as published by the Free Software Foundation; either version 2 of the License, + or (at your option) any later version. + + + + We appreciate very much all past and future comments, suggestions and + contributions to this package and its documentation provided by &GAP; + users and developers. + + + \ No newline at end of file diff --git a/doc/toggless.css b/doc/toggless.css new file mode 100644 index 0000000..88650cb --- /dev/null +++ b/doc/toggless.css @@ -0,0 +1,42 @@ +/* toggless.css Frank Lübeck */ + +/* Using javascript we change all div.ContSect to div.ContSectOpen or + div.ContSectClosed. This way the config for div.ContSect in manual.css + is no longer relevant. Here we add the CSS for the new elements. */ +/* This layout is based on an idea by Burkhard Höfling. */ + +div.ContSectClosed { + text-align: left; + margin-left: 1em; +} +div.ContSectOpen { + text-align: left; + margin-left: 1em; +} +div.ContSectOpen div.ContSSBlock { + display: block; + text-align: left; + margin-left: 1em; +} +div.ContSectOpen div.ContSSBlock a { + display: block; + width: 100%; + margin-left: 1em; +} +span.tocline a:hover { + display: inline; + background: #eeeeee; +} +span.ContSS a:hover { + display: inline; + background: #eeeeee; +} +span.toctoggle { + font-size: 80%; + display: inline-block; + width: 1.2em; +} +span.toctoggle:hover { + background-color: #aaaaaa; +} + diff --git a/doc/toggless.js b/doc/toggless.js new file mode 100644 index 0000000..b932d83 --- /dev/null +++ b/doc/toggless.js @@ -0,0 +1,65 @@ +/* toggless.js Frank Lübeck */ + +/* this file contains two functions: + mergeSideTOCHooks: this changes div.ContSect elements to the class + ContSectClosed and includes a hook to toggle between + ContSectClosed and ContSectOpen. + openclosetoc: this function does the toggling, the rest is done by + CSS +*/ + + + +closedTOCMarker = "▶ "; +openTOCMarker = "▼ "; +noTOCMarker = " "; +/* merge hooks into side toc for opening/closing subsections + with openclosetoc */ +function mergeSideTOCHooks() { + var hlist = document.getElementsByTagName("div"); + for (var i = 0; i < hlist.length; i++) { + if (hlist[i].className == "ContSect") { + var chlds = hlist[i].childNodes; + var el = document.createElement("span"); + var oncl = document.createAttribute("class"); + oncl.nodeValue = "toctoggle"; + el.setAttributeNode(oncl); + var cont; + if (chlds.length > 2) { + var oncl = document.createAttribute("onclick"); + oncl.nodeValue = "openclosetoc(event)"; + el.setAttributeNode(oncl); + cont = document.createTextNode(closedTOCMarker); + } else { + cont = document.createTextNode(noTOCMarker); + } + el.appendChild(cont); + hlist[i].firstChild.insertBefore(el, hlist[i].firstChild.firstChild); + hlist[i].className = "ContSectClosed"; + } + } +} + +function openclosetoc (event) { + /* first two steps to make it work in most browsers */ + var evt=window.event || event; + if (!evt.target) + evt.target=evt.srcElement; + + var markClosed = document.createTextNode(closedTOCMarker); + var markOpen = document.createTextNode(openTOCMarker); + + var par = evt.target.parentNode.parentNode; + if (par.className == "ContSectOpen") { + par.className = "ContSectClosed"; + evt.target.replaceChild(markClosed, evt.target.firstChild); + } + else if (par.className == "ContSectClosed") { + par.className = "ContSectOpen"; + evt.target.replaceChild(markOpen, evt.target.firstChild); + } +} + +/* adjust jscontent which is called onload */ +jscontentfuncs.push(mergeSideTOCHooks); +