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

Quelle  oprt.tst   Sprache: unbekannt

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

#@local G,c5,d,eo,es,ess,gens,res
gap> START_TEST("oprt.tst");
gap> c5:=CyclicGroup(IsPermGroup,5);;
gap> d:=Combinations([1..5],2);;
gap> eo:=ExternalOrbit(c5,d,[1,2],OnSets);
12 ]^G
gap> IsTransitive(eo);
true
gap> Transitivity(eo);
1
gap> IsPrimitive(eo);
true
gap> Blocks(eo);
[ [ [ 12 ], [ 15 ], [ 23 ], [ 34 ], [ 45 ] ] ]
gap> es:=ExternalSet(c5,d,OnSets);;
gap> ess:=ExternalSubset(c5,es,[[1,2]],OnSets);;
gap> IsTransitive(es);
false
gap> IsTransitive(ess);
true
gap> IsPrimitive(ess);
true
gap> Blocks(ess);
[ [ [ 12 ], [ 15 ], [ 23 ], [ 34 ], [ 45 ] ] ]
gap> G:=AbelianGroup(IsPermGroup,[12,12]);;
gap> eo:=ExternalOrbit(G,[1..24],1,OnPoints);;
gap> IsTransitive(eo);
true
gap> Blocks(eo);
[ [ 159 ], [ 2610 ], [ 3711 ], [ 4812 ] ]
gap> RepresentativesMinimalBlocks(eo);
[ [ 159 ], [ 17 ] ]
gap> MaximalBlocks(eo);
[ [ 13 .. 11 ], [ 24 .. 12 ] ]
gap> eo:=ExternalOrbit(G,[1..12],1,OnPoints);
1^G
gap> IsTransitive(eo); 
true
gap> Blocks(eo);
[ [ 159 ], [ 2610 ], [ 3711 ], [ 4812 ] ]
gap> G:= Group( (2,3,4), (2,3) );;
gap> IsTransitive( G, [ 23 ] );
false
gap> Transitivity( G, [ 23 ] );
0

##  variants of Orbit( G[, Omega], pnt[, gens, acts][, act] )
gap> G:= SymmetricGroup( 5 );;
gap> gens:= GeneratorsOfGroup( G );;
gap> res:= [ 1 .. 5 ];;
gap> SortedList( Orbit( G, 1 ) ) = res;
true
gap> SortedList( Orbit( G, [ 1 .. 5 ], 1 ) ) = res;
true
gap> SortedList( Orbit( G, 1, gens, gens ) ) = res;
true
gap> SortedList( Orbit( G, [ 1 .. 5 ], 1, gens, gens ) ) = res;
true
gap> SortedList( Orbit( G, 1, OnPoints ) ) = res;
true
gap> SortedList( Orbit( G, [ 1 .. 5 ], 1, OnPoints ) ) = res;
true
gap> SortedList( Orbit( G, 1, gens, gens, OnPoints ) ) = res;
true
gap> SortedList( Orbit( G, [ 1 .. 5 ], 1, gens, gens, OnPoints ) ) = res;
true
gap> Orbit( G, GF(7), 1 );
Error, wrong relation between <D> and <pnt>
gap> Orbit( G, GF(7), 1, OnPoints );
Error, wrong relation between <D> and <pnt>

##
gap> STOP_TEST( "oprt.tst" );

[Dauer der Verarbeitung: 0.3 Sekunden, vorverarbeitet 2026-06-10]