Changeset 48f1dd in git for libpolys/polys/simpleideals.h
- Timestamp:
- Sep 29, 2022, 10:42:46 AM (19 months ago)
- Branches:
- (u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
- Children:
- 4d17337b8a161f7c63c26e2c3f4b0e0d4df645c8
- Parents:
- aec6fead7ad079baf52b503b680f55839809e605
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/simpleideals.h
raec6fe r48f1dd 65 65 66 66 /// number of non-zero polys in F 67 int idElem(const ideal F); 67 static inline int idElem(const ideal F) 68 { 69 int i=0; 70 for(int j=IDELEMS(F)-1;j>=0;j--) 71 { 72 if ((F->m)[j]!=NULL) i++; 73 } 74 return i; 75 } 76 68 77 #define id_Elem(F,R) idElem(F) 69 78
Note: See TracChangeset
for help on using the changeset viewer.