Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

561018 views
gap> RequirePackage("carat");
true
gap> names := [];
[  ]
gap> GROUPS := [];
[  ]
gap> R := CaratReadBravaisFile("ordnung.8/(6)^4/min.206");
rec( 
  generators := [ [ [ 1, 0, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 0, 0, 0, 
              -1, 0, 0 ], [ 0, 0, -1, 0, 0, 0 ], [ 0, 0, 0, 0, -1, 0 ], 
          [ 0, 0, 0, 0, 0, 1 ] ], 
      [ [ 0, 1, 0, 0, 0, 0 ], [ 1, 0, 0, 0, 0, 0 ], [ 0, 0, -1, 0, 0, 0 ], 
          [ 0, 0, 0, 1, 0, 0 ], [ 0, 0, 0, 0, 0, 1 ], [ 0, 0, 0, 0, 1, 0 ] ] ]
    , size := 8 )
gap> P1 := Group(R.generators);
<matrix group with 2 generators>
gap> Append(names,["ordnung.8/(6)^4/words.min.206"]);
gap> Append(GROUPS,[P1]);
gap> Print(GROUPS,"\n");
[ Group(
    [ [ [ 1, 0, 0, 0, 0, 0 ], [ 0, -1, 0, 0, 0, 0 ], [ 0, 0, 0, -1, 0, 0 ], 
          [ 0, 0, -1, 0, 0, 0 ], [ 0, 0, 0, 0, -1, 0 ], [ 0, 0, 0, 0, 0, 1 ] ]
        , 
      [ [ 0, 1, 0, 0, 0, 0 ], [ 1, 0, 0, 0, 0, 0 ], [ 0, 0, -1, 0, 0, 0 ], 
          [ 0, 0, 0, 1, 0, 0 ], [ 0, 0, 0, 0, 0, 1 ], [ 0, 0, 0, 0, 1, 0 ] ] 
     ]) ]
gap> Print(names,"\n");
[ "ordnung.8/(6)^4/words.min.206" ]
gap> Size(GROUPS);
1
gap> Size(names);
1
gap> Read("../../TGROUPS.GAP");
gap> for i in [1..Size(GROUPS)] do
>    SubgroupWords(GROUPS[i], names[i]);
> od;
[ x2, x1*x2*x1*x2 ]
[ x1, x1*x2*x1*x2 ]
[ x2*x1, x1*x2*x1*x2 ]
gap> LogTo();