My Project  debian-1:4.1.2-p1+ds-2
Functions
tesths.cc File Reference
#include "kernel/mod2.h"
#include "omalloc/omalloc.h"
#include "misc/options.h"
#include "factory/factory.h"
#include "kernel/oswrapper/feread.h"
#include "Singular/fevoices.h"
#include "kernel/oswrapper/timer.h"
#include "ipshell.h"
#include "cntrlc.h"
#include "links/silink.h"
#include "ipid.h"
#include "sdb.h"
#include "feOpt.h"
#include "distrib.h"
#include "mmalloc.h"
#include "tok.h"
#include "fegetopt.h"
#include "Singular/countedref.h"
#include "Singular/pyobject_setup.h"
#include <unistd.h>
#include <NTL/config.h>

Go to the source code of this file.

Functions

int siInit (char *)
 
int mmInit (void)
 
int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 59 of file tesths.cc.

62 {
63  mmInit();
64  // Don't worry: ifdef OM_NDEBUG, then all these calls are undef'ed
65  omInitRet_2_Info(argv[0]);
67 
68 #ifdef PSINGULAR
69  global_argv0 = argv[0];
70 #endif
71  siInit(argv[0]);
72  init_signals();
73  #ifdef HAVE_NTL
74  #if NTL_MAJOR_VERSION>=10
75  #ifdef NTL_THREAD_BOOST
76  SetNumThreads(feOptValue(FE_OPT_CPUS));
77  #endif
78  #endif
79  #endif
80 
81  // parse command line options
82  int optc, option_index;
83  const char* errormsg;
84  while((optc = fe_getopt_long(argc, argv,
85  SHORT_OPTS_STRING, feOptSpec, &option_index))
86  != EOF)
87  {
88  if (optc == '?' || optc == 0)
89  {
90  fprintf(stderr, "Use '%s --help' for a complete list of options\n", feArgv0);
91  exit(1);
92  }
93 
94  if (optc != LONG_OPTION_RETURN)
95  option_index = feGetOptIndex(optc);
96 
97  assume(option_index >= 0 && option_index < (int) FE_OPT_UNDEF);
98 
99  if (fe_optarg == NULL &&
100  (feOptSpec[option_index].type == feOptBool ||
101  feOptSpec[option_index].has_arg == optional_argument))
102  errormsg = feSetOptValue((feOptIndex) option_index, (int) 1);
103  else
104  errormsg = feSetOptValue((feOptIndex) option_index, fe_optarg);
105 
106  if (errormsg)
107  {
108  if (fe_optarg == NULL)
109  fprintf(stderr, "Error: Option '--%s' %s\n",
110  feOptSpec[option_index].name, errormsg);
111  else
112  fprintf(stderr, "Error: Option '--%s=%s' %s\n",
113  feOptSpec[option_index].name, fe_optarg, errormsg);
114  fprintf(stderr, "Use '%s --help' for a complete list of options\n", feArgv0);
115  exit(1);
116  }
117  if (optc == 'h') exit(0);
118  switch(option_index)
119  {
120  case FE_OPT_DUMP_VERSIONTUPLE:
121  exit(0);
122  break;
123  default: ;
124  }
125  }
126 
127  /* say hello */
128 
129  if (TEST_V_QUIET)
130  {
131  (printf)(
132 " SINGULAR /"
133 #ifndef MAKE_DISTRIBUTION
134 " Development"
135 #endif
136 "\n"
137 " A Computer Algebra System for Polynomial Computations / version %s\n"
138 " 0<\n"
139 " by: W. Decker, G.-M. Greuel, G. Pfister, H. Schoenemann \\ %s\n"
140 "FB Mathematik der Universitaet, D-67653 Kaiserslautern \\ Debian " DEB_PKG_VERSION "\n"
141 , VERSION, VERSION_DATE);
142  if (feOptValue(FE_OPT_NO_SHELL)) WarnS("running in restricted mode:"
143  " shell invocation and links are disallowed");
144  }
145  else
146  {
147  if (feOptValue(FE_OPT_SORT)) On(SW_USE_NTL_SORT);
148  dup2(1,2);
149  /* alternative:
150  * memcpy(stderr,stdout,sizeof(FILE));
151  */
152  }
153 
154 #ifdef SINGULAR_PYOBJECT_SETUP_H
155  pyobject_setup();
156 #endif
157 #ifdef SI_COUNTEDREF_AUTOLOAD
158  countedref_init();
159 #endif
160  errorreported = 0;
161 
162  // -- example for "static" modules ------
163  //load_builtin("huhu.so",FALSE,(SModulFunc_t)huhu_mod_init);
164  //module_help_main("huhu.so","Help for huhu\nhaha\n");
165  //module_help_proc("huhu.so","p","Help for huhu::p\nhaha\n");
166  setjmp(si_start_jmpbuf);
167 
168  // Now, put things on the stack of stuff to do
169  // Last thing to do is to execute given scripts
170  if (fe_optind < argc)
171  {
172  int i = argc - 1;
173  FILE *fd;
174  while (i >= fe_optind)
175  {
176  if ((fd = feFopen(argv[i], "r")) == NULL)
177  {
178  Warn("Can not open %s", argv[i]);
179  }
180  else
181  {
182  fclose(fd);
183  newFile(argv[i]);
184  }
185  i--;
186  }
187  }
188  else
189  {
191  }
192 
193  // before scripts, we execute -c, if it was given
194  if (feOptValue(FE_OPT_EXECUTE) != NULL)
195  newBuffer(omStrDup((char*) feOptValue(FE_OPT_EXECUTE)), BT_execute);
196 
197  // first thing, however, is to load .singularrc from Singularpath
198  // and cwd/$HOME (in that order).
199  if (! feOptValue(FE_OPT_NO_RC))
200  {
201  char buf[MAXPATHLEN];
202  FILE * rc = feFopen("." DIR_SEPP ".singularrc", "r", buf);
203  if (rc == NULL) rc = feFopen("~" DIR_SEPP ".singularrc", "r", buf);
204  if (rc == NULL) rc = feFopen(".singularrc", "r", buf);
205 
206  if (rc != NULL)
207  {
208  if (BVERBOSE(V_LOAD_LIB))
209  Print("// ** executing %s\n", buf);
210  fclose(rc);
211  newFile(buf);
212  }
213  }
214 
215  /* start shell */
217  {
219  char *linkname=(char*) feOptValue(FE_OPT_LINK);
220  if((linkname!=NULL)&&(strcmp(linkname,"ssi")==0))
221  {
222  return ssiBatch((char*) feOptValue(FE_OPT_MPHOST),(char*) feOptValue(FE_OPT_MPPORT));
223  //Print("batch: p:%s, h:%s\n",(char*) feOptValue(FE_OPT_MPPORT),(char*) feOptValue(FE_OPT_MPHOST));
224  //exit(0);
225  }
226  else
227  {
228  Print("** missing arguments: -b requires --link/--MPhost/--MPport\n");
229  return 1;
230  }
231  }
232  setjmp(si_start_jmpbuf);
233  yyparse();
234  m2_end(0);
235  return 0;
236 }

◆ mmInit()

int mmInit ( void  )

Definition at line 43 of file tesths.cc.

44 {
45 #ifndef X_OMALLOC
46 #if defined(OMALLOC_USES_MALLOC)
47  /* in mmstd.c, for some architectures freeSize() unconditionally uses the *system* free() */
48  /* sage ticket 5344: http://trac.sagemath.org/sage_trac/ticket/5344 */
49  /* do not rely on the default in Singular as libsingular may be different */
50  mp_set_memory_functions(omMallocFunc,omReallocSizeFunc,omFreeSizeFunc);
51 #else
52  mp_set_memory_functions(malloc,reallocSize,freeSize);
53 #endif
54 #endif
55  return 1;
56 }

◆ siInit()

int siInit ( char *  )

Definition at line 1316 of file misc_ip.cc.

1317 {
1318 // memory initialization: -----------------------------------------------
1319  om_Opts.OutOfMemoryFunc = omSingOutOfMemoryFunc;
1320 #ifndef OM_NDEBUG
1321 #ifndef __OPTIMIZE__
1322  om_Opts.ErrorHook = dErrorBreak;
1323 #else
1324  om_Opts.Keep = 0; /* !OM_NDEBUG, __OPTIMIZE__*/
1325 #endif
1326 #else
1327  om_Opts.Keep = 0; /* OM_NDEBUG */
1328 #endif
1329  omInitInfo();
1330 
1331 // options ---------------------------------------------------------------
1332  si_opt_1=0;
1333 // interpreter tables etc.: -----------------------------------------------
1334  memset(&sLastPrinted,0,sizeof(sleftv));
1336 
1337  extern int iiInitArithmetic(); iiInitArithmetic(); // iparith.cc
1338 
1339  basePack=(package)omAlloc0(sizeof(*basePack));
1341  idhdl h;
1342  h=enterid("Top", 0, PACKAGE_CMD, &IDROOT, FALSE);
1343  IDPACKAGE(h)=basePack;
1344  IDPACKAGE(h)->language = LANG_TOP;
1345  currPackHdl=h;
1346  basePackHdl=h;
1347 
1348  coeffs_BIGINT = nInitChar(n_Q,(void*)1);
1349 
1350 #if 1
1351  // def HAVE_POLYEXTENSIONS
1352  if(TRUE)
1353  {
1354  n_coeffType type;
1355  #ifdef SINGULAR_4_2
1356  type = nRegister(n_polyExt, n2pInitChar);
1357  assume(type == n_polyExt);
1358  #endif
1359 
1360  type = nRegister(n_algExt, naInitChar);
1361  assume(type == n_algExt);
1362 
1363  type = nRegister(n_transExt, ntInitChar);
1364  assume(type == n_transExt);
1365 
1366  (void)type;
1367  }
1368 #endif
1369 
1370 // random generator: -----------------------------------------------
1371  int t=initTimer();
1372  if (t==0) t=1;
1373  initRTimer();
1374  siSeed=t;
1375  factoryseed(t);
1376  siRandomStart=t;
1377  feOptSpec[FE_OPT_RANDOM].value = (void*) ((long)siRandomStart);
1378 
1379 // ressource table: ----------------------------------------------------
1380  // Don't worry: ifdef OM_NDEBUG, then all these calls are undef'ed
1381  // hack such that all shared' libs in the bindir are loaded correctly
1383 
1384 // singular links: --------------------------------------------------
1385  slStandardInit();
1386  myynest=0;
1387 // how many processes ? -----------------------------------------------------
1388  int cpus=2;
1389  int cpu_n;
1390  #ifdef _SC_NPROCESSORS_ONLN
1391  if ((cpu_n=sysconf(_SC_NPROCESSORS_ONLN))>cpus) cpus=cpu_n;
1392  #elif defined(_SC_NPROCESSORS_CONF)
1393  if ((cpu_n=sysconf(_SC_NPROCESSORS_CONF))>cpus) cpus=cpu_n;
1394  #endif
1395  feSetOptValue(FE_OPT_CPUS, cpus);
1396 // how many threads ? -----------------------------------------------------
1397  feSetOptValue(FE_OPT_THREADS, cpus);
1398 
1399 // default coeffs
1400  {
1401  idhdl h;
1402  h=enterid("QQ",0/*level*/, CRING_CMD,&(basePack->idroot),FALSE /*init*/,FALSE /*search*/);
1403  IDDATA(h)=(char*)nInitChar(n_Q,NULL);
1404  h=enterid("ZZ",0/*level*/, CRING_CMD,&(basePack->idroot),FALSE /*init*/,FALSE /*search*/);
1405  IDDATA(h)=(char*)nInitChar(n_Z,NULL);
1406  nRegisterCfByName(nrnInitCfByName,n_Zn); // and n_Znm
1407  iiAddCproc("kernel","crossprod",FALSE,iiCrossProd);
1408  iiAddCproc("kernel","Float",FALSE,iiFloat);
1409  //h=enterid("RR",0/*level*/, CRING_CMD,&(basePack->idroot),FALSE /*init*/,FALSE /*search*/);
1410  //IDDATA(h)=(char*)nInitChar(n_R,NULL);
1411  //h=enterid("CC",0/*level*/, CRING_CMD,&(basePack->idroot),FALSE /*init*/,FALSE /*search*/);
1412  //IDDATA(h)=(char*)nInitChar(n_long_C,NULL);
1413  n_coeffType t;
1414 #ifdef SINGULAR_4_2
1415  t=nRegister(n_unknown,n_AEInitChar);
1416  if (t!=n_unknown)
1417  {
1418  h=enterid("AE",0/*level*/, CRING_CMD,&(basePack->idroot),FALSE /*init*/,FALSE /*search*/);
1419  IDDATA(h)=(char*)nInitChar(t,NULL);
1420  }
1421  t=nRegister(n_unknown,n_QAEInitChar);
1422  if (t!=n_unknown)
1423  {
1424  h=enterid("QAE",0/*level*/, CRING_CMD,&(basePack->idroot),FALSE /*init*/,FALSE /*search*/);
1425  IDDATA(h)=(char*)nInitChar(t,NULL);
1426  }
1427  n_pAE=nRegister(n_unknown,n_pAEInitChar);
1428  if (n_pAE!=n_unknown)
1429  {
1430  iiAddCproc("kernel","pAE",FALSE,ii_pAE_init);
1431  }
1432 #endif
1433  #ifdef HAVE_FLINT
1435  if (n_FlintQ!=n_unknown)
1436  {
1437  iiAddCproc("kernel","flintQ",FALSE,ii_FlintQ_init);
1439  }
1441  if (n_FlintZn!=n_unknown)
1442  {
1443  iiAddCproc("kernel","flintZn",FALSE,ii_FlintZn_init);
1445  }
1446  #endif
1447  }
1448 // setting routines for PLURAL QRINGS:
1449 // allowing to use libpolys without libSingular(kStd)
1450 #ifdef HAVE_PLURAL
1451  nc_NF=k_NF;
1457 #endif
1458 // loading standard.lib -----------------------------------------------
1459  if (! feOptValue(FE_OPT_NO_STDLIB))
1460  {
1461  BITSET save1,save2;
1462  SI_SAVE_OPT(save1,save2);
1463  si_opt_2 &= ~Sy_bit(V_LOAD_LIB);
1464  iiLibCmd(omStrDup("standard.lib"), TRUE,TRUE,TRUE);
1465  SI_RESTORE_OPT(save1,save2);
1466  }
1467  errorreported = 0;
1468 }
FALSE
#define FALSE
Definition: auxiliary.h:96
sca_gr_bba
EXTERN_VAR BBA_Proc sca_gr_bba
Definition: gb_hack.h:10
fe_fgets_dummy
char * fe_fgets_dummy(const char *, char *, int)
Definition: feread.cc:451
SHORT_OPTS_STRING
const char SHORT_OPTS_STRING[]
Definition: feOpt.cc:25
feOptBool
Definition: fegetopt.h:77
feInitResources
void feInitResources(const char *argv0)
Definition: feResource.cc:167
n_Zn
only used if HAVE_RINGS is defined
Definition: coeffs.h:44
nrnInitCfByName
coeffs nrnInitCfByName(char *s, n_coeffType n)
Definition: rmodulon.cc:56
feFopen
FILE * feFopen(const char *path, const char *mode, char *where, short useWerror, short path_only)
Definition: feFopen.cc:46
omInitInfo
#define omInitInfo()
Definition: xalloc.h:266
CRING_CMD
Definition: tok.h:55
si_start_jmpbuf
VAR jmp_buf si_start_jmpbuf
Definition: cntrlc.cc:95
omInitGetBackTrace
#define omInitGetBackTrace()
Definition: omGetBackTrace.h:13
dErrorBreak
void dErrorBreak()
Definition: dError.cc:137
iiInitArithmetic
int iiInitArithmetic()
initialisation of arithmetic structured data
Definition: iparith.cc:9222
nRegisterCfByName
void nRegisterCfByName(cfInitCfByNameProc p, n_coeffType n)
Definition: numbers.cc:579
VERSION
#define VERSION
Definition: mod2.h:17
LANG_TOP
Definition: subexpr.h:22
BT_execute
Definition: fevoices.h:23
singular_in_batchmode
VAR BOOLEAN singular_in_batchmode
Definition: cntrlc.cc:65
naInitChar
BOOLEAN naInitChar(coeffs cf, void *infoStruct)
Initialize the coeffs object.
Definition: algext.cc:1397
enterid
idhdl enterid(const char *s, int lev, int t, idhdl *root, BOOLEAN init, BOOLEAN search)
Definition: ipid.cc:264
si_opt_1
VAR unsigned si_opt_1
Definition: options.c:5
feOptIndex
feOptIndex
Definition: feOptGen.h:14
h
STATIC_VAR Poly * h
Definition: janet.cc:971
sca_mora
EXTERN_VAR BBA_Proc sca_mora
Definition: gb_hack.h:10
BITSET
#define BITSET
Definition: structs.h:19
feGetOptIndex
feOptIndex feGetOptIndex(const char *name)
Definition: feOpt.cc:100
NONE
#define NONE
Definition: tok.h:219
omFreeSizeFunc
void omFreeSizeFunc(void *addr, size_t size)
freeSize
#define freeSize
Definition: omAllocFunc.c:14
IDDATA
#define IDDATA(a)
Definition: ipid.h:120
pyobject_setup
void pyobject_setup()
initialize blackbox support for pyobject; functionilty os autoloaded on demand
Definition: pyobject_setup.cc:39
omMallocFunc
void * omMallocFunc(size_t size)
LONG_OPTION_RETURN
#define LONG_OPTION_RETURN
Definition: feOptTab.h:4
MAKE_DISTRIBUTION
#define MAKE_DISTRIBUTION
Definition: distrib.h:1
gnc_gr_mora
EXTERN_VAR BBA_Proc gnc_gr_mora
Definition: gb_hack.h:10
omStrDup
#define omStrDup(s)
Definition: omAllocDecl.h:261
fe_optarg
VAR char * fe_optarg
Definition: fegetopt.c:95
feSetOptValue
const char * feSetOptValue(feOptIndex opt, char *optarg)
Definition: feOpt.cc:150
V_LOAD_LIB
#define V_LOAD_LIB
Definition: options.h:45
nInitChar
coeffs nInitChar(n_coeffType t, void *parameter)
one-time initialisations for new coeffs in case of an error return NULL
Definition: numbers.cc:349
n_Q
rational (GMP) numbers
Definition: coeffs.h:30
fe_optind
VAR int fe_optind
Definition: fegetopt.c:110
fe_fgets_stdin
char *(* fe_fgets_stdin)(const char *pr, char *s, int size)
Definition: feread.cc:34
sleftv
Class used for (list of) interpreter objects.
Definition: subexpr.h:81
siRandomStart
VAR int siRandomStart
Definition: cntrlc.cc:96
m2_end
void m2_end(int i)
Definition: misc_ip.cc:1096
currPack
VAR package currPack
Definition: ipid.cc:56
flintQ_InitChar
BOOLEAN flintQ_InitChar(coeffs cf, void *infoStruct)
Definition: flintcf_Q.cc:561
factoryseed
void factoryseed(int s)
random seed initializer
Definition: cf_random.cc:176
basePackHdl
VAR idhdl basePackHdl
Definition: ipid.cc:55
n_coeffType
n_coeffType
Definition: coeffs.h:26
iiAddCproc
int iiAddCproc(const char *libname, const char *procname, BOOLEAN pstatic, BOOLEAN(*func)(leftv res, leftv v))
Definition: iplib.cc:1005
iiCrossProd
static BOOLEAN iiCrossProd(leftv res, leftv args)
Definition: misc_ip.cc:1282
nRegister
n_coeffType nRegister(n_coeffType n, cfInitCharProc p)
Definition: numbers.cc:538
k_sca_gr_bba
ideal k_sca_gr_bba(const ideal F, const ideal Q, const intvec *, const intvec *, kStrategy strat, const ring _currRing)
Modified Plural's Buchberger's algorithmus.
Definition: sca.cc:95
SW_USE_NTL_SORT
static const int SW_USE_NTL_SORT
set to 1 to sort factors in a factorization
Definition: cf_defs.h:37
initTimer
int initTimer()
Definition: timer.cc:66
iiFloat
static BOOLEAN iiFloat(leftv res, leftv pnn)
Definition: misc_ip.cc:1253
currPackHdl
VAR idhdl currPackHdl
Definition: ipid.cc:54
n_polyExt
used to represent polys as coeffcients
Definition: coeffs.h:34
TRUE
#define TRUE
Definition: auxiliary.h:100
i
int i
Definition: cfEzgcd.cc:125
Sy_bit
#define Sy_bit(x)
Definition: options.h:30
buf
int status int void * buf
Definition: si_signals.h:58
DIR_SEPP
#define DIR_SEPP
Definition: feResource.h:7
n_FlintZn
STATIC_VAR n_coeffType n_FlintZn
Definition: misc_ip.cc:1222
omSingOutOfMemoryFunc
void omSingOutOfMemoryFunc()
Definition: misc_ip.cc:1194
siSeed
VAR int siSeed
Definition: sirandom.c:30
malloc
void * malloc(size_t size)
Definition: omalloc.c:91
k_NF
poly k_NF(ideal F, ideal Q, poly p, int syzComp, int lazyReduce, const ring _currRing)
NOTE: this is just a wrapper which sets currRing for the actual kNF call.
Definition: kstd1.cc:3034
k_sca_bba
ideal k_sca_bba(const ideal F, const ideal Q, const intvec *, const intvec *, kStrategy strat, const ring _currRing)
Modified modern Sinuglar Buchberger's algorithm.
Definition: sca.cc:368
IDROOT
#define IDROOT
Definition: ipid.h:17
fe_getopt_long
int fe_getopt_long(int argc, char *const *argv, const char *options, const struct fe_option *long_options, int *opt_index)
Definition: fegetopt.c:665
omReallocSizeFunc
void * omReallocSizeFunc(void *old_addr, size_t old_size, size_t new_size)
ii_FlintZn_init
static BOOLEAN ii_FlintZn_init(leftv res, leftv a)
Definition: misc_ip.cc:1224
SI_RESTORE_OPT
#define SI_RESTORE_OPT(A, B)
Definition: options.h:22
newFile
BOOLEAN newFile(char *fname)
Definition: fevoices.cc:117
n_Z
only used if HAVE_RINGS is defined
Definition: coeffs.h:43
n_FlintQ
STATIC_VAR n_coeffType n_FlintQ
Definition: misc_ip.cc:1223
optional_argument
#define optional_argument
Definition: fegetopt.h:101
flintZn_InitChar
BOOLEAN flintZn_InitChar(coeffs cf, void *infoStruct)
Definition: flintcf_Zn.cc:487
flintQInitCfByName
coeffs flintQInitCfByName(char *s, n_coeffType n)
Definition: flintcf_Q.cc:533
init_signals
void init_signals()
init signal handlers and error handling for libraries: NTL, factory
Definition: cntrlc.cc:559
feInitStdin
Voice * feInitStdin(Voice *pp)
Definition: fevoices.cc:653
n_transExt
used for all transcendental extensions, i.e., the top-most extension in an extension tower is transce...
Definition: coeffs.h:38
ntInitChar
BOOLEAN ntInitChar(coeffs cf, void *infoStruct)
Initialize the coeffs object.
Definition: transext.cc:2511
siInit
int siInit(char *)
Definition: misc_ip.cc:1316
reallocSize
#define reallocSize
Definition: omAllocFunc.c:16
idrec
Definition: idrec.h:33
feArgv0
VAR char * feArgv0
Definition: feResource.cc:19
IDPACKAGE
#define IDPACKAGE(a)
Definition: ipid.h:133
BVERBOSE
#define BVERBOSE(a)
Definition: options.h:33
Print
#define Print
Definition: emacs.cc:79
om_Opts
omOpts_t om_Opts
Definition: omOpts.c:12
FE_OPT_UNDEF
Definition: feOptGen.h:14
k_sca_mora
ideal k_sca_mora(const ideal F, const ideal Q, const intvec *, const intvec *, kStrategy strat, const ring _currRing)
Modified modern Sinuglar Mora's algorithm.
Definition: sca.cc:885
PACKAGE_CMD
Definition: tok.h:148
myynest
VAR int myynest
Definition: febase.cc:40
name
char name(const Variable &v)
Definition: factory.h:180
yyparse
int yyparse(void)
Definition: grammar.cc:2111
k_gnc_gr_mora
ideal k_gnc_gr_mora(const ideal F, const ideal Q, const intvec *, const intvec *, kStrategy strat, const ring _currRing)
Definition: gr_kstd2.cc:1289
basePack
VAR package basePack
Definition: ipid.cc:57
WarnS
#define WarnS
Definition: emacs.cc:77
sleftv::rtyp
int rtyp
Definition: subexpr.h:90
assume
#define assume(x)
Definition: mod2.h:384
NULL
#define NULL
Definition: omList.c:11
coeffs_BIGINT
VAR coeffs coeffs_BIGINT
Definition: ipid.cc:49
nc_NF
EXTERN_VAR NF_Proc nc_NF
Definition: gb_hack.h:9
MAXPATHLEN
#define MAXPATHLEN
Definition: omRet2Info.c:21
fe_option::value
void * value
Definition: fegetopt.h:93
ii_FlintQ_init
static BOOLEAN ii_FlintQ_init(leftv res, leftv a)
Definition: misc_ip.cc:1238
errorreported
VAR short errorreported
Definition: feFopen.cc:23
feOptSpec
EXTERN_VAR struct fe_option feOptSpec[]
Definition: feOpt.h:16
k_gnc_gr_bba
ideal k_gnc_gr_bba(const ideal F, const ideal Q, const intvec *, const intvec *, kStrategy strat, const ring _currRing)
Definition: gr_kstd2.cc:1030
Warn
#define Warn
Definition: emacs.cc:76
initRTimer
void initRTimer()
Definition: timer.cc:155
SI_SAVE_OPT
#define SI_SAVE_OPT(A, B)
Definition: options.h:19
countedref_init
void countedref_init()
Definition: countedref.h:458
mmInit
int mmInit(void)
Definition: tesths.cc:43
currentVoice
VAR Voice * currentVoice
Definition: fevoices.cc:45
feOptValue
static void * feOptValue(feOptIndex opt)
Definition: feOpt.h:39
omInitRet_2_Info
#define omInitRet_2_Info(argv0)
Definition: xalloc.h:316
sca_bba
EXTERN_VAR BBA_Proc sca_bba
Definition: gb_hack.h:10
fd
int status int fd
Definition: si_signals.h:58
iiLibCmd
BOOLEAN iiLibCmd(char *newlib, BOOLEAN autoexport, BOOLEAN tellerror, BOOLEAN force)
Definition: iplib.cc:826
sLastPrinted
INST_VAR sleftv sLastPrinted
Definition: subexpr.cc:45
newBuffer
void newBuffer(char *s, feBufferTypes t, procinfo *pi, int lineno)
Definition: fevoices.cc:154
n_unknown
Definition: coeffs.h:28
n2pInitChar
BOOLEAN n2pInitChar(coeffs cf, void *infoStruct)
Definition: algext.cc:1680
omAlloc0
#define omAlloc0(size)
Definition: omAllocDecl.h:209
On
void On(int sw)
switches
Definition: canonicalform.cc:1898
TEST_V_QUIET
#define TEST_V_QUIET
Definition: options.h:129
package
ip_package * package
Definition: structs.h:47
si_opt_2
VAR unsigned si_opt_2
Definition: options.c:6
gnc_gr_bba
EXTERN_VAR BBA_Proc gnc_gr_bba
Definition: gb_hack.h:10
flintZnInitCfByName
coeffs flintZnInitCfByName(char *s, n_coeffType n)
Definition: flintcf_Zn.cc:433
n_algExt
used for all algebraic extensions, i.e., the top-most extension in an extension tower is algebraic
Definition: coeffs.h:35