Changeset 09609a in git


Ignore:
Timestamp:
Feb 1, 2012, 11:58:50 AM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
1a3011e587832b2682cb4978c6d117754eaa2572
Parents:
f047b5699c750b79bcbb5667b7ddcdbfa672c26a
git-author:
Martin Lee <martinlee84@web.de>2012-02-01 11:58:50+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-10 14:16:44+01:00
Message:
chg: lower precision during factor recombination
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facFqBivar.cc

    rf047b56 r09609a  
    240240CFList
    241241extFactorRecombination (CFList& factors, CanonicalForm& F,
    242                         const CanonicalForm& M, const ExtensionInfo& info,
     242                        const CanonicalForm& N, const ExtensionInfo& info,
    243243                        DegreePattern& degs, const CanonicalForm& eval, int s,
    244244                        int thres)
     
    256256  int k= info.getGFDegree();
    257257
     258  CanonicalForm M= N;
     259  int l= degree (N);
    258260  Variable y= F.mvar();
    259261  Variable x= Variable (1);
     
    361363          {
    362364            T= Difference (T, S);
     365            l -= degree (g);
     366            M= power (y, l);
     367
    363368            // compute new possible degree pattern
    364369            bufDegs2= DegreePattern (T);
     
    435440CFList
    436441factorRecombination (CFList& factors, CanonicalForm& F,
    437                      const CanonicalForm& M, DegreePattern& degs, int s,
     442                     const CanonicalForm& N, DegreePattern& degs, int s,
    438443                     int thres
    439444                    )
     
    454459  CFList T, S;
    455460
     461  CanonicalForm M= N;
     462  int l= degree (N);
    456463  T= factors;
    457464  CFList result;
     
    513520          LCBuf= LC (buf, x);
    514521          T= Difference (T, S);
     522          l -= degree (g);
     523          M= power (y, l);
    515524
    516525          // compute new possible degree pattern
Note: See TracChangeset for help on using the changeset viewer.