Changeset c1a2b20 in git
- Timestamp:
- Mar 23, 2011, 3:30:37 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 0145cb4989c3ace04091d0ad6bbda0bb91971b14
- Parents:
- a22a8227b35ff5ff3ca67bc9be266ae7f0f60380
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-03-23 15:30:37+01:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:04:11+01:00
- Location:
- libpolys/polys
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/monomials/p_polys.h
ra22a82 rc1a2b20 304 304 * 305 305 ***************************************************************/ 306 /*2 307 * returns the length of a (numbers of monomials) 308 */ 309 static inline int pLength(poly a) 310 { 311 int l = 0; 312 while (a!=NULL) 313 { 314 pIter(a); 315 l++; 316 } 317 return l; 318 } 319 306 320 void p_Norm(poly p1, const ring r); 307 321 void p_Normalize(poly p,const ring r); -
libpolys/polys/pInline0.h
ra22a82 rc1a2b20 60 60 /*2 61 61 * returns the length of a (numbers of monomials) 62 */63 PINLINE0 int pLength(poly a)64 {65 int l = 0;66 67 while (a!=NULL)68 {69 pIter(a);70 l++;71 }72 return l;73 }74 75 /*276 * returns the length of a (numbers of monomials)77 62 * respect syzComp 78 63 */
Note: See TracChangeset
for help on using the changeset viewer.