My Project  UNKNOWN_GIT_VERSION
Data Structures | Macros | Typedefs | Functions
ipconv.cc File Reference
#include "kernel/mod2.h"
#include "Singular/tok.h"
#include "Singular/ipid.h"
#include "misc/intvec.h"
#include "misc/options.h"
#include "omalloc/omalloc.h"
#include "kernel/polys.h"
#include "kernel/ideals.h"
#include "Singular/subexpr.h"
#include "coeffs/numbers.h"
#include "coeffs/coeffs.h"
#include "coeffs/bigintmat.h"
#include "polys/matpol.h"
#include "Singular/links/silink.h"
#include "kernel/GBEngine/syz.h"
#include "Singular/attrib.h"
#include "polys/monomials/ring.h"
#include "Singular/ipshell.h"
#include "Singular/number2.h"
#include "Singular/ipconv.h"
#include "Singular/table.h"

Go to the source code of this file.

Data Structures

struct  sConvertTypes
 

Macros

#define IPCONV
 
#define D(A)   A
 
#define NULL_VAL   NULL
 

Typedefs

typedef void *(* iiConvertProc) (void *data)
 
typedef void(* iiConvertProcL) (leftv out, leftv in)
 

Functions

static void * iiI2P (void *data)
 
static void * iiBI2P (void *data)
 
static void iiBu2P (leftv out, leftv in)
 
static void * iiI2V (void *data)
 
static void * iiBI2V (void *data)
 
static void * iiI2Id (void *data)
 
static void * iiBI2Id (void *data)
 
static void * iiBu2V (void *data)
 
static void * iiP2V (void *data)
 
static void * iiBu2Id (void *data)
 
static void * iiP2Id (void *data)
 
static void * iiV2Ma (void *data)
 
static void * iiN2P (void *data)
 
static void * iiDummy (void *data)
 
static void * iiMo2Ma (void *data)
 
static void * iiMa2Mo (void *data)
 
static void * iiI2Iv (void *data)
 
static void * iiI2N (void *data)
 
static void * iiI2BI (void *data)
 
static void * iiBI2N (void *data)
 
static void * iiIm2Ma (void *data)
 
static void * iiIm2Bim (void *data)
 
static void * iiN2Ma (void *data)
 
static void * iiS2Link (void *data)
 
static void iiR2L_l (leftv out, leftv in)
 
static void iiL2R (leftv out, leftv in)
 
BOOLEAN iiConvert (int inputType, int outputType, int index, leftv input, leftv output, const struct sConvertTypes *dConvertTypes)
 
int iiTestConvert (int inputType, int outputType, const struct sConvertTypes *dConvertTypes)
 

Data Structure Documentation

◆ sConvertTypes

struct sConvertTypes

Definition at line 118 of file gentable.cc.

Data Fields
int i_typ
int o_typ
iiConvertProc p
int p
iiConvertProcL pl
int pl

Macro Definition Documentation

◆ D

#define D (   A)    A

Definition at line 429 of file ipconv.cc.

◆ IPCONV

#define IPCONV

Definition at line 428 of file ipconv.cc.

◆ NULL_VAL

#define NULL_VAL   NULL

Definition at line 430 of file ipconv.cc.

Typedef Documentation

◆ iiConvertProc

typedef void*(* iiConvertProc) (void *data)

Definition at line 33 of file ipconv.cc.

◆ iiConvertProcL

typedef void(* iiConvertProcL) (leftv out, leftv in)

Definition at line 34 of file ipconv.cc.

Function Documentation

◆ iiBI2Id()

static void* iiBI2Id ( void *  data)
static

Definition at line 102 of file ipconv.cc.

103 {
104  ideal I=idInit(1,1);
106  if (nMap==NULL)
107  {
108  Werror("no conversion from bigint to %s", nCoeffName(currRing->cf));
109  return NULL;
110  }
111  number n=nMap((number)data,coeffs_BIGINT,currRing->cf);
112  n_Delete((number *)&data,coeffs_BIGINT);
113  poly p=pNSet(n);
114  I->m[0]=p;
115  return (void *)I;
116 }

◆ iiBI2N()

static void* iiBI2N ( void *  data)
static

Definition at line 242 of file ipconv.cc.

243 {
244  if (currRing==NULL) return NULL;
246  if (nMap==NULL)
247  {
248  Werror("no conversion from bigint to %s", nCoeffName(currRing->cf));
249  return NULL;
250  }
251  number n=nMap((number)data,coeffs_BIGINT,currRing->cf);
252  n_Delete((number *)&data, coeffs_BIGINT);
253  return (void*)n;
254 }

◆ iiBI2P()

static void* iiBI2P ( void *  data)
static

Definition at line 51 of file ipconv.cc.

52 {
54  if (nMap==NULL)
55  {
56  Werror("no conversion from bigint to %s", nCoeffName(currRing->cf));
57  return NULL;
58  }
59  number n=nMap((number)data,coeffs_BIGINT,currRing->cf);
60  n_Delete((number *)&data, coeffs_BIGINT);
61  poly p=p_NSet(n, currRing);
62  return (void *)p;
63 }

◆ iiBI2V()

static void* iiBI2V ( void *  data)
static

Definition at line 80 of file ipconv.cc.

81 {
83  if (nMap==NULL)
84  {
85  Werror("no conversion from bigint to %s", nCoeffName(currRing->cf));
86  return NULL;
87  }
88  number n=nMap((number)data,coeffs_BIGINT,currRing->cf);
89  n_Delete((number *)&data, coeffs_BIGINT);
90  poly p=p_NSet(n, currRing);
91  if (p!=NULL) pSetComp(p,1);
92  return (void *)p;
93 }

◆ iiBu2Id()

static void* iiBu2Id ( void *  data)
static

Definition at line 137 of file ipconv.cc.

138 {
139  ideal I=idInit(1,1);
140 
141  if (data!=NULL)
142  {
143  sBucket_pt b=(sBucket_pt)data;
144  poly p; int l;
145  sBucketDestroyAdd(b,&p,&l);
146  I->m[0]=p;
147  }
148  return (void *)I;
149 }

◆ iiBu2P()

static void iiBu2P ( leftv  out,
leftv  in 
)
static

Definition at line 65 of file ipconv.cc.

66 {
68  poly p; int l;
70  out->data=(void*)p;
71 }

◆ iiBu2V()

static void* iiBu2V ( void *  data)
static

Definition at line 117 of file ipconv.cc.

118 {
119  poly p=NULL;
120  if (data!=NULL)
121  {
122  sBucket_pt b=(sBucket_pt)data;
123  int l;
124  sBucketDestroyAdd(b,&p,&l);
125  if (p!=NULL) pSetCompP(p,1);
126  }
127  return (void *)p;
128 }

◆ iiConvert()

BOOLEAN iiConvert ( int  inputType,
int  outputType,
int  index,
leftv  input,
leftv  output,
const struct sConvertTypes dConvertTypes 
)

Definition at line 436 of file ipconv.cc.

437 {
438  memset(output,0,sizeof(sleftv));
439  if ((inputType==outputType)
440  || (outputType==DEF_CMD)
441  || ((outputType==IDHDL)&&(input->rtyp==IDHDL)))
442  {
443  memcpy(output,input,sizeof(*output));
444  memset(input,0,sizeof(*input));
445  return FALSE;
446  }
447  else if (outputType==ANY_TYPE)
448  {
449  output->rtyp=ANY_TYPE;
450  output->data=(char *)(long)input->Typ();
451  /* the name of the object:*/
452  if (input->e==NULL)
453  {
454  if (input->rtyp==IDHDL)
455  /* preserve name: copy it */
456  output->name=omStrDup(IDID((idhdl)(input->data)));
457  else if (input->name!=NULL)
458  {
459  if (input->rtyp==ALIAS_CMD)
460  output->name=omStrDup(input->name);
461  else
462  {
463  output->name=input->name;
464  input->name=NULL;
465  }
466  }
467  else if ((input->rtyp==POLY_CMD) && (input->name==NULL))
468  {
469  if (input->data!=NULL)
470  {
471  int nr=pIsPurePower((poly)input->data);
472  if (nr!=0)
473  {
474  if (pGetExp((poly)input->data,nr)==1)
475  {
476  output->name=omStrDup(currRing->names[nr-1]);
477  }
478  else
479  {
480  char *tmp=(char *)omAlloc(4);
481  sprintf(tmp,"%c%d",*(currRing->names[nr-1]),
482  (int)pGetExp((poly)input->data,nr));
483  output->name=tmp;
484  }
485  }
486  else if(pIsConstant((poly)input->data))
487  {
488  StringSetS("");
489  number n=(pGetCoeff((poly)input->data));
490  n_Write(n, currRing->cf);
491  (pGetCoeff((poly)input->data))=n; // n_Write may have changed n
492  output->name=StringEndS();
493  }
494  }
495  }
496  else if ((input->rtyp==NUMBER_CMD) && (input->name==NULL))
497  {
498  StringSetS("");
499  number n=(number)input->data;
500  n_Write(n, currRing->cf);
501  input->data=(void*)n; // n_Write may have changed n
502  output->name=StringEndS();
503  }
504  else
505  {
506  /* no need to preserve name: use it */
507  output->name=input->name;
508  input->name=NULL;
509  }
510  }
511  output->next=input->next;
512  input->next=NULL;
513  if (!errorreported) input->CleanUp();
514  return errorreported;
515  }
516  if (index!=0) /* iiTestConvert does not returned 'failure' */
517  {
518  index--;
519 
520  if((dConvertTypes[index].i_typ==inputType)
521  &&(dConvertTypes[index].o_typ==outputType))
522  {
523  if(traceit&TRACE_CONV)
524  {
525  Print("automatic conversion %s -> %s\n",
526  Tok2Cmdname(inputType),Tok2Cmdname(outputType));
527  }
528  if ((currRing==NULL) && (outputType>BEGIN_RING) && (outputType<END_RING))
529  return TRUE;
530  output->rtyp=outputType;
531  if (dConvertTypes[index].p!=NULL)
532  {
533  output->data=dConvertTypes[index].p(input->CopyD());
534  }
535  else
536  {
537  dConvertTypes[index].pl(output,input);
538  }
539  if ((output->data==NULL)
540  && ((outputType!=INT_CMD)
541  &&(outputType!=POLY_CMD)
542  &&(outputType!=VECTOR_CMD)
543  &&(outputType!=NUMBER_CMD)))
544  {
545  return TRUE;
546  }
547  if (errorreported) return TRUE;
548  output->next=input->next;
549  input->next=NULL;
550  if ((input->rtyp!=IDHDL) && (input->attribute!=NULL))
551  {
552  input->attribute->killAll(currRing);
553  input->attribute=NULL;
554  }
555  if (input->e!=NULL)
556  {
557  Subexpr h;
558  while (input->e!=NULL)
559  {
560  h=input->e->next;
561  omFreeBin((ADDRESS)input->e, sSubexpr_bin);
562  input->e=h;
563  }
564  }
565  //input->Init(); // seems that input (rtyp?) is still needed
566  return FALSE;
567  }
568  }
569  return TRUE;
570 }

◆ iiDummy()

static void* iiDummy ( void *  data)
static

Definition at line 177 of file ipconv.cc.

178 {
179  return data;
180 }

◆ iiI2BI()

static void* iiI2BI ( void *  data)
static

Definition at line 207 of file ipconv.cc.

208 {
209  number n=n_Init((int)(long)data, coeffs_BIGINT);
210  return (void *)n;
211 }

◆ iiI2Id()

static void* iiI2Id ( void *  data)
static

Definition at line 95 of file ipconv.cc.

96 {
97  ideal I=idInit(1,1);
98  I->m[0]=pISet((int)(long)data);
99  return (void *)I;
100 }

◆ iiI2Iv()

static void* iiI2Iv ( void *  data)
static

Definition at line 194 of file ipconv.cc.

195 {
196  int s=(int)(long)data;
197  intvec *iv=new intvec(s,s);
198  return (void *)iv;
199 }

◆ iiI2N()

static void* iiI2N ( void *  data)
static

Definition at line 201 of file ipconv.cc.

202 {
203  number n=nInit((int)(long)data);
204  return (void *)n;
205 }

◆ iiI2P()

static void* iiI2P ( void *  data)
static

Definition at line 45 of file ipconv.cc.

46 {
47  poly p=pISet((int)(long)data);
48  return (void *)p;
49 }

◆ iiI2V()

static void* iiI2V ( void *  data)
static

Definition at line 73 of file ipconv.cc.

74 {
75  poly p=pISet((int)(long)data);
76  if (p!=NULL) pSetComp(p,1);
77  return (void *)p;
78 }

◆ iiIm2Bim()

static void* iiIm2Bim ( void *  data)
static

Definition at line 355 of file ipconv.cc.

356 {
357  intvec *iv=(intvec*)data;
358  void *r=(void *)iv2bim(iv,coeffs_BIGINT);
359  delete iv;
360  return r;
361 }

◆ iiIm2Ma()

static void* iiIm2Ma ( void *  data)
static

Definition at line 338 of file ipconv.cc.

339 {
340  int i, j;
341  intvec *iv = (intvec *)data;
342  matrix m = mpNew(iv->rows(), iv->cols());
343 
344  for (i=iv->rows(); i>0; i--)
345  {
346  for (j=iv->cols(); j>0; j--)
347  {
348  MATELEM(m, i, j) = pISet(IMATELEM(*iv, i, j));
349  }
350  }
351  delete iv;
352  return (void *)m;
353 }

◆ iiL2R()

static void iiL2R ( leftv  out,
leftv  in 
)
static

Definition at line 411 of file ipconv.cc.

412 {
413  //int add_row_shift = 0;
414  lists l=(lists)in->Data();
415  intvec *ww=NULL;
416  if (l->nr>=0) ww=(intvec *)atGet(&(l->m[0]),"isHomog",INTVEC_CMD);
417  out->data=(void *)syConvList(l);
418  if (ww!=NULL)
419  {
420  intvec *weights=ivCopy(ww);
421  atSet(out,omStrDup("isHomog"),weights,INTVEC_CMD);
422  }
423 }

◆ iiMa2Mo()

static void* iiMa2Mo ( void *  data)
static

Definition at line 188 of file ipconv.cc.

189 {
190  void *res=id_Matrix2Module((matrix)data,currRing);
191  return res;
192 }

◆ iiMo2Ma()

static void* iiMo2Ma ( void *  data)
static

Definition at line 182 of file ipconv.cc.

183 {
184  void *res=id_Module2Matrix((ideal)data,currRing);
185  return res;
186 }

◆ iiN2Ma()

static void* iiN2Ma ( void *  data)
static

Definition at line 377 of file ipconv.cc.

378 {
379  ideal I=idInit(1,1);
380  if (!nIsZero((number)data))
381  {
382  poly p=pNSet((number)data);
383  I->m[0]=p;
384  }
385  //else
386  //{
387  // nDelete((number *)&data);
388  //}
389  return (void *)I;
390 }

◆ iiN2P()

static void * iiN2P ( void *  data)
static

Definition at line 363 of file ipconv.cc.

364 {
365  poly p=NULL;
366  if (!nIsZero((number)data))
367  {
368  p=pNSet((number)data);
369  }
370  //else
371  //{
372  // nDelete((number *)&data);
373  //}
374  return (void *)p;
375 }

◆ iiP2Id()

static void* iiP2Id ( void *  data)
static

Definition at line 151 of file ipconv.cc.

152 {
153  ideal I=idInit(1,1);
154 
155  if (data!=NULL)
156  {
157  poly p=(poly)data;
158  I->m[0]=p;
159  if (pGetComp(p)!=0) I->rank=pMaxComp(p);
160  }
161  return (void *)I;
162 }

◆ iiP2V()

static void* iiP2V ( void *  data)
static

Definition at line 130 of file ipconv.cc.

131 {
132  poly p=(poly)data;
133  if (p!=NULL) pSetCompP(p,1);
134  return (void *)p;
135 }

◆ iiR2L_l()

static void iiR2L_l ( leftv  out,
leftv  in 
)
static

Definition at line 400 of file ipconv.cc.

401 {
402  int add_row_shift = 0;
403  intvec *weights=(intvec*)atGet(in,"isHomog",INTVEC_CMD);
404  if (weights!=NULL) add_row_shift=weights->min_in();
405 
406  syStrategy tmp=(syStrategy)in->CopyD();
407 
408  out->data=(void *)syConvRes(tmp,TRUE,add_row_shift);
409 }

◆ iiS2Link()

static void* iiS2Link ( void *  data)
static

Definition at line 392 of file ipconv.cc.

393 {
395  slInit(l, (char *) data);
396  omFree((ADDRESS)data);
397  return (void *)l;
398 }

◆ iiTestConvert()

int iiTestConvert ( int  inputType,
int  outputType,
const struct sConvertTypes dConvertTypes 
)

Definition at line 576 of file ipconv.cc.

577 {
578  if ((inputType==outputType)
579  || (outputType==DEF_CMD)
580  || (outputType==IDHDL)
581  || (outputType==ANY_TYPE))
582  {
583  return -1;
584  }
585  if (inputType==UNKNOWN) return 0;
586 
587  if ((currRing==NULL) && (outputType>BEGIN_RING) && (outputType<END_RING))
588  return 0;
589  //if ((currRing==NULL) && (outputType==CNUMBER_CMD))
590  // return 0;
591 
592  // search the list
593  int i=0;
594  while (dConvertTypes[i].i_typ!=0)
595  {
596  if((dConvertTypes[i].i_typ==inputType)
597  &&(dConvertTypes[i].o_typ==outputType))
598  {
599  //Print("test convert %d to %d (%s -> %s):%d\n",inputType,outputType,
600  //Tok2Cmdname(inputType), Tok2Cmdname(outputType),i+1);
601  return i+1;
602  }
603  i++;
604  }
605  //Print("test convert %d to %d (%s -> %s):0, tested:%d\n",inputType,outputType,
606  // Tok2Cmdname(inputType), Tok2Cmdname(outputType),i);
607  return 0;
608 }

◆ iiV2Ma()

static void* iiV2Ma ( void *  data)
static

Definition at line 164 of file ipconv.cc.

165 {
166  matrix m=(matrix)idVec2Ideal((poly)data);
167  int h=MATCOLS(m);
168  MATCOLS(m)=MATROWS(m);
169  MATROWS(m)=h;
170  m->rank=h;
171  pDelete((poly *)&data);
172  return (void *)m;
173 }
FALSE
#define FALSE
Definition: auxiliary.h:94
sConvertTypes::p
int p
Definition: gentable.cc:122
matrix
ip_smatrix * matrix
Definition: matpol.h:31
sleftv::Data
void * Data()
Definition: subexpr.cc:1182
idVec2Ideal
static ideal idVec2Ideal(poly vec)
Definition: ideals.h:171
pIsConstant
#define pIsConstant(p)
like above, except that Comp might be != 0
Definition: polys.h:233
sattr::killAll
void killAll(const ring r)
Definition: attrib.cc:188
ip_smatrix
Definition: matpol.h:14
pGetComp
#define pGetComp(p)
Component.
Definition: polys.h:37
j
int j
Definition: facHensel.cc:105
omFree
#define omFree(addr)
Definition: omAllocDecl.h:261
errorreported
short errorreported
Definition: feFopen.cc:23
id_Matrix2Module
ideal id_Matrix2Module(matrix mat, const ring R)
converts mat to module, destroys mat
Definition: simpleideals.cc:1167
NUMBER_CMD
@ NUMBER_CMD
Definition: grammar.cc:288
MATELEM
#define MATELEM(mat, i, j)
Definition: matpol.h:30
sBucketDestroyAdd
void sBucketDestroyAdd(sBucket_pt bucket, poly *p, int *length)
Definition: sbuckets.h:68
syStrategy
ssyStrategy * syStrategy
Definition: syz.h:35
pGetExp
#define pGetExp(p, i)
Exponent.
Definition: polys.h:41
ADDRESS
void * ADDRESS
Definition: auxiliary.h:133
TRACE_CONV
#define TRACE_CONV
Definition: reporter.h:47
pISet
#define pISet(i)
Definition: polys.h:306
omStrDup
#define omStrDup(s)
Definition: omAllocDecl.h:263
n_Delete
static FORCE_INLINE void n_Delete(number *p, const coeffs r)
delete 'p'
Definition: coeffs.h:455
DEF_CMD
@ DEF_CMD
Definition: tok.h:58
sleftv::attribute
attr attribute
Definition: subexpr.h:89
omAlloc0Bin
#define omAlloc0Bin(bin)
Definition: omAllocDecl.h:206
pDelete
#define pDelete(p_ptr)
Definition: polys.h:181
StringEndS
char * StringEndS()
Definition: reporter.cc:151
sleftv
Class used for (list of) interpreter objects.
Definition: subexpr.h:82
pSetComp
#define pSetComp(p, v)
Definition: polys.h:38
b
CanonicalForm b
Definition: cfModGcd.cc:4044
pSetCompP
#define pSetCompP(a, i)
Definition: polys.h:297
ANY_TYPE
#define ANY_TYPE
Definition: tok.h:30
currRing
ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
Definition: polys.cc:13
BEGIN_RING
@ BEGIN_RING
Definition: grammar.cc:282
sleftv::name
const char * name
Definition: subexpr.h:87
sSubexpr_bin
omBin sSubexpr_bin
Definition: subexpr.cc:46
TRUE
#define TRUE
Definition: auxiliary.h:98
i
int i
Definition: cfEzgcd.cc:125
ivCopy
intvec * ivCopy(const intvec *o)
Definition: intvec.h:133
res
CanonicalForm res
Definition: facAbsFact.cc:64
INT_CMD
@ INT_CMD
Definition: tok.h:96
nMapFunc
number(* nMapFunc)(number a, const coeffs src, const coeffs dst)
maps "a", which lives in src, into dst
Definition: coeffs.h:73
n_Write
static FORCE_INLINE void n_Write(number n, const coeffs r, const BOOLEAN bShortOut=TRUE)
Definition: coeffs.h:591
intvec::min_in
int min_in()
Definition: intvec.h:121
syConvList
syStrategy syConvList(lists li)
Definition: ipshell.cc:3225
id_Module2Matrix
matrix id_Module2Matrix(ideal mod, const ring R)
Definition: simpleideals.cc:1201
h
static Poly * h
Definition: janet.cc:972
sBucket_pt
sBucket * sBucket_pt
Definition: sbuckets.h:16
atSet
void atSet(idhdl root, char *name, void *data, int typ)
Definition: attrib.cc:152
intvec
Definition: intvec.h:17
sleftv::data
void * data
Definition: subexpr.h:88
omAlloc
#define omAlloc(size)
Definition: omAllocDecl.h:210
n_Init
static FORCE_INLINE number n_Init(long i, const coeffs r)
a number representing i in the given coeff field/ring r
Definition: coeffs.h:538
END_RING
@ END_RING
Definition: grammar.cc:310
VECTOR_CMD
@ VECTOR_CMD
Definition: grammar.cc:292
pNSet
#define pNSet(n)
Definition: polys.h:307
pMaxComp
#define pMaxComp(p)
Definition: polys.h:293
sleftv::CleanUp
void CleanUp(ring r=currRing)
Definition: subexpr.cc:354
sleftv::e
Subexpr e
Definition: subexpr.h:105
mpNew
matrix mpNew(int r, int c)
create a r x c zero-matrix
Definition: matpol.cc:37
sBucket
Definition: sbuckets.cc:31
slists
Definition: lists.h:22
UNKNOWN
#define UNKNOWN
Definition: tok.h:220
INTVEC_CMD
@ INTVEC_CMD
Definition: tok.h:101
nIsZero
#define nIsZero(n)
Definition: numbers.h:20
IMATELEM
#define IMATELEM(M, I, J)
Definition: intvec.h:85
coeffs_BIGINT
coeffs coeffs_BIGINT
Definition: ipid.cc:52
idrec
Definition: idrec.h:34
ALIAS_CMD
@ ALIAS_CMD
Definition: tok.h:34
StringSetS
void StringSetS(const char *st)
Definition: reporter.cc:128
Print
#define Print
Definition: emacs.cc:80
sConvertTypes::pl
int pl
Definition: gentable.cc:123
intvec::cols
int cols() const
Definition: intvec.h:95
p_NSet
poly p_NSet(number n, const ring r)
returns the poly representing the number n, destroys n
Definition: p_polys.cc:1435
atGet
void * atGet(idhdl root, const char *name, int t, void *defaultReturnValue)
Definition: attrib.cc:131
Werror
void Werror(const char *fmt,...)
Definition: reporter.cc:189
pIsPurePower
#define pIsPurePower(p)
Definition: polys.h:243
idInit
ideal idInit(int idsize, int rank)
initialise an ideal / module
Definition: simpleideals.cc:37
IDHDL
#define IDHDL
Definition: tok.h:31
sleftv::Typ
int Typ()
Definition: subexpr.cc:1039
m
int m
Definition: cfEzgcd.cc:121
MATCOLS
#define MATCOLS(i)
Definition: matpol.h:29
sleftv::rtyp
int rtyp
Definition: subexpr.h:91
NULL
#define NULL
Definition: omList.c:10
sleftv::CopyD
void * CopyD(int t)
Definition: subexpr.cc:745
nCoeffName
static FORCE_INLINE char * nCoeffName(const coeffs cf)
Definition: coeffs.h:985
lists
slists * lists
Definition: mpr_numeric.h:146
l
int l
Definition: cfEzgcd.cc:93
intvec::rows
int rows() const
Definition: intvec.h:96
traceit
int traceit
Definition: febase.cc:42
dConvertTypes
const struct sConvertTypes dConvertTypes[]
Definition: table.h:1251
p
int p
Definition: cfModGcd.cc:4019
s
const CanonicalForm int s
Definition: facAbsFact.cc:55
nInit
#define nInit(i)
Definition: numbers.h:25
POLY_CMD
@ POLY_CMD
Definition: grammar.cc:289
Tok2Cmdname
const char * Tok2Cmdname(int tok)
Definition: gentable.cc:140
IDID
#define IDID(a)
Definition: ipid.h:117
n_SetMap
static FORCE_INLINE nMapFunc n_SetMap(const coeffs src, const coeffs dst)
set the mapping function pointers for translating numbers from src to dst
Definition: coeffs.h:721
pGetCoeff
static number & pGetCoeff(poly p)
return an alias to the leading coefficient of p assumes that p != NULL NOTE: not copy
Definition: monomials.h:45
syConvRes
lists syConvRes(syStrategy syzstr, BOOLEAN toDel, int add_row_shift)
Definition: ipshell.cc:3153
MATROWS
#define MATROWS(i)
Definition: matpol.h:28
omFreeBin
#define omFreeBin(addr, bin)
Definition: omAllocDecl.h:259
iv2bim
bigintmat * iv2bim(intvec *b, const coeffs C)
Definition: bigintmat.cc:349
index
static int index(p_Length length, p_Ord ord)
Definition: p_Procs_Impl.h:592
sleftv::next
leftv next
Definition: subexpr.h:86
ssyStrategy
Definition: syz.h:37