Changeset a33befb in git
- Timestamp:
- Jun 30, 2010, 4:49:01 PM (13 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- c6f736b9c03883f339ee22b726f8ecac0c63f052
- Parents:
- 0dd77c21021822c8a0b9b85d28d147e940da5728
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/sheafcoh.lib
r0dd77c2 ra33befb 639 639 int shift = attrib(Betti,"rowShift") + (k + ell - 1); 640 640 641 intmat newBetti[ n + 1 ][ h - l + 1 ]; 642 641 int iWTH = h-l+1; 642 643 int d = k - h + ell - 1; 644 645 if( PL > 1 ) 646 { 647 "// l: ", l; 648 "// h: ", h; 649 "// n: ", n; 650 "// ell: ", ell; 651 "// k: ", k; 652 "// row: ", row; 653 "// shift: ", shift; 654 "// iWTH: ", iWTH; 655 "// d: ", d; 656 } 657 658 intmat newBetti[ n + 1 ][ iWTH ]; 643 659 int i, j; 644 660 … … 656 672 } 657 673 658 int iWTH = h-l+1;659 674 for (j=2; j<=n+1; j++) { 660 675 for (i=1; i<min(j, iWTH); i++) { 661 newBetti[j,i]= -1;662 } 663 } 664 int d = k - h + ell - 1; 676 newBetti[j,i]= -1; 677 } 678 } 679 665 680 for (j=1; j<=n; j++) { 666 681 for (i=iWTH; i>=k+j; i--) { 667 newBetti[j,i]= -1;682 newBetti[j,i]=0; // -1; 668 683 } 669 684 } … … 847 862 848 863 int tResulutionBegin=timer; 849 resolution RE = nres(EM, maxbound); 864 resolution RE = nres(EM, maxbound); // TODO: Plural computes one too many syzygies...?! 850 865 int tMinResBegin=timer; 851 866 RE = minres(RE); … … 858 873 if( PL > 0 ) 859 874 { 875 // list L = RE; // TODO: size(L/RE) is wrong! 860 876 " 861 877 ---- RESULTS ---- 862 Tate Resolution (Length: ", size(RE), "):878 Tate Resolution: 863 879 "; 864 880 RE; … … 1341 1357 proc getIdealSheaf(ideal I) 1342 1358 { 1359 int i = homog(I); 1343 1360 resolution FI = mres(I,2); // Syz + grading... 1344 1361 module M = FI[2]; 1345 1362 attrib(M, "isCoker", 1); 1346 attrib(M);1363 // attrib(M); 1347 1364 return(M); 1348 1365 };
Note: See TracChangeset
for help on using the changeset viewer.