Changeset c67591 in git
- Timestamp:
- Dec 9, 2014, 11:01:31 AM (8 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- a7d85a27017c3608979fad1bd844efd0375f1bd7
- Parents:
- 05e73920ce04956d9a1cfb78192a4aeafb5f5b70
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/primdec.lib
r05e7392 rc67591 2828 2828 } 2829 2829 homo=homog(i); 2830 if(homo ==1)2830 if(homo) 2831 2831 { 2832 2832 if(attrib(i,"isSB")!=1) … … 4183 4183 def r=basering; 4184 4184 4185 int j,k;4186 map phi;4187 poly p;4188 4189 4185 ideal iwork=i; 4190 ideal imap1=maxideal(1);4191 4186 ideal imap2=maxideal(1); 4192 4187 4193 4188 4194 for(j=1;j<=nvars(basering);j++) 4195 { 4196 for(k=1;k<=size(i);k++) 4197 { 4198 if(deg(iwork[k]/var(j))==0) 4199 { 4200 p=-1/leadcoef(iwork[k]/var(j))*iwork[k]; 4201 imap1[j]=p+2*var(j); 4202 phi=r,imap1; 4203 iwork=phi(iwork); 4204 iwork=subst(iwork,var(j),0); 4205 iwork[k]=var(j); 4206 imap1=maxideal(1); 4207 imap2[j]=-p; 4208 break; 4189 if (char(r)!=2) 4190 { 4191 int j,k; 4192 map phi; 4193 poly p; 4194 ideal imap1=maxideal(1); 4195 for(j=1;j<=nvars(basering);j++) 4196 { 4197 for(k=1;k<=ncols(i);k++) 4198 { 4199 if(deg(iwork[k]/var(j))==0) 4200 { 4201 p=-1/leadcoef(iwork[k]/var(j))*iwork[k]; 4202 imap1[j]=p+2*var(j); 4203 phi=r,imap1; 4204 iwork=phi(iwork); 4205 iwork=subst(iwork,var(j),0); 4206 iwork[k]=var(j); 4207 imap1=maxideal(1); 4208 imap2[j]=-p; 4209 break; 4210 } 4209 4211 } 4210 4212 } … … 5863 5865 ASSUME(0, not isQuotientRing(basering) ) ; 5864 5866 dbprint(printlevel - voice, "Radical, version 2006.05.08"); 5867 if(size(i) == 0){return(ideal(0));} 5865 5868 if(attrib(basering,"global")!=1) 5866 5869 { … … 5877 5880 return(j); 5878 5881 } 5879 if(size(i) == 0){return(ideal(0));}5880 5882 int j; 5881 5883 def P0 = basering;
Note: See TracChangeset
for help on using the changeset viewer.