Changeset 08f2a1f in git for libpolys/polys
- Timestamp:
- Sep 1, 2020, 4:17:50 PM (4 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
- Children:
- 40632978ce2cb84dae846b23a573eee15545abcc
- Parents:
- 20bab7d91a9351cbc13245eeb4da8a9ec894b6d2
- Location:
- libpolys/polys
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/clapconv.cc
r20bab7 r08f2a1f 325 325 326 326 // test if denominator is constant 327 if (!errorreported && !p_IsConstant Poly(DEN ((fraction)p_GetCoeff (p,r)),r->cf->extRing))327 if (!errorreported && !p_IsConstant(DEN ((fraction)p_GetCoeff (p,r)),r->cf->extRing)) 328 328 WerrorS("conversion error: denominator!= 1"); 329 329 … … 357 357 358 358 // test if denominator is constant 359 if (!p_IsConstant Poly(DEN ((fraction)p_GetCoeff (p,r)),r->cf->extRing))359 if (!p_IsConstant(DEN ((fraction)p_GetCoeff (p,r)),r->cf->extRing)) 360 360 return FALSE; 361 361 pIter(p); -
libpolys/polys/clapsing.cc
r20bab7 r08f2a1f 826 826 p_Test(fac,r); 827 827 int e=0; 828 if (!p_IsConstant Poly(fac,r))828 if (!p_IsConstant(fac,r)) 829 829 { 830 830 #ifdef FACTORIZE2_DEBUG … … 1141 1141 prune (a); 1142 1142 #ifndef SING_NDEBUG 1143 if ((r->cf->extRing!=NULL) && (!p_IsConstant Poly(ff,r)))1143 if ((r->cf->extRing!=NULL) && (!p_IsConstant(ff,r))) 1144 1144 { 1145 1145 singclap_factorize_retry++; -
libpolys/polys/monomials/p_polys.h
r20bab7 r08f2a1f 1983 1983 } 1984 1984 1985 static inline BOOLEAN p_IsConstantPoly(const poly p, const ring r) 1986 { 1987 p_Test(p, r); 1988 poly pp=p; 1989 while(pp!=NULL) 1990 { 1991 if (! p_LmIsConstantComp(pp, r)) 1992 return FALSE; 1993 pIter(pp); 1994 } 1995 return TRUE; 1996 } 1985 #define p_IsConstantPoly(p,r) p_IsConstant(p,r) 1997 1986 1998 1987 static inline BOOLEAN p_IsUnit(const poly p, const ring r) -
libpolys/polys/nc/old.gring.cc
r20bab7 r08f2a1f 3361 3361 3362 3362 int *perm=(int *)omAlloc0((Rop->N+1)*sizeof(int)); 3363 if (!p_IsConstant Poly(p, Rop))3363 if (!p_IsConstant(p, Rop)) 3364 3364 { 3365 3365 /* we know perm exactly */ -
libpolys/polys/simpleideals.cc
r20bab7 r08f2a1f 404 404 for (int k = IDELEMS(id)-1; k>=0; k--) 405 405 { 406 if (!p_IsConstant Poly(id->m[k],r))406 if (!p_IsConstant(id->m[k],r)) 407 407 return FALSE; 408 408 }
Note: See TracChangeset
for help on using the changeset viewer.