Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/difsets/lib/   (GAP Algebra Version 4.15.1©)  Datei vom 14.8.2019 mit Größe 12 kB image not shown  

Quelle  refine.gd   Sprache: unbekannt

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

#############################################################################
##
#W  refine.gd                DifSets Package                     Dylan Peifer
##
##  Functions find all possible difference set/sum preimages of difference
##  sums.
##

#############################################################################
##
#F  AllRefinedDifferenceSets( <G>, <N>, <difsums> )
##
##  <#GAPDoc Label="AllRefinedDifferenceSets">
##  <ManSection>
##  <Func Name="AllRefinedDifferenceSets" Arg="G, N, difsums"/>
##
##  <Description>
##  Returns a list of all difference sets that are preimages of difference
##  sums contained in the list <A>difsums</A> of difference sums in group
##  <A>G</A> mod its normal subgroup <A>N</A>. Difference sums in
##  <A>difsums</A> are all assumed to be the same size.
##
##  <Example><![CDATA[
##  gap> G := SmallGroup(165);;
##  gap> N := Subgroup(G, [G.2, G.4]);;
##  gap> AllRefinedDifferenceSets(G, N, [[3,1,1,1], [2,2,2,0]]);
##  [ [ 1328415 ], [ 1328911 ], [ 13213411 ], 
##    [ 13213915 ], [ 1368411 ], [ 1368915 ], 
##    [ 13613415 ], [ 13613911 ], [ 1526415 ], 
##    [ 1526911 ], [ 1521349 ], [ 152131115 ], 
##    [ 156849 ], [ 15681115 ], [ 15813415 ], 
##    [ 15813911 ], [ 11026411 ], [ 11026915 ], 
##    [ 1102849 ], [ 110281115 ], [ 11061349 ], 
##    [ 1106131115 ], [ 110813411 ], [ 110813915 ], 
##    [ 3526411 ], [ 3526915 ], [ 352849 ], 
##    [ 35281115 ], [ 3561349 ], [ 356131115 ], 
##    [ 35813411 ], [ 35813915 ], [ 31026415 ], 
##    [ 31026911 ], [ 31021349 ], [ 3102131115 ], 
##    [ 3106849 ], [ 310681115 ], [ 310813415 ], 
##    [ 310813911 ], [ 51028415 ], [ 51028911 ], 
##    [ 510213411 ], [ 510213915 ], [ 51068411 ], 
##    [ 51068915 ], [ 510613415 ], [ 510613911 ] ]
##  ]]></Example>
##  </Description>
##  </ManSection>
##  <#/GAPDoc>
DeclareGlobalFunction( "AllRefinedDifferenceSets" );

#############################################################################
##
#F  NrAllRefinedSets( <G>, <N>, <difsums> )
##
##  <#GAPDoc Label="NrAllRefinedSets">
##  <ManSection>
##  <Func Name="NrAllRefinedSets" Arg="G, N, difsums"/>
##
##  <Description>
##  Returns the number of preimages that will need to be checked during a
##  call to <Ref Func="AllRefinedDifferenceSets"/> with the same arguments.
##  This can give a rough estimate of how long the call will take to
##  complete.
##
##  <Example><![CDATA[
##  gap> G := SmallGroup(165);;
##  gap> N := Subgroup(G, [G.2, G.4]);;
##  gap> NrAllRefinedSets(G, N, [[3,1,1,1], [2,2,2,0]]);
##  472
##  ]]></Example>
##  </Description>
##  </ManSection>
##  <#/GAPDoc>
DeclareGlobalFunction( "NrAllRefinedSets" );

#############################################################################
##
#F  SomeRefinedDifferenceSets( <G>, <N>, <difsums> )
##
##  <#GAPDoc Label="SomeRefinedDifferenceSets">
##  <ManSection>
##  <Func Name="SomeRefinedDifferenceSets" Arg="G, N, difsums"/>
##
##  <Description>
##  Returns a list of some difference sets that are preimages of difference
##  sums contained in the list <A>difsums</A> of difference sums in group
##  <A>G</A> mod its normal subgroup <A>N</A>. At least one member of each
##  equivalence class that would appear in the set of all preimages will be
##  returned, but all preimage difference sets may not appear. Difference
##  sums in <A>difsums</A> are all assumed to be the same size. Current
##  implementation forces the choice of an identity element when possible.
##
##  <Example><![CDATA[
##  gap> G := SmallGroup(165);;
##  gap> N := Subgroup(G, [G.2, G.4]);;
##  gap> SomeRefinedDifferenceSets(G, N, [[3,1,1,1], [2,2,2,0]]);
##  [ [ 1328415 ], [ 1328911 ], [ 13213411 ], 
##    [ 13213915 ], [ 1368411 ], [ 1368915 ], 
##    [ 13613415 ], [ 13613911 ], [ 1526415 ], 
##    [ 1526911 ], [ 1521349 ], [ 152131115 ], 
##    [ 156849 ], [ 15681115 ], [ 15813415 ], 
##    [ 15813911 ], [ 11026411 ], [ 11026915 ], 
##    [ 1102849 ], [ 110281115 ], [ 11061349 ], 
##    [ 1106131115 ], [ 110813411 ], [ 110813915 ] ] 
##  ]]></Example>
##  </Description>
##  </ManSection>
##  <#/GAPDoc>
DeclareGlobalFunction( "SomeRefinedDifferenceSets" );

#############################################################################
##
#F  NrSomeRefinedSets( <G>, <N>, <difsums> )
##
##  <#GAPDoc Label="NrSomeRefinedSets">
##  <ManSection>
##  <Func Name="NrSomeRefinedSets" Arg="G, N, difsums"/>
##
##  <Description>
##  Returns the number of preimages that will need to be checked during a
##  call to <Ref Func="SomeRefinedDifferenceSets"/> with the same arguments.
##  This can give a rough estimate of how long the call will take to
##  complete.
##
##  <Example><![CDATA[
##  gap> G := SmallGroup(165);;
##  gap> N := Subgroup(G, [G.2, G.4]);;
##  gap> NrSomeRefinedSets(G, N, [[3,1,1,1], [2,2,2,0]]);
##  300
##  ]]></Example>
##  </Description>
##  </ManSection>
##  <#/GAPDoc>
DeclareGlobalFunction( "NrSomeRefinedSets" );

#############################################################################
##
#F  IsDifferenceSetByTable( <table>, <D>, <v>, <lambda> )
##
##  <#GAPDoc Label="IsDifferenceSetByTable">
##  <ManSection>
##  <Func Name="IsDifferenceSetByTable" Arg="table, D, v, lambda"/>
##  </ManSection>
##  <#/GAPDoc>
DeclareGlobalFunction( "IsDifferenceSetByTable" );

#############################################################################
##
#F  AllRefinedDifferenceSums( <G>, <N1>, <N2>, <difsums> )
##
##  <#GAPDoc Label="AllRefinedDifferenceSums">
##  <ManSection>
##  <Func Name="AllRefinedDifferenceSums" Arg="G, N1, N2, difsums"/>
##
##  <Description>
##  Returns a list of all difference sums in group <A>G</A> mod its normal
##  subgroup <A>N2</A> that are preimages of difference sums contained in the
##  list <A>difsums</A> of difference sums in group <A>G</A> mod its normal 
##  subgroup <A>N1</A>. The subgroup <A>N2</A> must be contained in <A>N1</A>.
##  Difference sums in <A>difsums</A> are all assumed to be the same size.
##
##  <Example><![CDATA[
##  gap> G := SmallGroup(165);;
##  gap> N1 := Subgroup(G, [G.2, G.4]);;
##  gap> N2 := Subgroup(G, [G.2]);;
##  gap> AllRefinedDifferenceSums(G, N1, N2, [[3,1,1,1], [2,2,2,0]]);
##  [ [ 11010120 ], [ 11210100 ], 
##    [ 10110210 ], [ 12110010 ], 
##    [ 01120110 ], [ 21100110 ] ]
##  ]]></Example>
##  </Description>
##  </ManSection>
##  <#/GAPDoc>
DeclareGlobalFunction( "AllRefinedDifferenceSums" );

#############################################################################
##
#F  NrAllRefinedSums( <G>, <N1>, <N2>, <difsums> )
##
##  <#GAPDoc Label="NrAllRefinedSums">
##  <ManSection>
##  <Func Name="NrAllRefinedSums" Arg="G, N1, N2, difsums"/>
##
##  <Description>
##  Returns the number of preimages that will need to be checked during a
##  call to <Ref Func="AllRefinedDifferenceSums"/> with the same arguments.
##  This can give a rough estimate of how long the call will take to
##  complete.
##
##  <Example><![CDATA[
##  gap> G := SmallGroup(165);;
##  gap> N1 := Subgroup(G, [G.2, G.4]);;
##  gap> N2 := Subgroup(G, [G.2]);;
##  gap> NrAllRefinedSums(G, N1, N2, [[3,1,1,1], [2,2,2,0]]);
##  22
##  ]]></Example>
##  </Description>
##  </ManSection>
##  <#/GAPDoc>
DeclareGlobalFunction( "NrAllRefinedSums" );

#############################################################################
##
#F  SomeRefinedDifferenceSums( <G>, <N1>, <N2>, <difsums> )
##
##  <#GAPDoc Label="SomeRefinedDifferenceSums">
##  <ManSection>
##  <Func Name="SomeRefinedDifferenceSums" Arg="G, N1, N2, difsums"/>
##
##  <Description>
##  Returns a list of some difference sums in group <A>G</A> mod its normal
##  subgroup <A>N2</A> that are preimages of difference sums contained in
##  the list <A>difsums</A> of difference sums in group <A>G</A> mod its
##  normal subgroup <A>N1</A>. At least one member of each equivalence class
##  that would appear in the set of all preimages will be returned, but all
##  preimage difference sums may not appear. The subgroup <A>N2</A> must be
##  contained in <A>N1</A> and difference sums in <A>difsums</A> are all
##  assumed to be the same size. Current implementation forces a choice
##  of nonzero identity coefficient when possible.
##
##  <Example><![CDATA[
##  gap> G := SmallGroup(165);;
##  gap> N1 := Subgroup(G, [G.2, G.4]);;
##  gap> N2 := Subgroup(G, [G.2]);;
##  gap> SomeRefinedDifferenceSums(G, N1, N2, [[3,1,1,1], [2,2,2,0]]);
##  [ [ 11010120 ], [ 11210100 ], 
##    [ 10110210 ], [ 12110010 ], 
##    [ 21100110 ] ]
##  ]]></Example>
##  </Description>
##  </ManSection>
##  <#/GAPDoc>
DeclareGlobalFunction( "SomeRefinedDifferenceSums" );

#############################################################################
##
#F  NrSomeRefinedSums( <G>, <N1>, <N2>, <difsums> )
##
##  <#GAPDoc Label="NrSomeRefinedSums">
##  <ManSection>
##  <Func Name="NrSomeRefinedSums" Arg="G, N1, N2, difsums"/>
##
##  <Description>
##  Returns the number of preimages that will need to be checked during a
##  call to <Ref Func="SomeRefinedDifferenceSums"/> with the same arguments.
##  This can give a rough estimate of how long the call will take to
##  complete.
##
##  <Example><![CDATA[
##  gap> G := SmallGroup(165);;
##  gap> N1 := Subgroup(G, [G.2, G.4]);;
##  gap> N2 := Subgroup(G, [G.2]);;
##  gap> NrSomeRefinedSums(G, N1, N2, [[3,1,1,1], [2,2,2,0]]);
##  21
##  ]]></Example>
##  </Description>
##  </ManSection>
##  <#/GAPDoc>
DeclareGlobalFunction( "NrSomeRefinedSums" );

#############################################################################
##
#F  DifferenceSumPreImagesOptions( <u>, <w>, <S> )
##
##  <#GAPDoc Label="DifferenceSumPreImagesOptions">
##  <ManSection>
##  <Func Name="DifferenceSumPreImagesOptions" Arg="u, w, S"/>
##  </ManSection>
##  <#/GAPDoc>
DeclareGlobalFunction( "DifferenceSumPreImagesOptions" );

#############################################################################
##
#F  DifferenceSumPreImagesPermutations( <opt> )
##
##  <#GAPDoc Label="DifferenceSumPreImagesPermutations">
##  <ManSection>
##  <Func Name="DifferenceSumPreImagesPermutations" Arg="opt"/>
##  </ManSection>
##  <#/GAPDoc>
DeclareGlobalFunction( "DifferenceSumPreImagesPermutations" );

#############################################################################
##
#F  DifferenceSumPreImagesPermutationsForced( <opt> )
##
##  <#GAPDoc Label="DifferenceSumPreImagesPermutationsForced">
##  <ManSection>
##  <Func Name="DifferenceSumPreImagesPermutationsForced" Arg="opt"/>
##  </ManSection>
##  <#/GAPDoc>
DeclareGlobalFunction( "DifferenceSumPreImagesPermutationsForced" );

#############################################################################
##
#F  DifferenceSumPreImagesTranslate( <cosets>, <u1>, <u2>, <u3>, <perm> )
##
##  <#GAPDoc Label="DifferenceSumPreImagesTranslate">
##  <ManSection>
##  <Func Name="DifferenceSumPreImagesTranslate" Arg="cosets, u1, u2, u3, perm"/>
##  </ManSection>
##  <#/GAPDoc>
DeclareGlobalFunction( "DifferenceSumPreImagesTranslate" );

#############################################################################
##
#F  IsDifferenceSumByTable( <table>, <S>, <v>, <k>, <lambda>, <w> )
##
##  <#GAPDoc Label="IsDifferenceSumByTable">
##  <ManSection>
##  <Func Name="IsDifferenceSumByTable" Arg="table, S, v, k, lambda, w"/>
##  </ManSection>
##  <#/GAPDoc>
DeclareGlobalFunction( "IsDifferenceSumByTable" );

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


[Dauer der Verarbeitung: 0.16 Sekunden, vorverarbeitet 2026-06-07]