update to LOOPS 3.4.0
These are simply the changes as distributed.
This commit is contained in:
parent
7e8b3b5562
commit
f64208f12f
58 changed files with 17724 additions and 29097 deletions
|
@ -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></span> <span class="GAPinput">L;
</span>
|
||||
<loop of order 2>
|
||||
<span class="GAPprompt">gap></span> <span class="GAPinput">Print( L );
</span>
|
||||
<loop with multiplication table [ [ 1, 2 ], [ 2, 1 ] ]>
|
||||
<span class="GAPprompt">gap></span> <span class="GAPinput">Elements( L );
</span>
|
||||
[ l1, l2 ]
|
||||
<span class="GAPprompt">gap></span> <span class="GAPinput">SetLoopElmName( L, "loop_element" );; Elements( L );
</span>
|
||||
[ loop_element1, loop_element2 ]
|
||||
<div class="example"><pre>
|
||||
<span class="GAPprompt">gap></span> <span class="GAPinput">L;</span>
|
||||
<loop of order 2>
|
||||
<span class="GAPprompt">gap></span> <span class="GAPinput">Print( L );</span>
|
||||
<loop with multiplication table [ [ 1, 2 ], [ 2, 1 ] ]>
|
||||
<span class="GAPprompt">gap></span> <span class="GAPinput">Elements( L );</span>
|
||||
[ l1, l2 ]
|
||||
<span class="GAPprompt">gap></span> <span class="GAPinput">SetLoopElmName( L, "loop_element" );; Elements( L );</span>
|
||||
[ loop_element1, loop_element2 ]
|
||||
</pre></div>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue