Changeset afa93a in git for libpolys/polys/monomials/p_polys.h
- Timestamp:
- Apr 27, 2011, 1:56:45 PM (13 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 5c97e10bb44ba586b18c55984cb4187d64f2d618
- Parents:
- b5b9dc3fbf31410fce6496f383303df8ed1e5461
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-04-27 13:56:45+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:31:30+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/monomials/p_polys.h
rb5b9dc rafa93a 52 52 53 53 // coeff 54 #define pGetCoeff(p) ((p)->coef) 55 // deletes old coeff before setting the new one 54 // #define pGetCoeff(p) ((p)->coef) 55 static inline number& pGetCoeff(poly p) 56 { 57 assume(p != NULL); 58 return p->coef; 59 } 60 61 // #define p_GetCoeff(p,r) pGetCoeff(p) 62 static inline number& p_GetCoeff(poly p, const ring r) 63 { 64 assume(p != NULL); 65 assume(r != NULL); 66 return p->coef; 67 } 68 69 70 71 // 72 // deletes old coeff before setting the new one??? 56 73 #define pSetCoeff0(p,n) (p)->coef=(n) 57 #define p_GetCoeff(p,r) pGetCoeff(p) 74 58 75 #define p_SetCoeff0(p,n,r) pSetCoeff0(p,n) 59 76
Note: See TracChangeset
for help on using the changeset viewer.