Changeset 625767 in git for kernel/tgb.cc


Ignore:
Timestamp:
May 16, 2006, 10:38:39 AM (17 years ago)
Author:
Michael Brickenstein <bricken@…>
Branches:
(u'spielwiese', 'd0474371d8c5d8068ab70bfb42719c97936b18a6')
Children:
b8b01af0e7839f5203fa9378d74dad8732160032
Parents:
45c9af467659b9010e2fc67a7cb8da665abaf595
Message:
* bricken: + syz_comp support


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

Legend:

Unmodified
Added
Removed
  • kernel/tgb.cc

    r45c9af4 r625767  
    55*  Computer Algebra System SINGULAR     *
    66****************************************/
    7 /* $Id: tgb.cc,v 1.87 2006-05-07 06:16:01 bricken Exp $ */
     7/* $Id: tgb.cc,v 1.88 2006-05-16 08:38:39 bricken Exp $ */
    88/*
    99* ABSTRACT: slimgb and F4 implementation
     
    12301230
    12311231#undef ENLARGE
     1232  if (p_GetComp(h,currRing)<=c->syz_comp){
    12321233  for (j=0;j<i;j++){
    12331234
     
    13461347  //}
    13471348  }
    1348 
     1349  }//if syz_comp end
     1350 
     1351 
     1352 
     1353 
    13491354  assume(spc<=i);
    13501355  //now ideal quotient crit
     
    20912096  return 0;
    20922097}
    2093 slimgb_alg::slimgb_alg(ideal I, BOOLEAN F4){
    2094 
    2095 
     2098slimgb_alg::slimgb_alg(ideal I, int syz_comp,BOOLEAN F4){
     2099
     2100  this->syz_comp=syz_comp;
    20962101  r=currRing;
    20972102  nc=rIsPluralRing(r);
     
    23602365  {
    23612366    assume(c->S->m[i]!=NULL);
     2367    if (p_GetComp(c->S->m[i],currRing)>this->syz_comp) continue;
    23622368    for(j=0;j<c->n;j++)
    23632369    {
     
    23932399  delete c->strat;
    23942400}
    2395 ideal t_rep_gb(ring r,ideal arg_I, BOOLEAN F4_mode){
     2401ideal t_rep_gb(ring r,ideal arg_I, int syz_comp, BOOLEAN F4_mode){
    23962402
    23972403  //  Print("QlogSize(0) %d, QlogSize(1) %d,QlogSize(-2) %d, QlogSize(5) %d\n", QlogSize(nlInit(0)),QlogSize(nlInit(1)),QlogSize(nlInit(-2)),QlogSize(nlInit(5)));
    2398 
     2404 
    23992405  if (TEST_OPT_PROT)
    24002406    if (F4_mode)
     
    24172423  //Print("Idelems %i \n----------\n",IDELEMS(I));
    24182424  //slimgb_alg* c=(slimgb_alg*) omalloc(sizeof(slimgb_alg));
    2419   slimgb_alg* c=new slimgb_alg(I, F4_mode);
     2425  //int syz_comp=arg_I->rank;
     2426  slimgb_alg* c=new slimgb_alg(I, syz_comp,F4_mode);
    24202427
    24212428
Note: See TracChangeset for help on using the changeset viewer.