Changeset 5b3fec in git
- Timestamp:
- Feb 1, 2019, 4:58:13 PM (4 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- 1e6885f5cacbce6fbbc201cf3104ccc6af24824c
- Parents:
- 37cbc29f515f886b5506d4f7b5731a488acfe576
- git-author:
- Karim Abou Zeid <karim23697@gmail.com>2019-02-01 16:58:13+01:00
- git-committer:
- Karim Abou Zeid <karim23697@gmail.com>2019-02-08 17:55:47+01:00
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/dyn_modules/freegb/freegb.cc
r37cbc2 r5b3fec 2 2 3 3 #ifdef HAVE_SHIFTBBA 4 static BOOLEAN freegb(leftv res, leftv args) 4 static BOOLEAN freegb(leftv res, leftv args) // freeAlgebra 5 5 { 6 6 const short t1[]={2,RING_CMD,INT_CMD}; … … 80 80 } 81 81 82 /*==================== divide-test for freeGB =================*/83 82 static BOOLEAN lpLmDivides(leftv res, leftv h) 84 83 { … … 112 111 } 113 112 114 /*==================== get var for freeGB ====================*/115 113 static BOOLEAN lpVarAt(leftv res, leftv h) 116 114 { … … 126 124 else return TRUE; 127 125 } 126 127 static BOOLEAN rightStd(leftv res, leftv h) 128 { 129 const short t[]={1,IDEAL_CMD}; 130 if (iiCheckTypes(h,t,1)) 131 { 132 ideal id=(ideal)h->Data(); 133 res->rtyp = IDEAL_CMD; 134 res->data = rightgb(id, currRing->qideal); 135 return FALSE; 136 } 137 return TRUE; 138 } 128 139 #endif 129 140 … … 138 149 p->iiAddCproc("freegb.so","stest",TRUE,stest); 139 150 p->iiAddCproc("freegb.so","btest",TRUE,btest); 151 p->iiAddCproc("freegb.so","rightstd",FALSE,rightStd); 140 152 #endif 141 153 return (MAX_TOK); -
kernel/GBEngine/kstd1.cc
r37cbc2 r5b3fec 2093 2093 2094 2094 #ifdef HAVE_SHIFTBBA 2095 if(rIsLPRing(currRing)) return freegb(F );2095 if(rIsLPRing(currRing)) return freegb(F, Q); 2096 2096 #endif 2097 2097 -
kernel/GBEngine/kstd2.cc
r37cbc2 r5b3fec 4459 4459 4460 4460 4461 ideal freegb(ideal F )4461 ideal freegb(ideal F, ideal Q) 4462 4462 { 4463 4463 assume(rIsLPRing(currRing)); 4464 4464 assume(idIsInV(F)); 4465 ideal RS = kStdShift(F, NULL, testHomog, NULL);4465 ideal RS = kStdShift(F, Q, testHomog, NULL); 4466 4466 idSkipZeroes(RS); // is this even necessary? 4467 4467 assume(idIsInV(RS)); -
kernel/GBEngine/kutil.h
r37cbc2 r5b3fec 861 861 int redFirstShift (LObject* h,kStrategy strat); // ok 862 862 863 ideal freegb(ideal F );863 ideal freegb(ideal F, ideal Q); 864 864 ideal rightgb(ideal F, ideal Q); 865 865
Note: See TracChangeset
for help on using the changeset viewer.