Changeset 949e57 in git for polys/polys.h
- Timestamp:
- Nov 22, 2010, 4:41:43 PM (13 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 5bc2461738edac589c7bb7fe19322b1ed8897029
- Parents:
- 5c39a93f6a52a5a83fcc9028a16d640959005ca5
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2010-11-22 16:41:43+01:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:55:41+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
polys/polys.h
r5c39a9 r949e57 230 230 231 231 232 /*-------------ring management:----------------------*/233 234 // resets the pFDeg and pLDeg: if pLDeg is not given, it is235 // set to currRing->pLDegOrig, i.e. to the respective LDegProc which236 // only uses pFDeg (and not pDeg, or pTotalDegree, etc).237 // If you use this, make sure your procs does not make any assumptions238 // on ordering and/or OrdIndex -- otherwise they might return wrong results239 // on strat->tailRing240 extern void pSetDegProcs(pFDegProc new_FDeg, pLDegProc new_lDeg = NULL);241 // restores pFDeg and pLDeg:242 extern void pRestoreDegProcs(pFDegProc old_FDeg, pLDegProc old_lDeg);243 244 232 /*-----------the ordering of monomials:-------------*/ 245 233 #define pSetm(p) p_Setm(p, currRing) … … 252 240 * 253 241 ***************************************************************/ 254 extern pLDegProc pLDeg; 255 extern pFDegProc pFDeg; 242 static inline long pFDeg(const poly p, const ring r) { return r->pFDeg(p,r); } 243 static inline long pLDeg(const poly p, int *l, const ring r) { return r->pLDeg(p,l,r); } 256 244 #define pWeight(c) p_Weight(c,currRing) 257 245 #define pDeg(p) p_Deg(p,currRing)
Note: See TracChangeset
for help on using the changeset viewer.