Changeset 7760bc in git


Ignore:
Timestamp:
Apr 22, 2021, 2:58:40 PM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
8ea64b246bf684a982923f63c84024da24021bff
Parents:
fe846e907cf006d4c9344e218cea95af49781876
Message:
chg: p_Normalize for all coeffs
Location:
libpolys
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/numbers.cc

    rfe846e r7760bc  
    160160}
    161161
    162 static void   ndNormalize(number&, const coeffs) { }
     162void   ndNormalize(number&, const coeffs) { }
    163163static number ndReturn0(number, const coeffs r)        { return r->cfInit(0,r); }
    164164number ndGcd(number, number, const coeffs r)    { return r->cfInit(1,r); }
  • libpolys/coeffs/numbers.h

    rfe846e r7760bc  
    8888
    8989// dummy routines
    90 // void   ndNormalize(number& d, const coeffs); // nNormalize...
     90void   ndNormalize(number&, const coeffs); // nNormalize...
    9191
    9292/// initialize an object of type coeff, return FALSE in case of success
  • libpolys/polys/monomials/p_polys.cc

    rfe846e r7760bc  
    38423842void p_Normalize(poly p,const ring r)
    38433843{
    3844   if (rField_has_simple_inverse(r)) return; /* Z/p, GF(p,n), R, long R/C */
     3844  if ((rField_has_simple_inverse(r))  /* Z/p, GF(p,n), R, long R/C */
     3845  || (r->cf->cfNormalize==ndNormalize)) /* Nemo rings, ...*/
     3846    return;
    38453847  while (p!=NULL)
    38463848  {
Note: See TracChangeset for help on using the changeset viewer.