- Timestamp:
- Sep 7, 2011, 9:19:08 PM (13 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 419b39aef0431cdb83fb38ecb5a712c000ef90e6
- Parents:
- 993ae23c42531aacfd0a9699643f5d31f6095349
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-09-07 21:19:08+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:12:35+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/ideals.h
r993ae2 r3630fa8 37 37 /// Count the effective size of an ideal 38 38 /// (without the trailing allocated zero-elements) 39 static inline int idSize(const ideal id )39 static inline int idSize(const ideal id, const ring r = currRing) 40 40 { 41 41 int j = IDELEMS(id) - 1; … … 73 73 #endif 74 74 75 ideal id_Copy (ideal h1, const ring r); 76 77 #ifdef PDEBUG 75 ideal id_Copy (ideal h1, const ring r = currRing); 76 77 #if 0 78 79 // ifdef PDEBUG // Sorry: the following was lost........ :(((((((( 78 80 ideal idDBCopy(ideal h1,const char *f,int l,const ring r); 79 81 #define id_DBCopy(A,r) idDBCopy(A,__FILE__,__LINE__,r) … … 117 119 int binom (int n,int r); 118 120 119 ideal idFreeModule (int i); 121 inline ideal idFreeModule (int i, const ring R = currRing) 122 { 123 return id_FreeModule (i, R); 124 } 125 126 127 120 128 121 129 ideal idSect (ideal h1,ideal h2); … … 154 162 BOOLEAN idIsSubModule(ideal id1,ideal id2); 155 163 156 ideal idVec2Ideal(poly vec); 164 inline ideal idVec2Ideal(poly vec, const ring R = currRing) 165 { 166 return id_Vec2Ideal(vec, R); 167 } 157 168 158 169 ideal idMatrix2Module(matrix mat);
Note: See TracChangeset
for help on using the changeset viewer.