Changeset 5c39a9 in git


Ignore:
Timestamp:
Nov 22, 2010, 4:30:28 PM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b52fc4b2495505785981d640dcf7eb3e456778ef')
Children:
949e57ce98be32aa204cfe96c543f2bde13278a6
Parents:
bd911c0f0e71a503697bb7fe7b760df56c76182f
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2010-11-22 16:30:28+01:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:55:41+01:00
Message:
pSetGlobals -> p_SetGlobals
Location:
polys
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • polys/monomials/p_polys.cc

    rbd911c r5c39a9  
    28982898  }
    28992899}
     2900/* -------------------------------------------------------- */
     2901/*2
     2902* change all global variables to fit the description of the new ring
     2903*/
     2904
     2905void p_SetGlobals(const ring r, BOOLEAN complete)
     2906{
     2907  int i;
     2908  if (r->ppNoether!=NULL) p_Delete(&ppNoether,r);
     2909
     2910  if (complete)
     2911  {
     2912    test &= ~ TEST_RINGDEP_OPTS;
     2913    test |= r->options;
     2914  }
     2915}
     2916
    29002917/***************************************************************
    29012918 *
  • polys/monomials/p_polys.h

    rbd911c r5c39a9  
    18021802void      p_DeleteComp(poly * p,int k, const ring r);
    18031803
     1804/*-------------ring management:----------------------*/
     1805void p_SetGlobals(const ring r, BOOLEAN complete = TRUE);
     1806
    18041807#endif // P_POLYS_H
    18051808
  • polys/polys.cc

    rbd911c r5c39a9  
    4343poly      ppNoether = NULL;
    4444
    45 /* -------------------------------------------------------- */
    46 /*2
    47 * change all global variables to fit the description of the new ring
    48 */
    49 
    50 
    51 void pSetGlobals(const ring r, BOOLEAN complete)
    52 {
    53   if (ppNoether!=NULL) pDelete(&ppNoether);
    54   //pOrdSgn = r->OrdSgn;
    55   //pFDeg=r->pFDeg;
    56   //pLDeg=r->pLDeg;
    57   //pLexOrder=r->LexOrder;
    58 
    59   if (complete)
    60   {
    61     test &= ~ TEST_RINGDEP_OPTS;
    62     test |= r->options;
    63   }
    64 }
    65 
    6645// resets the pFDeg and pLDeg: if pLDeg is not given, it is
    6746// set to currRing->pLDegOrig, i.e. to the respective LDegProc which
  • polys/polys.h

    rbd911c r5c39a9  
    6666// like pLmDelete, returns pNext(p)
    6767#define pLmDeleteAndNext(p) p_LmDeleteAndNext(p, currRing)
    68 // used by iparith.cc (pHead as proc)
    69 extern poly pHeadProc(poly p);
    7068
    7169/***************************************************************
     
    8179#define pExpVectorSum(pr, p1, p2)   p_ExpVectorSum(pr, p1, p2, currRing)
    8280#define pExpVectorDiff(pr, p1, p2)  p_ExpVectorDiff(pr, p1, p2, currRing)
    83 #define pExpVectorEqual(p1, p2)     p_ExpVectorEqual(p1, p2, currRing)
    8481
    8582// Gets a copy of (resp. set) the exponent vector, where e is assumed
     
    10198  _p_LmCmpAction(p,q,currRing, actionE, actionG,actionS)
    10299
    103 #define pLmEqual(p1, p2)     pExpVectorEqual(p1, p2)
     100#define pLmEqual(p1, p2)     p_ExpVectorEqual(p1, p2, currRing)
    104101
    105102// pCmp: args may be NULL
     
    234231
    235232/*-------------ring management:----------------------*/
    236 extern void pSetGlobals(const ring r, BOOLEAN complete = TRUE);
    237233
    238234// resets the pFDeg and pLDeg: if pLDeg is not given, it is
Note: See TracChangeset for help on using the changeset viewer.