Changeset ea0d5e in git for kernel


Ignore:
Timestamp:
Sep 7, 2017, 2:00:36 PM (7 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
c0aff389a8820410fa9cc349ee64be071ff24c5a
Parents:
ee5131f3c455046a759fc6ff99e78dc2494a8d8e
Message:
chg: pGetExp -> p_GetExpV
Location:
kernel
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/f5gb.cc

    ree5131 rea0d5e  
    19221922    int* ev = new int[r->N +1];
    19231923    for(i=0;i<IDELEMS(id);i++) {
    1924         pGetExpV(id->m[i],ev);
     1924        p_GetExpV(id->m[i],ev,currRing);
    19251925        //ev2  =   pGetExp(id->m[i],1);
    19261926        pWrite(id->m[i]);
  • kernel/GBEngine/kstd2.cc

    ree5131 rea0d5e  
    30213021          int cmp = pGetComp(strat->P.sig);
    30223022          int* vv = (int*)omAlloc((currRing->N+1)*sizeof(int));
    3023           pGetExpV (strat->P.p,vv);
    3024           pSetExpV (strat->P.sig, vv);
    3025           pSetComp (strat->P.sig,cmp);
     3023          p_GetExpV (strat->P.p,vv,currRing);
     3024          p_SetExpV (strat->P.sig, vv,currRing);
     3025          p_SetComp (strat->P.sig,cmp,currRing);
    30263026
    30273027          strat->P.sevSig = pGetShortExpVector (strat->P.sig);
     
    30723072        int max_cmp = IDELEMS(F);
    30733073        int* vv = (int*)omAlloc((currRing->N+1)*sizeof(int));
    3074         pGetExpV (strat->P.p,vv);
     3074        p_GetExpV (strat->P.p,vv,currRing);
    30753075        LObject Q;
    30763076        int pos;
  • kernel/GBEngine/shiftgb.cc

    ree5131 rea0d5e  
    217217  /* where a nonzero exponent is sitting */
    218218  int *e=(int *)omAlloc0((currRing->N+1)*sizeof(int));
    219   pGetExpV(p,e);
     219  p_GetExpV(p,e,currRing);
    220220  int j,b;
    221221  j = 1;
     
    248248  //int b  = (int)(currRing->N)/lV;
    249249  int *B = (int *)omAlloc0((b+1)*sizeof(int)); /* the num of elements in a block */
    250   pGetExpV(p,e);
     250  p_GetExpV(p,e,currRing);
    251251  int i,j;
    252252  for (j=1; j<=b; j++)
  • kernel/groebner_walk/walkSupport.cc

    ree5131 rea0d5e  
    751751  int N=rVar(currRing);
    752752  int *e=(int*)omAlloc((N+1)*sizeof(int));
    753   pGetExpV(p,e);
     753  p_GetExpV(p,e,currRing);
    754754  intvec* iv=new intvec(N);
    755755  for(int i=N;i>0;i--) { (*iv)[i-1]=e[i];}
     
    774774  int N=rVar(currRing);
    775775  int *e=(int*)omAlloc((N+1)*sizeof(int));
    776   pGetExpV(p,e);
     776  p_GetExpV(p,e,currRing);
    777777  int64vec* iv64=new int64vec(N);
    778778  for(int i=N;i>0;i--) { (*iv64)[i-1]=(int64)e[i];}
  • kernel/numeric/mpr_base.cc

    ree5131 rea0d5e  
    559559  while ( piter )
    560560  {
    561     pGetExpV( piter, vert );
     561    p_GetExpV( piter, vert, currRing );
    562562
    563563    for ( i= 1; i <= num; i++ )
     
    586586  vert= (int *)omAlloc( (dim+1) * sizeof(int) );
    587587
    588   pGetExpV( p, vert );
     588  p_GetExpV( p, vert, currRing );
    589589  for ( i= 1; i <= num; i++ )
    590590  {
     
    799799      if( !inHull( (gls->m)[i], p, m, j ) )
    800800      {
    801         pGetExpV( p, vert );
     801        p_GetExpV( p, vert, currRing );
    802802        Q[i]->addPoint( vert );
    803803        k++;
Note: See TracChangeset for help on using the changeset viewer.