Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/yangbaxter/tst/testinstall/   (GAP Algebra Version 4.15.1©)  Datei vom 14.6.2025 mit Größe 1 kB image not shown  

Quelle  rack.tst   Sprache: unbekannt

 
Spracherkennung für: .tst vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

#############################################################################
##
##  rack.tst              YangBaxter package               Leandro Vendramin
##

gap> START_TEST("rack.tst");

# Test basic stuff
gap> obj := DerivedRack(Skewbrace2YB(SmallSkewbrace(10,4)));
<A rack of size 10>
gap> Matrix(obj);
[ [ 12345678910 ], [ 12345910678 ], 
  [ 12345789106 ], [ 12345106789 ], 
  [ 12345891067 ], [ 15432610987 ], 
  [ 15432876109 ], [ 15432109876 ], 
  [ 15432761098 ], [ 15432987610 ] ]
gap> for x in obj do
> for y in obj do
> for z in obj do
> if x*(y*z) <> (x*y)*(x*z) then
> Print("This is wrong!\n");
> fi;
> od;
> od;
> od;
gap> Rack([[2,1],[1,2]]);
Error, this is not a rack
gap> r := Rack([[1,2],[1,2]]);
<A rack of size 2>
gap> r := Rack([[1,2],[1,2]]);;
gap> Display(r);
Rack( [ [ 12 ], [ 12 ] ] )
gap> Rack2YB(r);
<A set-theoretical solution of size 2>
gap> STOP_TEST( "rack.tst", 1 );

#############################################################################
##
#E


[Dauer der Verarbeitung: 0.17 Sekunden, vorverarbeitet 2026-06-17]