Changeset 86016d in git for kernel/gr_kstd2.cc


Ignore:
Timestamp:
Feb 1, 2007, 12:51:25 AM (17 years ago)
Author:
Motsak Oleksandr <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
c591ad0eb4ed9f5be86c0c85d2412be2ad6be556
Parents:
1cc61e18c0d6c70b177099c23a52159afb280bb4
Message:
*motsak:
 !+!: factors of SCA, debug print for SCA, "kill squares" in std.
  * : ncRingType, naming, formatting, unified NC setup.


git-svn-id: file:///usr/local/Singular/svn/trunk@9792 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/gr_kstd2.cc

    r1cc61e r86016d  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: gr_kstd2.cc,v 1.10 2007-01-11 10:10:37 Singular Exp $ */
     4/* $Id: gr_kstd2.cc,v 1.11 2007-01-31 23:51:23 motsak Exp $ */
    55/*
    66*  ABSTRACT -  Kernel: noncomm. alg. of Buchberger
     
    1111#ifdef HAVE_PLURAL
    1212
     13#define PLURAL_INTERNAL_DECLARATIONS
    1314
    1415#include "omalloc.h"
     
    750751#endif
    751752
    752 void gr_initBba(ideal F, kStrategy strat)
     753void nc_gr_initBba(ideal F, kStrategy strat)
    753754{
    754755  assume(rIsPluralRing(currRing));
     
    826827  // initHilbCrit(F,Q,&hilb,strat);
    827828  /* in plural we don't need Hilb yet */
    828   gr_initBba(F,strat);
     829  nc_gr_initBba(F,strat);
    829830  initBuchMoraPos(strat);
    830831  /*set enterS, spSpolyShort, reduce, red, initEcart, initEcartPair*/
     
    861862      pLmFree(strat->P.p);
    862863      /* the real one */
    863       if ((currRing->nc->type==nc_lie) && pHasNotCF(strat->P.p1,strat->P.p2)) /* prod crit */
     864      if ((ncRingType(currRing)==nc_lie) && pHasNotCF(strat->P.p1,strat->P.p2)) /* prod crit */
    864865      {
    865866        strat->cp++;
     
    922923              strat->enterS(strat->P,pos,strat,-1);
    923924            }
    924             if (hilb!=NULL) khCheck(Q,w,hilb,hilbeledeg,hilbcount,strat);
     925//            if (hilb!=NULL) khCheck(Q,w,hilb,hilbeledeg,hilbcount,strat);
    925926          }
    926927          if (strat->P.lcm!=NULL) pLmFree(strat->P.lcm);
     
    933934  }
    934935  if (TEST_OPT_DEBUG) messageSets(strat);
     936
    935937  /* complete reduction of the standard basis--------- */
    936   if (TEST_OPT_REDSB) completeReduce(strat);
     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
    937948  /* release temp data-------------------------------- */
    938949  exitBuchMora(strat);
     
    949960  if (TEST_OPT_PROT) messageStat(srmax,lrmax,hilbcount,strat);
    950961  if (Q!=NULL) updateResult(strat->Shdl,Q,strat);
     962
     963
    951964#ifdef PDEBUG
    952965/* for counting number of pairs [enterL] in Plural */
Note: See TracChangeset for help on using the changeset viewer.