Changeset 1e44f4e in git for Singular/LIB/gitfan.lib


Ignore:
Timestamp:
Jun 8, 2017, 5:11:39 PM (7 years ago)
Author:
Janko Boehm <boehm@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
ca40dc8a6a76a26cf2c696db58f6554dc49bb33d
Parents:
aafc931bc91661f27f2b47edfb2d77d93d3df9d0
git-author:
Janko Boehm <boehm@mathematik.uni-kl.de>2017-06-08 17:11:39+02:00
git-committer:
Yue Ren <ren@mathematik.uni-kl.de>2017-06-08 18:10:27+02:00
Message:
Update gitfan.lib
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/gitfan.lib

    raafc931 r1e44f4e  
    3333  permutation; Permutation in map representation.
    3434
    35 PROCEDURES (not using group action):
     35PROCEDURES:
    3636  isAface(ideal, intvec); Checks whether the given face is an a-face.
    3737  afaces(ideal); Returns a list of intvecs that correspond to the set of all a-faces, optionally for given list of simplex faces.
     
    4545  GKZfan(intmat); Returns the GKZ-fan of the matrix Q.
    4646  movingCone(intmat); Compute the moving cone.
    47 
    48 PROCEDURES (using group action):
    4947  computeAfaceOrbits(list, list); Compute orbits of a-faces under a permutation group action.
    5048  minimalAfaceOrbits(list); Find the minimal a-face orbits.
     
    362360
    363361  isAface(I,w); // should be 0
    364   "-----------";
    365362  isAface(I,v); // should be 1
    366363}
     
    10511048  intmat Qt = transpose(Q);
    10521049  for(int i = 1; i <= size(G); i++){
    1053     i;
    10541050    intvec sig = permutationToIntvec(G[i]);
    10551051    intmat Bsig = perm2mat(sig, indices,Qt);
     
    11861182                     permutationFromIntvec(intvec( 5, 7, 1, 6, 9, 2, 8, 4, 10, 3 ));
    11871183  list Asigmagens = groupActionOnQImage(generatorsG,Q);
    1188 groupActionOnHashes(Asigmagens,OC);
    1189 }
     1184groupActionOnHashes(Asigmagens,list(OC));
     1185
     1186
     1187  list orb = findOrbits(simplexSymmetryGroup,nrows(Q));
     1188  list simplexOrbitRepresentatives;
     1189  for (int i=1;i<=size(orb);i++){simplexOrbitRepresentatives[i]=orb[i][1];}
     1190  list afaceOrbitRepresentatives=afaces(J,simplexOrbitRepresentatives);
     1191  list fulldimAfaceOrbitRepresentatives=fullDimImages(afaceOrbitRepresentatives,Q);
     1192  list afaceOrbits=computeAfaceOrbits(fulldimAfaceOrbitRepresentatives,simplexSymmetryGroup);
     1193  list minAfaceOrbits = minimalAfaceOrbits(afaceOrbits);
     1194  list listOfOrbitConeOrbits = orbitConeOrbits(minAfaceOrbits,Q);
     1195  list listOfMinimalOrbitConeOrbits = minimalOrbitConeOrbits(listOfOrbitConeOrbits);
     1196  list Asigma = groupActionOnQImage(simplexSymmetryGroup,Q);
     1197  groupActionOnHashes(Asigma,listOfOrbitConeOrbits);
     1198
     1199}
     1200
     1201
    11901202
    11911203
     
    19771989
    19781990
    1979 proc subdividelist(list OC,int ncores){
     1991static proc subdividelist(list OC,int ncores){
    19801992  if (ncores>size(OC)){ncores=size(OC);}
    19811993  int percore = size(OC) div (ncores);
     
    24722484  AF=fullDimImages(AF,Q);
    24732485  AF = minimalAfaces(AF);
    2474   list OC = orbitCones(AF,Q);
     2486  OC = orbitCones(AF,Q);
    24752487  cone Qgamma = coneViaPoints(transpose(Q));
    2476   list GIT = GITfanParallel(OC,Q,Qgamma);
     2488  GIT = GITfanParallel(OC,Q,Qgamma);
    24772489  }
    24782490  fan Sigma = hashesToFan(GIT,OC);
Note: See TracChangeset for help on using the changeset viewer.