Changeset 917287 in git for Singular/LIB/gitfan.lib
- Timestamp:
- Feb 6, 2017, 12:02:27 PM (7 years ago)
- Branches:
- (u'spielwiese', 'a7324b6e0b44a1a8ed3fa4d9ca3e2ff210ddd52c')
- Children:
- aafc931bc91661f27f2b47edfb2d77d93d3df9d0
- Parents:
- 5a87b3ed87cef22b87ffd49edbc7b864af0582d8
- git-author:
- Janko Boehm <boehm@mathematik.uni-kl.de>2017-02-06 12:02:27+01: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
r5a87b3 r917287 95 95 proc printPermutation(permutation sigma) 96 96 { 97 intvec v = permutationToIntvec(sigma);98 string vsrc,vimg;99 for (int i = 1; i<=size(v);i++){97 intvec v = permutationToIntvec(sigma); 98 string vsrc,vimg; 99 for (int i = 1; i<=size(v);i++){ 100 100 vsrc=vsrc+emptyString(1+size(string(size(v)))-size(string(i)))+string(i); 101 }102 for (i = 1; i<=size(v);i++){101 } 102 for (i = 1; i<=size(v);i++){ 103 103 vimg=vimg+emptyString(1+size(string(size(v)))-size(string(v[i])))+string(v[i]); 104 }105 print("|"+vsrc+"|");106 print("|"+vimg+"|");104 } 105 print("|"+vsrc+"|"); 106 print("|"+vimg+"|"); 107 107 } 108 108
Note: See TracChangeset
for help on using the changeset viewer.