Changeset 1e44f4e in git for Singular/LIB/gitfan.lib
- Timestamp:
- Jun 8, 2017, 5:11:39 PM (7 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/gitfan.lib
raafc931 r1e44f4e 33 33 permutation; Permutation in map representation. 34 34 35 PROCEDURES (not using group action):35 PROCEDURES: 36 36 isAface(ideal, intvec); Checks whether the given face is an a-face. 37 37 afaces(ideal); Returns a list of intvecs that correspond to the set of all a-faces, optionally for given list of simplex faces. … … 45 45 GKZfan(intmat); Returns the GKZ-fan of the matrix Q. 46 46 movingCone(intmat); Compute the moving cone. 47 48 PROCEDURES (using group action):49 47 computeAfaceOrbits(list, list); Compute orbits of a-faces under a permutation group action. 50 48 minimalAfaceOrbits(list); Find the minimal a-face orbits. … … 362 360 363 361 isAface(I,w); // should be 0 364 "-----------";365 362 isAface(I,v); // should be 1 366 363 } … … 1051 1048 intmat Qt = transpose(Q); 1052 1049 for(int i = 1; i <= size(G); i++){ 1053 i;1054 1050 intvec sig = permutationToIntvec(G[i]); 1055 1051 intmat Bsig = perm2mat(sig, indices,Qt); … … 1186 1182 permutationFromIntvec(intvec( 5, 7, 1, 6, 9, 2, 8, 4, 10, 3 )); 1187 1183 list Asigmagens = groupActionOnQImage(generatorsG,Q); 1188 groupActionOnHashes(Asigmagens,OC); 1189 } 1184 groupActionOnHashes(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 1190 1202 1191 1203 … … 1977 1989 1978 1990 1979 proc subdividelist(list OC,int ncores){1991 static proc subdividelist(list OC,int ncores){ 1980 1992 if (ncores>size(OC)){ncores=size(OC);} 1981 1993 int percore = size(OC) div (ncores); … … 2472 2484 AF=fullDimImages(AF,Q); 2473 2485 AF = minimalAfaces(AF); 2474 listOC = orbitCones(AF,Q);2486 OC = orbitCones(AF,Q); 2475 2487 cone Qgamma = coneViaPoints(transpose(Q)); 2476 listGIT = GITfanParallel(OC,Q,Qgamma);2488 GIT = GITfanParallel(OC,Q,Qgamma); 2477 2489 } 2478 2490 fan Sigma = hashesToFan(GIT,OC);
Note: See TracChangeset
for help on using the changeset viewer.