Changeset 7716842 in git


Ignore:
Timestamp:
Jul 10, 1997, 2:03:43 PM (27 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '82fc009ea2b0098c1a4896c841bb70860976bdfc')
Children:
cfe9bc3caef680bbf6c16db0dc043f8339a9e6c7
Parents:
dfc6b54168b418c60dee34fe1bf8f4b00fe130e4
Message:
* hannes/siebert: change minres for LaScala


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

Legend:

Unmodified
Added
Removed
  • Singular/syz1.cc

    rdfc6b54 r7716842  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: syz1.cc,v 1.11 1997-07-09 15:54:06 Singular Exp $ */
     4/* $Id: syz1.cc,v 1.12 1997-07-10 12:03:43 Singular Exp $ */
    55/*
    66* ABSTRACT: resolutions
     
    22062206                        intvec * toStrip)
    22072207{
    2208   int i,j,tc;
     2208  int i,j,tc,lastin,newin=pNum-1;
    22092209  poly p,pp=pCopy(toMin),q=NULL,tq,pisN;
    22102210  SSet sPairs=syzstr->resPairs[index];
    2211   BOOLEAN nothingToReduce;
    22122211
    22132212  pp = syStripOut(pp,toStrip);
    2214   loop
    2215   {
    2216     nothingToReduce = TRUE;
    2217     for (i=pNum-1;i>=0;i--)
     2213  while (newin>=0)
     2214  {
     2215    lastin = newin;
     2216    while ((newin>=0) && (sPairs[lastin].order==sPairs[newin].order))
     2217      newin--;
     2218//Print("Hier lastin:%d newin:%d\n",lastin,newin);
     2219    for (i=newin+1;i<=lastin;i++)
    22182220    {
    22192221      if (sPairs[i].isNotMinimal!=NULL)
     
    22332235            pGetCoeff(tq) = nNeg(pGetCoeff(tq));
    22342236            q = syAdd(q,syStripOut(syMultT1(syzstr->res[index+1]->m[sPairs[i].syzind],tq),toStrip));
    2235             nothingToReduce = FALSE;
    22362237          } 
    22372238          pIter(p);
     
    22442245      }
    22452246    }
    2246     if (nothingToReduce) break;
    22472247  }
    22482248  return pp;
Note: See TracChangeset for help on using the changeset viewer.