Changeset 7dce2d7 in git for libpolys/polys/monomials


Ignore:
Timestamp:
Apr 20, 2011, 5:24:15 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
9765f3b4f33f8fae7a5ca4ed7831d01d8ca37a06
Parents:
7f602bf34cba1848ae22dbe21a65ea4f2460604f
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-04-20 17:24:15+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:31:21+01:00
Message:
add comments to some coeff functions
add p_EqualPolys
fix warnings in mod_raw.cc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/monomials/p_polys.cc

    r7f602b r7dce2d7  
    35333533}
    35343534
     3535BOOLEAN p_EqualPolys(poly p1,poly p2, const ring r)
     3536{
     3537  while ((p1 != NULL) && (p2 != NULL))
     3538  {
     3539    if (! p_LmEqual(p1, p2,r))
     3540      return FALSE;
     3541    if (! n_Equal(p_GetCoeff(p1,r), p_GetCoeff(p2,r),r ))
     3542      return FALSE;
     3543    pIter(p1);
     3544    pIter(p2);
     3545  }
     3546  return (p1==p2);
     3547}
    35353548
    35363549/*2
Note: See TracChangeset for help on using the changeset viewer.