Changeset b085fba in git for kernel/kstd2.cc


Ignore:
Timestamp:
Nov 25, 2013, 9:15:32 AM (9 years ago)
Author:
Christian Eder
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
576f5bba463748c5f51eebf368f6184847882508
Parents:
f59aaade492b9527e048de83ffcb97228e48208b
git-author:
Christian Eder <ederc@mathematik.uni-kl.de>2013-11-25 09:15:32+01:00
git-committer:
Christian Eder <ederc@mathematik.uni-kl.de>2013-12-12 13:51:25+01:00
Message:
adds experimental sba tailred (disabled by default)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/kstd2.cc

    rf59aaa rb085fba  
    5353#endif
    5454
     55#define SBA_TAIL_RED                        0
    5556#define SBA_PRODUCT_CRITERION               0
    5657#define SBA_PRINT_ZERO_REDUCTIONS           1
     
    18181819      // in the ring case we cannot expect LC(f) = 1,
    18191820      // therefore we call pContent instead of pNorm
    1820       /*
     1821#if SBA_TAIL_RED
     1822      pWrite(strat->P.p);
    18211823      if ((TEST_OPT_INTSTRATEGY) || (rField_is_Ring(currRing)))
    18221824      {
     
    18241826        if ((TEST_OPT_REDSB)||(TEST_OPT_REDTAIL))
    18251827        {
    1826           strat->P.p = redtailBba(&(strat->P),pos-1,strat, withT);
     1828          strat->P.p = redtailSba(&(strat->P),pos-1,strat, withT);
    18271829          strat->P.pCleardenom();
    18281830        }
     
    18321834        strat->P.pNorm();
    18331835        if ((TEST_OPT_REDSB)||(TEST_OPT_REDTAIL))
    1834           strat->P.p = redtailBba(&(strat->P),pos-1,strat, withT);
    1835       }
    1836       */
     1836          strat->P.p = redtailSba(&(strat->P),pos-1,strat, withT);
     1837      }
     1838      pWrite(strat->P.p);
     1839      printf("-\n");
     1840#endif
    18371841#ifdef KDEBUG
    18381842      if (TEST_OPT_DEBUG){PrintS("new s:");strat->P.wrp();PrintLn();}
     
    19341938      // posInS only depends on the leading term
    19351939      strat->enterS(strat->P, pos, strat, strat->tl);
    1936 //#if 1
    1937 #if DEBUGF50
     1940#if 1
     1941//#if DEBUGF50
    19381942    printf("---------------------------\n");
    19391943    Print(" %d. ELEMENT ADDED TO GCURR:\n",strat->sl+1);
Note: See TracChangeset for help on using the changeset viewer.