Changeset b95a5f in git for kernel


Ignore:
Timestamp:
Nov 24, 2018, 4:41:55 PM (5 years ago)
Author:
Karim Abou Zeid <karim23697@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'dce4ad324f6e216ae93a99713959b505fb6213d3')
Children:
58316de87753e52bf45851f452b93d4c695c8b7f
Parents:
15fbfe06ffc98afedf8793dac26eb99ca7f9b6d4
Message:
Create entry points for rightGB
Location:
kernel/GBEngine
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kstd1.cc

    r15fbfe0 rb95a5f  
    25682568#ifdef HAVE_SHIFTBBA
    25692569ideal 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)
    25712571{
    25722572  ideal r;
     
    25752575  kStrategy strat=new skStrategy;
    25762576  intvec* temp_w=NULL;
     2577
     2578  if (rightGB) strat->rightGB = TRUE;
    25772579
    25782580  if(!TEST_OPT_RETURN_SB)
  • kernel/GBEngine/kstd1.h

    r15fbfe0 rb95a5f  
    3939          int syzComp=0,int newIdeal=0, intvec *vw=NULL, s_poly_proc_t sp=NULL);
    4040
    41 ideal kStdShift(ideal F, ideal Q, tHomog h,intvec ** w, intvec *hilb,int syzComp,
    42                 int newIdeal, intvec *vw);
     41ideal 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);
    4343
    4444/* the following global data are defined in kutil.cc */
  • kernel/GBEngine/kstd2.cc

    r15fbfe0 rb95a5f  
    44564456
    44574457
    4458 ideal freegb(ideal I)
     4458ideal freegb(ideal F)
    44594459{
    44604460  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
     4468ideal 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);
    44634473  idSkipZeroes(RS); // is this even necessary?
    44644474  assume(idIsInV(RS));
  • kernel/GBEngine/kutil.h

    r15fbfe0 rb95a5f  
    368368  #ifdef HAVE_SHIFTBBA
    369369  int cv; // in shift bases: counting V criterion
     370  /*BOOLEAN*/ char rightGB;
    370371  #endif
    371372  /*BOOLEAN*/ char interpt;
     
    864865int redFirstShift (LObject* h,kStrategy strat); // ok
    865866
    866 ideal freegb(ideal I);
     867ideal freegb(ideal F);
     868ideal rightgb(ideal F, ideal Q);
    867869
    868870ideal bbaShift(ideal F, ideal Q,intvec *w,intvec *hilb,kStrategy strat);
Note: See TracChangeset for help on using the changeset viewer.