Changeset 6b32990 in git for Singular/kstd1.cc


Ignore:
Timestamp:
Dec 12, 2000, 9:44:55 AM (23 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
de7793b9aaa39c2f00b6e30ee4ad5c82915497aa
Parents:
52ea3f939ec0aa2915d2d6a747bab3976eb9bfb7
Message:
* dynamic kernel modules for MP and DBM links
* p_Procs improvements


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

Legend:

Unmodified
Added
Removed
  • Singular/kstd1.cc

    r52ea3f r6b32990  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kstd1.cc,v 1.68 2000-11-28 11:50:52 obachman Exp $ */
     4/* $Id: kstd1.cc,v 1.69 2000-12-12 08:44:45 obachman Exp $ */
    55/*
    66* ABSTRACT:
     
    1010// #define NO_LDEG
    1111
    12 // define if buckets should be use
    13 #define MORA_USE_BUCKETS
     12// define if buckets should be used
     13// #define MORA_USE_BUCKETS
     14
     15// define if tailrings should be used
     16// #define HAVE_TAIL_RING
    1417
    1518#include "mod2.h"
     
    204207                                        strat->T[i].length < li))
    205208            &&
    206             pLmShortDivisibleBy(strat->T[i].p, strat->sevT[i], h->p, ~h->sev))
     209            p_LmShortDivisibleBy(strat->T[i].GetLmTailRing(), strat->sevT[i], h->GetLmTailRing(), ~h->sev, strat->tailRing))
    207210#else
    208211          j = kFindDivisibleByInT(strat->T, strat->sevT, strat->tl, h, i);
     
    475478      if (H.p==NULL) return NULL;
    476479    }
    477     if (pLmShortDivisibleBy(strat->T[j].p, strat->sevT[j], H.p, not_sev))
     480    if (p_LmShortDivisibleBy(strat->T[j].GetLmTailRing(), strat->sevT[j], H.GetLmTailRing(), not_sev, strat->tailRing))
    478481    {
    479482      //if (strat->interpt) test_int_std(strat->kIdeal);
     
    11061109  strat->use_buckets = kMoraUseBucket(strat);
    11071110  /*- compute-------------------------------------------*/
     1111
     1112#ifdef HAVE_TAIL_RING
     1113  kStratInitChangeTailRing(strat);
     1114#endif 
     1115 
    11081116  while (strat->Ll >= 0)
    11091117  {
     
    15221530long kModDeg(poly p, ring r)
    15231531{
    1524   long o=pWDegree(p, r);
     1532  // Hmm obachman: on 1-2, this is pTotalDegree
     1533  // I think that I had changed this to pWDegree sometime in 10/2000
     1534  // However, this breaks eliminate, etc
     1535  // long o=pWDegree(p, r);
     1536  long o=pTotaldegree(p, r);
    15251537  long i=p_GetComp(p, r);
    15261538  if (i==0) return o;
Note: See TracChangeset for help on using the changeset viewer.