Changeset b95a5f in git
- Timestamp:
- Nov 24, 2018, 4:41:55 PM (5 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 58316de87753e52bf45851f452b93d4c695c8b7f
- Parents:
- 15fbfe06ffc98afedf8793dac26eb99ca7f9b6d4
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/freegb.lib
r15fbfe0 rb95a5f 443 443 ideal J = letplaceGBasis(I); 444 444 J; 445 } 446 447 proc lpRightStd(ideal F, ideal Q) 448 { 449 return (system("rightgb", F, Q)); 445 450 } 446 451 -
Singular/extra.cc
r15fbfe0 rb95a5f 1243 1243 else 1244 1244 #endif 1245 /*==================== rightgb for freeGB ====================*/ 1246 #ifdef HAVE_SHIFTBBA 1247 if (strcmp(sys_cmd, "rightgb") == 0) 1248 { 1249 const short t[]={2,IDEAL_CMD,IDEAL_CMD}; 1250 if (iiCheckTypes(h,t,1)) 1251 { 1252 ideal F=(ideal)h->CopyD(); 1253 ideal Q=(ideal)(h->next->CopyD()); 1254 res->rtyp = IDEAL_CMD; 1255 res->data = rightgb(F, Q); 1256 return FALSE; 1257 } 1258 else return TRUE; 1259 } 1260 else 1261 #endif 1245 1262 /*==================== pcv ==================================*/ 1246 1263 #ifdef HAVE_PCV -
kernel/GBEngine/kstd1.cc
r15fbfe0 rb95a5f 2568 2568 #ifdef HAVE_SHIFTBBA 2569 2569 ideal kStdShift(ideal F, ideal Q, tHomog h,intvec ** w, intvec *hilb,int syzComp, 2570 int newIdeal, intvec *vw )2570 int newIdeal, intvec *vw, BOOLEAN rightGB) 2571 2571 { 2572 2572 ideal r; … … 2575 2575 kStrategy strat=new skStrategy; 2576 2576 intvec* temp_w=NULL; 2577 2578 if (rightGB) strat->rightGB = TRUE; 2577 2579 2578 2580 if(!TEST_OPT_RETURN_SB) -
kernel/GBEngine/kstd1.h
r15fbfe0 rb95a5f 39 39 int syzComp=0,int newIdeal=0, intvec *vw=NULL, s_poly_proc_t sp=NULL); 40 40 41 ideal kStdShift(ideal F, ideal Q, tHomog h,intvec ** w, intvec *hilb,int syzComp,42 int newIdeal, intvec *vw);41 ideal kStdShift(ideal F, ideal Q, tHomog h,intvec ** mw, intvec *hilb=NULL, 42 int syzComp=0, int newIdeal=0, intvec *vw=NULL, BOOLEAN rightGB=FALSE); 43 43 44 44 /* the following global data are defined in kutil.cc */ -
kernel/GBEngine/kstd2.cc
r15fbfe0 rb95a5f 4456 4456 4457 4457 4458 ideal freegb(ideal I)4458 ideal freegb(ideal F) 4459 4459 { 4460 4460 assume(rIsLPRing(currRing)); 4461 assume(idIsInV(I)); 4462 ideal RS = kStdShift(I,NULL, testHomog, NULL,NULL,0,0,NULL); 4461 assume(idIsInV(F)); 4462 ideal RS = kStdShift(F, NULL, testHomog, NULL); 4463 idSkipZeroes(RS); // is this even necessary? 4464 assume(idIsInV(RS)); 4465 return(RS); 4466 } 4467 4468 ideal rightgb(ideal F, ideal Q) 4469 { 4470 assume(rIsLPRing(currRing)); 4471 assume(idIsInV(F)); 4472 ideal RS = kStdShift(F, Q, testHomog, NULL, NULL, 0, 0, NULL, TRUE); 4463 4473 idSkipZeroes(RS); // is this even necessary? 4464 4474 assume(idIsInV(RS)); -
kernel/GBEngine/kutil.h
r15fbfe0 rb95a5f 368 368 #ifdef HAVE_SHIFTBBA 369 369 int cv; // in shift bases: counting V criterion 370 /*BOOLEAN*/ char rightGB; 370 371 #endif 371 372 /*BOOLEAN*/ char interpt; … … 864 865 int redFirstShift (LObject* h,kStrategy strat); // ok 865 866 866 ideal freegb(ideal I); 867 ideal freegb(ideal F); 868 ideal rightgb(ideal F, ideal Q); 867 869 868 870 ideal bbaShift(ideal F, ideal Q,intvec *w,intvec *hilb,kStrategy strat);
Note: See TracChangeset
for help on using the changeset viewer.