Changeset 625767 in git


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


git-svn-id: file:///usr/local/Singular/svn/trunk@9138 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
kernel
Files:
3 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
  • kernel/tgb.h

    r45c9af4 r625767  
    44*  Computer Algebra System SINGULAR     *
    55****************************************/
    6 /* $Id: tgb.h,v 1.8 2005-10-19 16:10:19 Singular Exp $ */
     6/* $Id: tgb.h,v 1.9 2006-05-16 08:38:39 bricken Exp $ */
    77/*
    88* ABSTRACT: trepgb interface
     
    1919
    2020
    21 ideal t_rep_gb(ring r,ideal arg_I, BOOLEAN F4_mode=FALSE);
     21ideal t_rep_gb(ring r,ideal arg_I, int syz_comp, BOOLEAN F4_mode=FALSE);
    2222#endif
  • kernel/tgb_internal.h

    r45c9af4 r625767  
    55*  Computer Algebra System SINGULAR     *
    66****************************************/
    7 /* $Id: tgb_internal.h,v 1.37 2006-05-07 06:18:00 bricken Exp $ */
     7/* $Id: tgb_internal.h,v 1.38 2006-05-16 08:38:39 bricken Exp $ */
    88/*
    99 * ABSTRACT: tgb internal .h file
     
    9494{
    9595  public:
    96     slimgb_alg(ideal I, BOOLEAN F4);
     96    slimgb_alg(ideal I, int syz_comp,BOOLEAN F4);
    9797    virtual ~slimgb_alg();
    9898  #ifndef HAVE_BOOST
     
    135135  int n;
    136136  //! array_lengths should be greater equal n;
     137  int syz_comp;
    137138  int array_lengths;
    138139  int normal_forms;
Note: See TracChangeset for help on using the changeset viewer.