Changeset 21c6b3 in git
 Timestamp:
 Mar 30, 2011, 5:01:50 PM (12 years ago)
 Branches:
 (u'jengelhdatetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
 Children:
 4f0f42c2c9f0111e4c4acdd825e2e7922154ad28
 Parents:
 bb6c8a5b9ffdd315338acd9b7d6eb2fd40522955
 gitauthor:
 Oleksandr Motsak <motsak@mathematik.unikl.de>20110330 17:01:50+02:00
 gitcommitter:
 Mohamed Barakat <mohamed.barakat@rwthaachen.de>20111109 12:04:16+01:00
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

libpolys/polys/monomials/p_polys.h
rbb6c8a r21c6b3 53 53 * 54 54 ***************************************************************/ 55 // return the maximal exponent of p in form of the maximal long var56 unsigned long p_GetMaxExpL(poly p, const ring r, unsigned long l_max = 0);57 // return monomial r such that GetExp(r,i) is maximum of all58 // monomials in p; coeff == 0, next == NULL, ord is not set59 poly p_GetMaxExpP(poly p, ring r);60 61 55 int p_MinDeg(poly p,intvec *w, const ring R); 62 56 … … 698 692 ***************************************************************/ 699 693 700 701 static inline unsigned long p_GetMaxExp(const poly p, const ring r) 702 { 703 return p_GetMaxExp(p_GetMaxExpL(p, r), r); 704 } 694 /// return the maximal exponent of p in form of the maximal long var 695 unsigned long p_GetMaxExpL(poly p, const ring r, unsigned long l_max = 0); 696 697 /// return monomial r such that GetExp(r,i) is maximum of all 698 /// monomials in p; coeff == 0, next == NULL, ord is not set 699 poly p_GetMaxExpP(poly p, ring r); 705 700 706 701 static inline unsigned long p_GetMaxExp(const unsigned long l, const ring r) … … 725 720 } 726 721 return max; 722 } 723 724 static inline unsigned long p_GetMaxExp(const poly p, const ring r) 725 { 726 return p_GetMaxExp(p_GetMaxExpL(p, r), r); 727 727 } 728 728
Note: See TracChangeset
for help on using the changeset viewer.