Ignore:
Timestamp:
Mar 16, 2012, 9:31:18 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
bbe9548df00466bc1a7e2d22f1e5662d1f4614fa
Parents:
66b9679c3d696e061e7f06abdc3f5ddf7c9f2991
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-16 21:31:18+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-17 18:45:31+01:00
Message:
minor changes to ParDeg

chg: ndParDeg is a static function
add: nfParDef in ffields.cc (GF!)
add: n_ParDeg(ring) wrapper
add: added standard assumes to wrappers for ChineseRemainder, Farey, ParDeg
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/OBSOLETE_pInitContent.cc

    r66b967 rda5d77  
    168168}
    169169
    170 void pSimpleContent(poly ph,int smax)
     170void pSimpleContent(poly ph,int smax) // in currRing!
    171171{
    172172  //if(TEST_OPT_CONTENTSB) return;
     
    228228}
    229229
    230 number pInitContent(poly ph)
     230number pInitContent(poly ph)  // in currRing!
    231231// only for coefficients in Q
    232232#if 0
     
    313313#endif
    314314
    315 number pInitContent_a(poly ph)
     315number pInitContent_a(poly ph) // in currRing!
    316316// only for coefficients in K(a) anf K(a,...)
    317317{
    318318  number d=pGetCoeff(ph);
    319   int s=naParDeg(d);
    320   if (s /* naParDeg(d)*/ <=1) return naCopy(d);
     319  int s=n_ParDeg(d, currRing);
     320  if (s /* n_ParDeg(d, currRing)*/ <=1) return naCopy(d);
    321321  int s2=-1;
    322322  number d2;
     
    330330      break;
    331331    }
    332     if ((ss=naParDeg(pGetCoeff(ph)))<s)
     332    if ((ss=n_ParDeg(pGetCoeff(ph), currRing))<s)
    333333    {
    334334      s2=s;
Note: See TracChangeset for help on using the changeset viewer.