Changeset 3ff2cf in git


Ignore:
Timestamp:
May 9, 2014, 12:36:05 PM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
082428606ab86c928fbf217217338a788f266009
Parents:
86824086279291ea10cc7d98f86c05680d743c24
git-author:
Martin Lee <martinlee84@web.de>2014-05-09 12:36:05+02:00
git-committer:
Martin Lee <martinlee84@web.de>2014-05-12 14:35:03+02:00
Message:
chg: better docu of sqrf_norm
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facAlgFunc.cc

    r868240 r3ff2cf  
    197197}
    198198
    199 // sqr-free routine for algebraic extensions
    200 // we need it! Ex.: f=c^2+2*a*c-1; as=[a^2+1]; f=(c+a)^2
    201 //static CFFList alg_sqrfree( const CanonicalForm & f )
    202 //{
    203 //  CFFList L;
    204 //
    205 //  L.append(CFFactor(f,1));
    206 //  return L;
    207 //}
    208 
    209 // Calculates a square free norm
    210 // Input: f(x, alpha) a square free polynomial over K(alpha),
     199// Trager's square free norm algorithm:
     200// f a separable polynomial over K (alpha),
    211201// alpha is defined by the minimal polynomial Palpha
    212 // K has more than S elements (S is defined in thesis; look getDegOfExt)
     202// K need to contain more than S elements (S is defined in Messollen's thesis;
     203// see also getDegOfExt)
    213204static CFFList
    214205sqrf_norm_sub (const CanonicalForm & f, const CanonicalForm & PPalpha,
     
    279270{
    280271  CFFList result;
    281   if ( getCharacteristic() == 0 )
     272  if (getCharacteristic() == 0)
    282273  {
    283274    IntGenerator myrandom;
    284275    result= sqrf_norm_sub (f, PPalpha, myrandom, s, g, R);
    285276  }
    286   else if ( degree (Extension) > 0 ) // working over Extensions
     277  else if (degree (Extension) > 0)
    287278  {
    288279    AlgExtGenerator myrandom (Extension);
     
    298289
    299290// calculate a "primitive element"
    300 // K must have more than S elements (->thesis, -> getDegOfExt)
     291// K must have more than S elements (-> getDegOfExt)
    301292static CFList
    302293simpleExtension(CFList& backSubst, const CFList & Astar,
     
    321312    R=Bstar.getFirst();
    322313    Bstar.removeFirst();
    323     for (CFListIterator i=Bstar; i.hasItem(); i++)
     314    for (CFListIterator i= Bstar; i.hasItem(); i++)
    324315    {
    325316      j= i;
Note: See TracChangeset for help on using the changeset viewer.