Changeset 36aaf8 in git


Ignore:
Timestamp:
Mar 13, 2014, 4:47:36 PM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
8312b1713453bd741017e4b14b959fda78ea460d
Parents:
ac2c3043b7a7c6fd15fe58c2089a7df5c1daf4ad
git-author:
Martin Lee <martinlee84@web.de>2014-03-13 16:47:36+01:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2014-03-17 18:31:55+01:00
Message:
chg: added alg_LC
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/libfac/charset/alg_factor.cc

    rac2c30 r36aaf8  
    699699}
    700700
     701CanonicalForm alg_LC (const CanonicalForm& f, int lev)
     702{
     703  CanonicalForm result= f;
     704  while (result.level() > lev)
     705    result= LC (result);
     706  return result;
     707}
     708
    701709CanonicalForm
    702710subst (const CanonicalForm& f, const CFList& a, const CFList& b,
     
    799807  // make quasi monic
    800808  CFList Rstarlist= CFList (Rstar);
     809  int algExtLevel= Astar.getLast().level(); //highest level of algebraic variables
    801810  CanonicalForm numinv;
    802811  On (SW_RATIONAL);
    803   numinv= QuasiInverse (Rstar, LC(f), Rstar.mvar());
     812  numinv= QuasiInverse (Rstar, alg_LC(f, algExtLevel), Rstar.mvar());
    804813
    805814  f *= numinv;
     
    857866
    858867      h= alg_gcd (g, fnew, Rstarlist);
    859       numinv= QuasiInverse(Rstar, LC(h), Rstar.mvar());
     868      numinv= QuasiInverse(Rstar, alg_LC(h, algExtLevel), Rstar.mvar());
    860869      h *= numinv;
    861870      h= Prem (h, Rstarlist);
Note: See TracChangeset for help on using the changeset viewer.