Changeset 448d06 in git
- Timestamp:
- Feb 21, 2013, 5:40:49 PM (11 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- c2400cea086b85043ee8187be4765842d83ecac4
- Parents:
- e5aab035dcd0b56379d1af420d8c6fbac1c5f73ee29bd5c03a53b919fe8180547ab8722b6031b41e
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/libfac/charset/alg_factor.cc
re5aab0 r448d06 378 378 // muessen wir die Nachfolger aendern, wenn s != 0 ? 379 379 DEBOUTLN(CERR, "simpleextension: g= ", g); 380 if ( s != 0 ) DEBOUTLN(CERR, "simpleextension: s= ", s); 381 else DEBOUTLN(CERR, "simpleextension: s= ", s); 380 DEBOUTLN(CERR, "simpleextension: s= ", s); 382 381 DEBOUTLN(CERR, "simpleextension: R= ", R); 383 382 Returnlist.insert(s); … … 684 683 CanonicalForm Fgcd; 685 684 Fgcd= alg_gcd(f,f.deriv(),Astar); 686 if ( Fgcd == 0 ) DEBOUTMSG(CERR, "WARNING: p'th root ?");685 if ( Fgcd == 0 ) {DEBOUTMSG(CERR, "WARNING: p'th root ?");} 687 686 if (( degree(Fgcd, f.mvar()) > 0) && (!(f.deriv().isZero())) ){ 688 687 DEBOUTLN(CERR, "Nontrivial GCD found of ", f); -
factory/libfac/charset/algfactor.cc
re5aab0 r448d06 29 29 int hasVar(const CanonicalForm &f, const Variable &v); 30 30 31 /* unused functions: 31 32 static CFFList 32 33 myminus( const CFFList & Inputlist, const CFFactor & TheFactor){ … … 43 44 } 44 45 45 /* unused functions:46 46 static CFFList 47 47 myDifference(const CFFList & Inputlist1,const CFFList & Inputlist2){ -
factory/libfac/factor/Factor.cc
re5aab0 r448d06 620 620 { 621 621 if (Extension.level()<0) 622 DEBOUTLN(CERR, "Univ. Factorization over extension of degree ", 623 degree(getMipo(Extension,'x')) ); 622 { 623 DEBOUTLN(CERR, "Univ. Factorization over extension of degree ", 624 degree(getMipo(Extension,'x')) ); 625 } 624 626 else 625 DEBOUTLN(CERR, "Univ. Factorization over extension of level ??", 626 Extension.level()); 627 { 628 DEBOUTLN(CERR, "Univ. Factorization over extension of level ??", 629 Extension.level()); 630 } 627 631 TIMING_START(evaluate_time); 628 632 Outputlist = factorize2(F,Extension,alpha); … … 964 968 // * ensuring poly is sqrfree (n.y.i.) // 965 969 /////////////////////////////////////////////////////////////// 966 static bool fdivides2(const CanonicalForm &F, const CanonicalForm &G, const CanonicalForm &minpoly)970 /*static bool fdivides2(const CanonicalForm &F, const CanonicalForm &G, const CanonicalForm &minpoly) 967 971 { 968 972 if (!minpoly.isZero()) … … 985 989 else 986 990 return fdivides(F,G); 987 } 991 }*/ 988 992 989 993 CFFList -
factory/libfac/factor/MVMultiHensel.cc
re5aab0 r448d06 72 72 return *this; 73 73 } 74 RememberForm() : poly(0), calculated(false) {}74 RememberForm() : calculated(false), poly(0) {} 75 75 Boolean calculated; 76 76 CanonicalForm poly; -
libpolys/polys/monomials/p_polys.cc
re29bd5 r448d06 697 697 if( p == NULL ) // TODO: ??? 698 698 return -1; 699 700 long r = totaldegreeWecart_IV(p, R, w); pIter(p); 701 702 for ( ; p!=NULL; pIter(p) ) 703 { 704 const long t = totaldegreeWecart_IV(p, R, w); 699 long r=~0L; 700 loop 701 { 702 long t = totaldegreeWecart_IV(p, R, w); pIter(p); 705 703 if (t > r) r = t; 706 } 707 704 pIter(p); 705 if (p==NULL) break; 706 } 708 707 return r; 709 708 } … … 728 727 j+=p_GetExp(p, i, r)*r->firstwv[i-1]; 729 728 730 for (;i<=r ->N;i++)729 for (;i<=rVar(r);i++) 731 730 j+=p_GetExp(p,i, r)*p_Weight(i, r); 732 731
Note: See TracChangeset
for help on using the changeset viewer.