Changeset 07b1cf in git


Ignore:
Timestamp:
Feb 1, 2007, 7:53:54 PM (16 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
add114ed9eca28cf67e9f12e3e5a60d07696ce8a
Parents:
2cd0ca7c81f7d71ae3b530712b2d135a4df1802e
Message:
*hannes: OPT_SB_1


git-svn-id: file:///usr/local/Singular/svn/trunk@9800 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/gr_kstd2.cc

    r2cd0ca r07b1cf  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: gr_kstd2.cc,v 1.11 2007-01-31 23:51:23 motsak Exp $ */
     4/* $Id: gr_kstd2.cc,v 1.12 2007-02-01 18:53:54 Singular Exp $ */
    55/*
    66*  ABSTRACT -  Kernel: noncomm. alg. of Buchberger
     
    2020#include "kstd1.h"
    2121#include "khstd.h"
     22#include "kutil.h"
    2223//#include "spolys.h"
    2324//#include "cntrlc.h"
     
    936937
    937938  /* complete reduction of the standard basis--------- */
    938   if (TEST_OPT_REDSB){
    939      completeReduce(strat); // ???
    940 
    941 //    ideal I = strat->Shdl;
    942 //    ideal erg = kInterRed(I,Q);
    943 //    assume(I!=erg);
    944 //    id_Delete(&I, currRing);
    945 //    strat->Shdl = erg;
    946   }
    947 
     939  if (TEST_OPT_SB_1)
     940  {
     941    int k=1;
     942    int j;
     943    while(k<=strat->sl)
     944    {
     945      j=0;
     946      loop
     947      {
     948        if (j>=k) break;
     949        clearS(strat->S[j],strat->sevS[j],&k,&j,strat);
     950        j++;
     951      }
     952      k++;
     953    }
     954  }
     955
     956  if (TEST_OPT_REDSB)
     957     completeReduce(strat);
    948958  /* release temp data-------------------------------- */
    949959  exitBuchMora(strat);
  • kernel/kstd2.cc

    r2cd0ca r07b1cf  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kstd2.cc,v 1.36 2007-01-31 10:11:48 Singular Exp $ */
     4/* $Id: kstd2.cc,v 1.37 2007-02-01 18:53:54 Singular Exp $ */
    55/*
    66*  ABSTRACT -  Kernel: alg. of Buchberger
     
    12661266#endif
    12671267  /* complete reduction of the standard basis--------- */
     1268  if (TEST_OPT_SB_1)
     1269  {
     1270    int k=1;
     1271    int j;
     1272    while(k<=strat->sl)
     1273    {
     1274      j=0;
     1275      loop
     1276      {
     1277        if (j>=k) break;
     1278        clearS(strat->S[j],strat->sevS[j],&k,&j,strat);
     1279        j++;
     1280      }
     1281      k++;
     1282    }
     1283  }
     1284
    12681285  if (TEST_OPT_REDSB) completeReduce(strat);
    12691286  /* release temp data-------------------------------- */
Note: See TracChangeset for help on using the changeset viewer.