Changeset ab12db in git for Singular/LIB/grobcov.lib
- Timestamp:
- Mar 11, 2014, 2:26:52 PM (10 years ago)
- Branches:
- (u'spielwiese', 'e7cc1ebecb61be8b9ca6c18016352af89940b21a')
- Children:
- cfff43fc9d1e2015f61caa9cea82671d931ba0e6
- Parents:
- fa502097e0f6e99adaf0a797bd0957c1c79369ba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/grobcov.lib
rfa50209 rab12db 196 196 def RR=basering; 197 197 def @R=basering; // must be of the form K[a][x], a=parameters, x=variables 198 defRx=ringlist(RR);198 list Rx=ringlist(RR); 199 199 def @P=ring(Rx[1]); 200 200 list Lx; … … 210 210 exportto(Top,@RP); // global ring K[x,a] with product order 211 211 setring(RR); 212 } ;212 } 213 213 example 214 214 { "EXAMPLE:"; echo = 2; … … 253 253 if(te){kill @R; kill @RP; kill @P;} 254 254 return(Jc); 255 } ;255 } 256 256 257 257 proc memberpos(f,J) … … 705 705 if(te==0){kill @R; kill @RP; kill @P;} 706 706 return(f2) 707 } ;707 } 708 708 example 709 709 { "EXAMPLE:"; echo = 2; … … 752 752 } 753 753 } 754 } ;754 } 755 755 756 756 // delfromideal: deletes the i-th polynomial from the ideal F … … 857 857 if(te==1){setglobalrings();} 858 858 return(G); 859 } ;859 } 860 860 861 861 // eliminates repeated elements form an ideal or matrix or module or intmat or bigintmat … … 2499 2499 def LP=imap(RR,LPr); 2500 2500 int j; poly p; 2501 defF=ideal(1);2501 ideal F=ideal(1); 2502 2502 poly f; 2503 2503 poly fn; … … 2565 2565 setring(@R); 2566 2566 def ff=imap(RR,f); 2567 defl=factorize(ff,0);2567 list l=factorize(ff,0); 2568 2568 poly f1=1; 2569 2569 for(i=2;i<=size(l[1]);i++) … … 2574 2574 def f2=imap(@R,f1); 2575 2575 return(f2); 2576 } ;2576 } 2577 2577 2578 2578 //Auxiliary routine
Note: See TracChangeset
for help on using the changeset viewer.