Changeset 3630fa8 in git
- Timestamp:
- Sep 7, 2011, 9:19:08 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a657104b677b4c461d018cbf3204d72d34ad66a9')
- 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
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/extra.cc
r993ae2 r3630fa8 2365 2365 } 2366 2366 2367 matrix Temp=mp_Transp((matrix) id Vec2Ideal(r), currRing);2368 matrix R=mpNew(MATCOLS((matrix) id Vec2Ideal(f)),1);2367 matrix Temp=mp_Transp((matrix) id_Vec2Ideal(r, currRing), currRing); 2368 matrix R=mpNew(MATCOLS((matrix) id_Vec2Ideal(f, currRing)),1); 2369 2369 for (int k=1;k<=MATROWS(Temp);k++) 2370 2370 { -
Singular/iparith.cc
r993ae2 r3630fa8 5021 5021 static BOOLEAN jjidFreeModule(leftv res, leftv v) 5022 5022 { 5023 res->data = (char *)id FreeModule((int)(long)v->Data());5023 res->data = (char *)id_FreeModule((int)(long)v->Data(), currRing); 5024 5024 return FALSE; 5025 5025 } 5026 5026 static BOOLEAN jjidVec2Ideal(leftv res, leftv v) 5027 5027 { 5028 res->data = (char *)id Vec2Ideal((poly)v->Data());5028 res->data = (char *)id_Vec2Ideal((poly)v->Data(), currRing); 5029 5029 return FALSE; 5030 5030 } -
Singular/lists.cc
r993ae2 r3630fa8 246 246 { 247 247 idDelete(&(r[i])); 248 r[i]=id FreeModule(rank);248 r[i]=id_FreeModule(rank, currRing); 249 249 } 250 250 else -
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.