Changeset f0a8c59 in git
- Timestamp:
- Jul 19, 2011, 5:55:43 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 99cfa5e3566af5edf083913e4d9a15e16196be67
- Parents:
- f478f5beee78cd910479115b993cc9e7b02b82a8
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-07-19 17:55:43+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:52:42+01:00
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/kInline.h
rf478f5b rf0a8c59 14 14 #if !defined(NO_KINLINE) || defined(KUTIL_CC) 15 15 16 #include <omalloc/omalloc.h> 17 #include <misc/options.h> 18 16 19 #include <polys/monomials/p_polys.h> 17 #include <polys/polys.h>18 20 #include <polys/templates/p_Procs.h> 19 21 #include <polys/kbuckets.h> 20 #include <omalloc/omalloc.h> 21 #include <misc/options.h> 22 23 #include <polys/polys.h> 24 22 25 23 26 #define HAVE_TAIL_BIN … … 419 422 420 423 //extern void pCleardenom(poly p); 421 extern void pNorm(poly p); 424 // extern void pNorm(poly p); 425 422 426 // manipulations 423 427 KINLINE void sTObject::pCleardenom() … … 467 471 } 468 472 469 KINLINE void sTObject::pNorm()473 KINLINE void sTObject::pNorm() // pNorm seems to be a _bad_ method name... 470 474 { 471 475 assume(p != NULL); 472 476 if (! is_normalized) 473 477 { 474 ::pNorm(p);478 p_Norm(p, currRing); 475 479 if (t_p != NULL) 476 480 pSetCoeff0(t_p, pGetCoeff(p)); -
libpolys/coeffs/numbers.h
rf478f5b rf0a8c59 31 31 #define nNormalize(n) n_Normalize(n,currRing->cf) 32 32 33 inline number nGcd(number a, number b, const ring r = currRing) { return n_Gcd(a, b, r->cf); }34 33 inline number nGcd(number a, number b, const coeffs cf) { return n_Gcd(a, b, cf); } 35 34 -
libpolys/polys/polys.h
rf478f5b rf0a8c59 13 13 extern ring currRing; 14 14 extern void rChangeCurrRing(ring r); 15 16 #include <coeffs/numbers.h> 17 inline number nGcd(number a, number b, const ring r = currRing) { return n_Gcd(a, b, r->cf); } 15 18 16 19 /*************************************************************** … … 319 322 void pSetPolyComp(poly p, int comp); 320 323 #define pDeleteComp(p,k) p_DeleteComp(p,k,currRing) 321 #define pNorm(p) p_Norm(p,currRing) 324 325 inline void pNorm(poly p, const ring R = currRing){ p_Norm(p, R); } 326 327 322 328 #define pSubst(p,n,e) p_Subst(p,n.e,currRing) 323 329 #define ppJet(p,m) pp_Jet(p,m,currRing)
Note: See TracChangeset
for help on using the changeset viewer.