Changeset b54a393 in git
- Timestamp:
- Dec 11, 2009, 2:19:13 PM (13 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- ded085a7412801cc56df67b95d9d1aad3854f8b4
- Parents:
- 268ecefb97aabec39527c04a7cf70a9a701b5673
- Location:
- Singular/LIB
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/homolog.lib
r268ece rb54a393 1905 1905 module Co=modulo(syz(transpose(G[c+1])),transpose(K)+transpose(G[c])); 1906 1906 } 1907 return(list( prune(Ke),prune(modulo(Ke,M)),prune(Co)));1907 return(list(Ke,prune(modulo(Ke,M)),prune(Co))); 1908 1908 1909 1909 } -
Singular/LIB/sagbi.lib
r268ece rb54a393 538 538 S=S+Red; 539 539 } 540 return( S);540 return(interreduced(S)); 541 541 } 542 542 example … … 546 546 sagbi(I,1,1); 547 547 } 548 549 proc interreduced(ideal I) 550 { 551 ideal J,B; 552 int i,j,k; 553 poly f; 554 for(k=1;k<=ncols(I);k++) 555 { 556 f=I[k]; 557 I[k]=0; 558 f=sagbiNF(f,I,1); 559 I[k]=f; 560 } 561 I=simplify(I,2); 562 return(I); 563 } 564 548 565 /////////////////////////////////////////////////////////////////////////////// 549 566 proc sagbiPart(id,int k,int c,list #)
Note: See TracChangeset
for help on using the changeset viewer.