update to LOOPS 3.4.0

These are simply the changes as distributed.
This commit is contained in:
Glen Whitney 2017-10-29 23:54:13 -04:00
parent 7e8b3b5562
commit f64208f12f
58 changed files with 17724 additions and 29097 deletions

View file

@ -72,19 +72,19 @@
<pre class="normal">
DeclareCategory( "IsQuasigroupElement", IsMultiplicativeElement );
DeclareRepresentation( "IsQuasigroupElmRep",
IsPositionalObjectRep and IsMultiplicativeElement, [1] );
DeclareCategory( "IsLoopElement",
IsQuasigroupElement and IsMultiplicativeElementWithInverse );
DeclareRepresentation( "IsLoopElmRep",
IsPositionalObjectRep and IsMultiplicativeElementWithInverse, [1] );
## latin (auxiliary category for GAP to tell apart IsMagma and IsQuasigroup)
DeclareCategory( "IsLatin", IsObject );
DeclareCategory( "IsQuasigroup", IsMagma and IsLatin );
DeclareCategory( "IsLoop", IsQuasigroup and
IsMultiplicativeElementWithInverseCollection);
DeclareCategory( "IsQuasigroupElement", IsMultiplicativeElement );
DeclareRepresentation( "IsQuasigroupElmRep",
IsPositionalObjectRep and IsMultiplicativeElement, [1] );
DeclareCategory( "IsLoopElement",
IsQuasigroupElement and IsMultiplicativeElementWithInverse );
DeclareRepresentation( "IsLoopElmRep",
IsPositionalObjectRep and IsMultiplicativeElementWithInverse, [1] );
## latin (auxiliary category for GAP to tell apart IsMagma and IsQuasigroup)
DeclareCategory( "IsLatinMagma", IsObject );
DeclareCategory( "IsQuasigroup", IsMagma and IsLatinMagma );
DeclareCategory( "IsLoop", IsQuasigroup and
IsMultiplicativeElementWithInverseCollection);
</pre>
@ -162,15 +162,15 @@ DeclareCategory( "IsLoop", IsQuasigroup and
<p>In the following example, <code class="code">L</code> is a loop with two elements.</p>
<div class="example"><pre>
<span class="GAPprompt">gap&gt;</span> <span class="GAPinput">L; </span>
&lt;loop of order 2&gt;
<span class="GAPprompt">gap&gt;</span> <span class="GAPinput">Print( L ); </span>
&lt;loop with multiplication table [ [ 1, 2 ], [ 2, 1 ] ]&gt;
<span class="GAPprompt">gap&gt;</span> <span class="GAPinput">Elements( L ); </span>
[ l1, l2 ]
<span class="GAPprompt">gap&gt;</span> <span class="GAPinput">SetLoopElmName( L, "loop_element" );; Elements( L ); </span>
[ loop_element1, loop_element2 ]
<div class="example"><pre>
<span class="GAPprompt">gap&gt;</span> <span class="GAPinput">L;</span>
&lt;loop of order 2&gt;
<span class="GAPprompt">gap&gt;</span> <span class="GAPinput">Print( L );</span>
&lt;loop with multiplication table [ [ 1, 2 ], [ 2, 1 ] ]&gt;
<span class="GAPprompt">gap&gt;</span> <span class="GAPinput">Elements( L );</span>
[ l1, l2 ]
<span class="GAPprompt">gap&gt;</span> <span class="GAPinput">SetLoopElmName( L, "loop_element" );; Elements( L );</span>
[ loop_element1, loop_element2 ]
</pre></div>