Ignore:
Timestamp:
Nov 29, 2014, 8:49:14 PM (9 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
8104914d2d708e24127bd8e7c8155a42a11e2ee4
Parents:
80b6d366c7d9906d194bdb7023d476a11e90d957
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-11-29 20:49:14+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-12-15 18:48:27+01:00
Message:
Hiding all the implementation details (or adding the counting) mostly by
moving internal declarations from private headers into corresponding source files

rm: Remove internal includes (hiding privates) + cleanup
chg: cleanup internal headers
fix the usage of internal implementation functions of coeffs from outside of libpolys/coeffs (or libpolys/polys/ext_fiels)
fix header includes for coeffs/AE*.{h,cc}
add: FIXME&TODO mark reused privates

also starting to fix bigint handling
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/ext_fields/transext.cc

    r80b6d36 r2206753  
    11491149      {
    11501150        c = p_GetCoeff(p, ntRing);
    1151         tmp = nlGcd(c, gcdOfCoefficients, ntCoeffs);
     1151        tmp = n_Gcd(c, gcdOfCoefficients, ntCoeffs);
    11521152        n_Delete(&gcdOfCoefficients, ntCoeffs);
    11531153        gcdOfCoefficients = tmp;
     
    11581158      {
    11591159        c = p_GetCoeff(p, ntRing);
    1160         tmp = nlGcd(c, gcdOfCoefficients, ntCoeffs);
     1160        tmp = n_Gcd(c, gcdOfCoefficients, ntCoeffs);
    11611161        n_Delete(&gcdOfCoefficients, ntCoeffs);
    11621162        gcdOfCoefficients = tmp;
     
    15141514    {
    15151515      pGcd = pa;
    1516       p_SetCoeff (pGcd, nlGcd (pGetCoeff(pGcd), pGetCoeff(pb), ntCoeffs), ntRing);
     1516      p_SetCoeff (pGcd, n_Gcd (pGetCoeff(pGcd), pGetCoeff(pb), ntCoeffs), ntRing);
    15171517    }
    15181518    else
     
    17691769    return res;
    17701770  }
    1771   number nn=nlGetDenom(a,src);
    1772   number zz=nlGetNumerator(a,src);
     1771  number nn=n_GetDenom(a,src);
     1772  number zz=n_GetNumerator(a,src);
    17731773  number res=ntInit(p_NSet(zz,dst->extRing), dst);
    17741774  fraction ff=(fraction)res;
     
    18881888  if (n_IsZero(a, src)) return NULL;
    18891889  // int p = rChar(dst->extRing);
    1890   number q = nlModP(a, src, dst->extRing->cf);
     1890
     1891  number q = nlModP(a, src, dst->extRing->cf); // FIXME? TODO? // extern number nlModP(number q, const coeffs Q, const coeffs Zp); // Map q \in QQ \to Zp
    18911892
    18921893  if (n_IsZero(q, dst->extRing->cf))
     
    24022403
    24032404  cf->factoryVarOffset = R->cf->factoryVarOffset + rVar(R);
    2404   extern char* naCoeffString(const coeffs r);
    2405   cf->cfCoeffString = naCoeffString;
     2405   
     2406  cf->cfCoeffString = naCoeffString; // FIXME? TODO? // extern char* naCoeffString(const coeffs r);
    24062407
    24072408  cf->cfGreaterZero  = ntGreaterZero;
Note: See TracChangeset for help on using the changeset viewer.