Changeset 3a1db5 in git for Singular/kstdfac.cc


Ignore:
Timestamp:
Nov 3, 2000, 3:50:24 PM (24 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38dfc5131670d387a89455159ed1e071997eec94')
Children:
e48563d5ed52648088a920c503d1137f101859b6
Parents:
b6b85df0821ee32eafa525d9de58391e73dc09d4
Message:
* as we go along


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

Legend:

Unmodified
Added
Removed
  • Singular/kstdfac.cc

    rb6b85df r3a1db5  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kstdfac.cc,v 1.44 2000-10-23 12:02:14 obachman Exp $ */
     4/* $Id: kstdfac.cc,v 1.45 2000-11-03 14:50:18 obachman Exp $ */
    55/*
    66*  ABSTRACT -  Kernel: factorizing alg. of Buchberger
     
    3737  poly  p;
    3838  TSet t=(TSet)omAlloc0(o->tmax*sizeof(TObject));
     39  TObject** r = (TObject**)omAlloc0(o->tmax*sizeof(TObject*));
    3940
    4041  for (j=0; j<=o->tl; j++)
    4142  {
     43    r[t[j].r] = &t[j];
    4244    t[j] = o->T[j];
    4345    p = o->T[j].p;
     
    6062  }
    6163  n->T=t;
     64  n->R=r;
    6265}
    6366
     
    165168  s->sevS=(unsigned long *)omAlloc(IDELEMS(o->Shdl)*sizeof(unsigned long));
    166169  memcpy(s->sevS,o->sevS,IDELEMS(o->Shdl)*sizeof(unsigned long));
     170  s->S_2_R=(int*)omAlloc(IDELEMS(o->Shdl)*sizeof(int));
     171  memcpy(s->S_2_R,o->S_2_R,IDELEMS(o->Shdl)*sizeof(int));
     172  s->sevT=(unsigned long *)omAlloc(o->tmax*sizeof(unsigned long));
     173  memcpy(s->sevT,o->sevT,IDELEMS(o->Shdl)*sizeof(unsigned long));
    167174  if(o->fromQ!=NULL)
    168175  {
     
    320327      enterpairs(n->P.p,n->sl,n->P.ecart,pos,n);
    321328      n->enterS(n->P,pos,n);
    322       enterTBba(n->P,n->posInT(n->T,n->tl,n->P),n);
     329      enterT(n->P,n);
    323330
    324331      /* construct D */
     
    609616        n->enterS(n->P,pos,n);
    610617        if (n->sl>srmax) srmax = n->sl;
    611         enterTBba(n->P,n->posInT(n->T,n->tl,n->P),n);
     618        enterT(n->P,n);
    612619
    613620        /* construct D */
Note: See TracChangeset for help on using the changeset viewer.