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

Quelle  example_1.2.26.tst   Sprache: unbekannt

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

#@local G, orb, a, x, y, i, j, k
######################################################################
gap> START_TEST( "example_1.2.26.tst" );

######################################################################
gap> G := PrimitiveGroup( 1003 );;
gap> orb := Orbits( G , Tuples([1..100],2) , OnPairs);;
gap> List( orb , Length );
10077002200 ]

######################################################################
gap> List([1,2,3], i -> Length( Filtered( orb[i], p -> p[1] = 1) ) );
17722 ]

######################################################################
gap> a := [];; x := 1;;  y := 1;;
gap> for i in [1..Length(orb)] do
>     a[i] := [];      # a[i] will be the i-th intersection matrix
>     for j in [1..Length(orb)] do
>       a[i][j]:= [];      #  a[i][j] will be the j-th row of a[i]
>       for k in [1..Length(orb)] do
>         x:=orb[k][1][1];  y:=orb[k][1][2];    # [x,y] in orb[k]
>         a[i][j][k] :=  Size( Intersection (
>             Filtered([1..100] , z -> [x,z] in orb[i]),
>             Filtered([1..100] , z -> [y,z] in orb[j]) ) );
>       od;
>     od;
>    od;

######################################################################
gap> Display( Eigenspaces( Rationals, TransposedMat(a[2]) ));;
[ VectorSpace( Rationals, [ [ 17722 ] ] ), 
  VectorSpace( Rationals, [ [ 17, -8 ] ] ), 
  VectorSpace( Rationals, [ [ 1, -32 ] ] ) ]
gap> Display( Eigenspaces( Rationals, TransposedMat(a[3]) ));;
[ VectorSpace( Rationals, [ [ 17722 ] ] ), 
  VectorSpace( Rationals, [ [ 1, -32 ] ] ), 
  VectorSpace( Rationals, [ [ 17, -8 ] ] ) ]

######################################################################
gap> STOP_TEST( "example_1.1.26.tst" );

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