Changeset 1a20e5 in git for kernel/polys.h


Ignore:
Timestamp:
Sep 8, 2011, 9:04:15 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd25190065115c859833252500a64cfb7b11e3a50')
Children:
7e6bfe4dfd3d23ed105e01efcc0429e77ab42915
Parents:
1450c9e719fe8c5b3cefb712a0bb457fdd4c2776
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-09-08 21:04:15+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:12:36+01:00
Message:
FIX: p[_]?TakeOutComp*
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/polys.h

    r1450c9 r1a20e5  
    307307// component == comp and *p of all other monoms *lq == pLength(*q)
    308308// On return all components pf *q == 0
    309 void pTakeOutComp(poly *p, long comp, poly *q, int *lq);
     309inline void pTakeOutComp(poly *p, long comp, poly *q, int *lq, const ring R = currRing)
     310{
     311  return p_TakeOutComp(p, comp, q, lq, R);
     312}
     313
    310314
    311315// This is something weird -- Don't use it, unless you know what you are doing
    312 poly      pTakeOutComp(poly * p, int k);
     316inline poly      pTakeOutComp(poly * p, int k, const ring R = currRing)
     317{
     318  return p_TakeOutComp(p, k, R);
     319}
     320
    313321/* old spielwiese
    314322#define   pTakeOutComp(p,k,q,lq)    p_TakeOutComp(p,k,q,lq,currRing)
Note: See TracChangeset for help on using the changeset viewer.