Changeset 7ee1907 in git for libpolys/polys/monomials


Ignore:
Timestamp:
Feb 28, 2012, 3:13:36 PM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
d901095118d1ee38940016e9b6c108a54485ac2a
Parents:
e8086733d77deaf0656dc33bc685bcc08f6a96ab
Message:
chg: update to ssi-3
Location:
libpolys/polys/monomials
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/monomials/ring.cc

    re80867 r7ee1907  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id$ */
    5 
    64/*
    75* ABSTRACT - the interpreter related ring operations
     
    108106//}
    109107
    110 ring rDefault(const coeffs cf, int N, char **n,int ord_size, int *ord, int *block0, int *block1)
     108ring rDefault(const coeffs cf, int N, char **n,int ord_size, int *ord, int *block0, int *block1, int** wvhdl)
    111109{
    112110  assume( cf != NULL);
     
    123121  }
    124122  /*weights: entries for 2 blocks: NULL*/
    125   r->wvhdl = (int **)omAlloc0((ord_size+1) * sizeof(int *));
     123  if (wvhdl==NULL)
     124    r->wvhdl = (int **)omAlloc0((ord_size+1) * sizeof(int *));
     125  else
     126    r->wvhdl=wvhdl;
    126127  r->order = ord;
    127128  r->block0 = block0;
     
    134135  return r;
    135136}
    136 ring rDefault(int ch, int N, char **n,int ord_size, int *ord, int *block0, int *block1)
     137ring rDefault(int ch, int N, char **n,int ord_size, int *ord, int *block0, int *block1,int ** wvhdl)
    137138{
    138139  coeffs cf;
     
    140141  else       cf=nInitChar(n_Zp,(void*)(long)ch);
    141142  assume( cf != NULL);
    142   return rDefault(cf,N,n,ord_size,ord,block0,block1);
     143  return rDefault(cf,N,n,ord_size,ord,block0,block1,wvhdl);
    143144}
    144145ring   rDefault(const coeffs cf, int N, char **n)
  • libpolys/polys/monomials/ring.h

    re80867 r7ee1907  
    317317ring   rDefault(int ch, int N, char **n);
    318318ring   rDefault(const coeffs cf, int N, char **n);
    319 ring   rDefault(int ch, int N, char **n,int ord_size, int *ord, int *block0, int *block1);
    320 ring   rDefault(const coeffs cf, int N, char **n,int ord_size, int *ord, int *block0, int *block1);
     319ring   rDefault(int ch, int N, char **n,int ord_size, int *ord, int *block0, int *block1, int **wvhdl=NULL);
     320ring   rDefault(const coeffs cf, int N, char **n,int ord_size, int *ord, int *block0, int *block1, int **wvhdl=NULL);
    321321
    322322// #define rIsRingVar(A) r_IsRingVar(A,currRing)
     
    603603  // the following are only used internally
    604604  ringorder_aa, ///< for idElimination, like a, except pFDeg, pWeigths ignore it
    605   ringorder_rs, ///< ???
     605  ringorder_rs, ///< opposite of ls
    606606  ringorder_IS, ///< Induced (Schreyer) ordering
    607607  ringorder_unspec
Note: See TracChangeset for help on using the changeset viewer.