Changeset 7e3d56 in git for factory


Ignore:
Timestamp:
Nov 22, 2012, 6:00:49 PM (11 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
5641361d547d954c224e5c07effaefe14c255070
Parents:
32a76d8ff1ea7276dcd4a51110cc4bfb4506c97f
git-author:
Martin Lee <martinlee84@web.de>2012-11-22 18:00:49+01:00
git-committer:
Martin Lee <martinlee84@web.de>2012-11-23 09:47:03+01:00
Message:
fix: computation of factor bound over Q(a)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facBivar.cc

    r32a76d r7e3d56  
    102102        K *= degs[i] + 1;
    103103    }
    104     K /= power (CanonicalForm (2), k);
    105     K= K.sqrt()+1;
     104    K /= power (CanonicalForm (2), k/2);
    106105    K *= power (CanonicalForm (2), M);
    107106    int N= degree (mipo);
    108107    CanonicalForm b;
    109108    b= 2*power (maxNorm (f), N)*power (maxNorm (mipo), 4*N)*K*
    110        power (CanonicalForm (2), N)*(CanonicalForm (M+1).sqrt()+1)*
    111        power (CanonicalForm (N+1).sqrt()+1, 7*N);
     109       power (CanonicalForm (2), N)*
     110       power (CanonicalForm (N+1), 4*N);
    112111    b /= power (abs (lc (mipo)), N);
    113 
    114     ZZX NTLmipo= convertFacCF2NTLZZX (mipo);
    115     ZZX NTLLcf= convertFacCF2NTLZZX (Lc (f));
    116     ZZ NTLf= resultant (NTLmipo, NTLLcf);
    117     ZZ NTLD= discriminant (NTLmipo);
    118     b /= abs (convertZZ2CF (NTLf))*abs (convertZZ2CF (NTLD));
    119112
    120113    CanonicalForm B = p;
Note: See TracChangeset for help on using the changeset viewer.