Changeset e1ac3f in git
- Timestamp:
- Jul 17, 2009, 6:16:40 PM (15 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 6ae83a06bcff3f02af32f42b3606969790cda282
- Parents:
- 3c7278bb58cb6b216292adf91871509a8d8455da
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/solve.lib
r3c7278 re1ac3f 1 1 /////////////////////////////////////////////////////////////////////////////// 2 version="$Id: solve.lib,v 1. 39 2009-04-15 11:24:12 seelischExp $";2 version="$Id: solve.lib,v 1.40 2009-07-17 16:16:40 Singular Exp $"; 3 3 category="Symbolic-numerical solving"; 4 4 info=" … … 387 387 int i=1; 388 388 int j; 389 ideal h,split;390 poly high ;391 392 h= interred(ideal(p,diff(p,x)));393 if(deg(h [1])==0){return(p);}394 high=h [1];389 ideal split; 390 poly high,h; 391 392 h=std(ideal(p,diff(p,x)))[1]; 393 if(deg(h)==0){return(p);} 394 high=h; 395 395 split[1]=exdiv(p,high,x); 396 396 while(1) 397 397 { 398 h= interred(ideal(split[i],high));399 j=deg(h [1]);398 h=std(ideal(split[i],high))[1]; 399 j=deg(h); 400 400 if(j==0){return(p);} 401 if(deg(h [1])==deg(split[i]))401 if(deg(h)==deg(split[i])) 402 402 { 403 403 split=split,split[i]; … … 744 744 { 745 745 def dphilb = basering; 746 G= interred(G);747 attrib(G,"isSB",1);746 G=std(G); 747 //attrib(G,"isSB",1); 748 748 } 749 749 execute("ring lexhilb=("+charstr(rin)+"),("+ varstr(rin)+"),lp;"); … … 760 760 kill lexhilb; 761 761 } 762 else{ideal H = interred(G);}762 else{ideal H = std(G);} 763 763 764 764 // only 1 variable … … 1132 1132 1133 1133 d = size(T); 1134 S = interred(ideal(T[1],diff(T[1],var(d))));1134 S = std(ideal(T[1],diff(T[1],var(d)))); 1135 1135 if (deg(S[1])) 1136 1136 {
Note: See TracChangeset
for help on using the changeset viewer.