Changeset 76fead in git for libpolys/polys/monomials/p_polys.cc
- Timestamp:
- Jul 18, 2011, 5:45:16 PM (12 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- c6474a786b054e209421ddeaf8aa820904161457
- Parents:
- c15fb027c86f5b034e29b00b2a1d48cc95720689
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-07-18 17:45:16+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:39:56+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/monomials/p_polys.cc
rc15fb0 r76fead 3775 3775 #include <polys/templates/p_Delete__T.cc> 3776 3776 3777 #ifdef HAVE_RINGS3778 /* TRUE iff LT(f) | LT(g) */3779 BOOLEAN p_DivisibleByRingCase(poly f, poly g, const ring r)3780 {3781 int exponent;3782 for(int i = (int)r->N; i; i--)3783 {3784 exponent = p_GetExp(g, i, r) - p_GetExp(f, i, r);3785 if (exponent < 0) return FALSE;3786 }3787 return n_DivBy(p_GetCoeff(g,r), p_GetCoeff(f,r),r->cf);3788 }3789 #endif
Note: See TracChangeset
for help on using the changeset viewer.