Changeset 7b5b09 in git


Ignore:
Timestamp:
Feb 15, 2021, 6:05:19 PM (2 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
036a5e8306f215e00ce97716eea046b0e6d7cdc1
Parents:
02d0097719c7fc27a723a27a4d763bdaa9c76b95
Message:
add. TObject::pContent
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kInline.h

    r02d009 r7b5b09  
    505505}
    506506
     507KINLINE void  sTObject::pContent()
     508{
     509  assume(p != NULL);
     510  if (t_p != NULL)
     511  {
     512    p_SimpleContent(t_p, 1, tailRing);
     513    if (!n_GreaterZero(pGetCoeff(t_p),tailRing->cf))
     514    {
     515      t_p=p_Neg (t_p,tailRing);
     516    }
     517    pSetCoeff0(p, pGetCoeff(t_p));
     518  }
     519  else
     520  {
     521    p_SimpleContent(p, 1, currRing);
     522    if (!n_GreaterZero(pGetCoeff(p),currRing->cf))
     523    {
     524      p=p_Neg (p,currRing);
     525    }
     526  }
     527}
     528
    507529KINLINE void sTObject::pNorm() // pNorm seems to be a _bad_ method name...
    508530{
Note: See TracChangeset for help on using the changeset viewer.