My Project  debian-1:4.1.1-p2+ds-4build2
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 61 of file tesths.cc.

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

◆ mmInit()

int mmInit ( void  )

Definition at line 45 of file tesths.cc.

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

◆ siInit()

int siInit ( char *  )

Definition at line 1310 of file misc_ip.cc.

1311 {
1312 // factory default settings: -----------------------------------------------
1313  On(SW_USE_EZGCD);
1315  //On(SW_USE_FF_MOD_GCD);
1316  On(SW_USE_EZGCD_P);
1317  On(SW_USE_QGCD);
1318  Off(SW_USE_NTL_SORT); // may be changed by an command line option
1319 // memory initialization: -----------------------------------------------
1320  om_Opts.OutOfMemoryFunc = omSingOutOfMemoryFunc;
1321 #ifndef OM_NDEBUG
1322 #ifndef __OPTIMIZE__
1323  om_Opts.ErrorHook = dErrorBreak;
1324 #else
1325  om_Opts.Keep = 0; /* !OM_NDEBUG, __OPTIMIZE__*/
1326 #endif
1327 #else
1328  om_Opts.Keep = 0; /* OM_NDEBUG */
1329 #endif
1330  omInitInfo();
1331 
1332 // options ---------------------------------------------------------------
1333  si_opt_1=0;
1334 // interpreter tables etc.: -----------------------------------------------
1335  memset(&sLastPrinted,0,sizeof(sleftv));
1337 
1338  extern int iiInitArithmetic(); iiInitArithmetic(); // iparith.cc
1339 
1340  basePack=(package)omAlloc0(sizeof(*basePack));
1342  idhdl h;
1343  h=enterid("Top", 0, PACKAGE_CMD, &IDROOT, FALSE);
1344  IDPACKAGE(h)=basePack;
1345  IDPACKAGE(h)->language = LANG_TOP;
1346  currPackHdl=h;
1347  basePackHdl=h;
1348 
1349  coeffs_BIGINT = nInitChar(n_Q,(void*)1);
1350 
1351 #if 1
1352  // def HAVE_POLYEXTENSIONS
1353  if(TRUE)
1354  {
1355  n_coeffType type;
1356  #ifdef SINGULAR_4_2
1357  type = nRegister(n_polyExt, n2pInitChar);
1358  assume(type == n_polyExt);
1359  #endif
1360 
1361  type = nRegister(n_algExt, naInitChar);
1362  assume(type == n_algExt);
1363 
1364  type = nRegister(n_transExt, ntInitChar);
1365  assume(type == n_transExt);
1366 
1367  (void)type;
1368  }
1369 #endif
1370 
1371 // random generator: -----------------------------------------------
1372  int t=initTimer();
1373  if (t==0) t=1;
1374  initRTimer();
1375  siSeed=t;
1376  factoryseed(t);
1377  siRandomStart=t;
1378  feOptSpec[FE_OPT_RANDOM].value = (void*) ((long)siRandomStart);
1379 
1380 // ressource table: ----------------------------------------------------
1381  // Don't worry: ifdef OM_NDEBUG, then all these calls are undef'ed
1382  // hack such that all shared' libs in the bindir are loaded correctly
1384 
1385 // singular links: --------------------------------------------------
1386  slStandardInit();
1387  myynest=0;
1388 // how many processes ? -----------------------------------------------------
1389  int cpus=2;
1390  int cpu_n;
1391  #ifdef _SC_NPROCESSORS_ONLN
1392  if ((cpu_n=sysconf(_SC_NPROCESSORS_ONLN))>cpus) cpus=cpu_n;
1393  #elif defined(_SC_NPROCESSORS_CONF)
1394  if ((cpu_n=sysconf(_SC_NPROCESSORS_CONF))>cpus) cpus=cpu_n;
1395  #endif
1396  feSetOptValue(FE_OPT_CPUS, cpus);
1397 // how many threads ? -----------------------------------------------------
1398  feSetOptValue(FE_OPT_THREADS, cpus);
1399 
1400 // default coeffs
1401  {
1402  idhdl h;
1403  h=enterid("QQ",0/*level*/, CRING_CMD,&(basePack->idroot),FALSE /*init*/,FALSE /*search*/);
1404  IDDATA(h)=(char*)nInitChar(n_Q,NULL);
1405  h=enterid("ZZ",0/*level*/, CRING_CMD,&(basePack->idroot),FALSE /*init*/,FALSE /*search*/);
1406  IDDATA(h)=(char*)nInitChar(n_Z,NULL);
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 (t!=n_unknown)
1436  {
1437  h=enterid("flint_poly_Q",0/*level*/, CRING_CMD,&(basePack->idroot),FALSE /*init*/,FALSE /*search*/);
1438  IDDATA(h)=(char*)nInitChar(t,NULL);
1439  }
1441  if (n_FlintZn!=n_unknown)
1442  {
1443  iiAddCproc("kernel","flintZ",FALSE,ii_FlintZn_init);
1444  }
1445  #endif
1446  }
1447 // setting routines for PLURAL QRINGS:
1448 // allowing to use libpolys without libSingular(kStd)
1449 #ifdef HAVE_PLURAL
1450  nc_NF=k_NF;
1456 #endif
1457 // loading standard.lib -----------------------------------------------
1458  if (! feOptValue(FE_OPT_NO_STDLIB))
1459  {
1460  BITSET save1,save2;
1461  SI_SAVE_OPT(save1,save2);
1462  si_opt_2 &= ~Sy_bit(V_LOAD_LIB);
1463  iiLibCmd(omStrDup("standard.lib"), TRUE,TRUE,TRUE);
1464  SI_RESTORE_OPT(save1,save2);
1465  }
1466  errorreported = 0;
1467 }
FALSE
#define FALSE
Definition: auxiliary.h:94
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:26
feOptBool
@ feOptBool
Definition: fegetopt.h:77
feInitResources
void feInitResources(const char *argv0)
Definition: feResource.cc:170
feFopen
FILE * feFopen(const char *path, const char *mode, char *where, short useWerror, short path_only)
Definition: feFopen.cc:47
errorreported
short errorreported
Definition: feFopen.cc:23
CRING_CMD
@ CRING_CMD
Definition: tok.h:56
omInitGetBackTrace
#define omInitGetBackTrace()
Definition: omGetBackTrace.h:14
dErrorBreak
void dErrorBreak()
Definition: dError.cc:141
iiInitArithmetic
int iiInitArithmetic()
initialisation of arithmetic structured data
Definition: iparith.cc:8894
VERSION
#define VERSION
Definition: mod2.h:18
LANG_TOP
@ LANG_TOP
Definition: subexpr.h:24
BT_execute
@ BT_execute
Definition: fevoices.h:25
naInitChar
BOOLEAN naInitChar(coeffs cf, void *infoStruct)
Initialize the coeffs object.
Definition: algext.cc:1395
enterid
idhdl enterid(const char *s, int lev, int t, idhdl *root, BOOLEAN init, BOOLEAN search)
Definition: ipid.cc:257
fe_optind
int fe_optind
Definition: fegetopt.c:111
feOptIndex
feOptIndex
Definition: feOptGen.h:15
BITSET
#define BITSET
Definition: structs.h:18
feGetOptIndex
feOptIndex feGetOptIndex(const char *name)
Definition: feOpt.cc:101
NONE
#define NONE
Definition: tok.h:218
omFreeSizeFunc
void omFreeSizeFunc(void *addr, size_t size)
freeSize
#define freeSize
Definition: omAllocFunc.c:13
IDDATA
#define IDDATA(a)
Definition: ipid.h:121
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
omStrDup
#define omStrDup(s)
Definition: omAllocDecl.h:263
basePackHdl
idhdl basePackHdl
Definition: ipid.cc:58
gnc_gr_bba
BBA_Proc gnc_gr_bba
Definition: old.gring.cc:67
feSetOptValue
const char * feSetOptValue(feOptIndex opt, char *optarg)
Definition: feOpt.cc:150
V_LOAD_LIB
#define V_LOAD_LIB
Definition: options.h:47
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
@ n_Q
rational (GMP) numbers
Definition: coeffs.h:31
currPack
package currPack
Definition: ipid.cc:59
fe_fgets_stdin
char *(* fe_fgets_stdin)(const char *pr, char *s, int size)
Definition: feread.cc:34
siRandomStart
int siRandomStart
Definition: cntrlc.cc:98
gnc_gr_mora
BBA_Proc gnc_gr_mora
Definition: gb_hack.h:10
sleftv
Class used for (list of) interpreter objects.
Definition: subexpr.h:82
omInitInfo
void omInitInfo()
Definition: omStats.c:17
m2_end
void m2_end(int i)
Definition: misc_ip.cc:1099
fe_optarg
char * fe_optarg
Definition: fegetopt.c:96
feArgv0
char * feArgv0
Definition: feResource.cc:19
flintQ_InitChar
BOOLEAN flintQ_InitChar(coeffs cf, void *infoStruct)
Definition: flintcf_Q.cc:560
factoryseed
void factoryseed(int s)
random seed initializer
Definition: cf_random.cc:176
singular_in_batchmode
BOOLEAN singular_in_batchmode
Definition: cntrlc.cc:67
n_coeffType
n_coeffType
Definition: coeffs.h:27
SW_USE_EZGCD
static const int SW_USE_EZGCD
set to 1 to use EZGCD over Z
Definition: cf_defs.h:32
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:1276
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:36
n_FlintZn
static n_coeffType n_FlintZn
Definition: misc_ip.cc:1225
initTimer
int initTimer()
Definition: timer.cc:69
iiFloat
static BOOLEAN iiFloat(leftv res, leftv pnn)
Definition: misc_ip.cc:1247
n_polyExt
@ n_polyExt
used to represent polys as coeffcients
Definition: coeffs.h:35
TRUE
#define TRUE
Definition: auxiliary.h:98
i
int i
Definition: cfEzgcd.cc:125
Sy_bit
#define Sy_bit(x)
Definition: options.h:32
buf
int status int void * buf
Definition: si_signals.h:59
DIR_SEPP
#define DIR_SEPP
Definition: feResource.h:7
omSingOutOfMemoryFunc
void omSingOutOfMemoryFunc()
Definition: misc_ip.cc:1197
malloc
void * malloc(size_t size)
Definition: omalloc.c:92
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:3006
currentVoice
Voice * currentVoice
Definition: fevoices.cc:48
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:18
h
static Poly * h
Definition: janet.cc:972
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:666
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:1226
omInitRet_2_Info
void omInitRet_2_Info(const char *argv0)
Definition: omRet2Info.c:34
SI_RESTORE_OPT
#define SI_RESTORE_OPT(A, B)
Definition: options.h:24
newFile
BOOLEAN newFile(char *fname)
Definition: fevoices.cc:120
n_Z
@ n_Z
only used if HAVE_RINGS is defined
Definition: coeffs.h:44
optional_argument
#define optional_argument
Definition: fegetopt.h:101
SW_USE_CHINREM_GCD
static const int SW_USE_CHINREM_GCD
set to 1 to use modular gcd over Z
Definition: cf_defs.h:38
flintZn_InitChar
BOOLEAN flintZn_InitChar(coeffs cf, void *infoStruct)
Definition: flintcf_Zn.cc:465
myynest
int myynest
Definition: febase.cc:41
init_signals
void init_signals()
init signal handlers and error handling for libraries: NTL, factory
Definition: cntrlc.cc:561
feInitStdin
Voice * feInitStdin(Voice *pp)
Definition: fevoices.cc:656
n_transExt
@ n_transExt
used for all transcendental extensions, i.e., the top-most extension in an extension tower is transce...
Definition: coeffs.h:39
Off
void Off(int sw)
switches
Definition: canonicalform.cc:1905
ntInitChar
BOOLEAN ntInitChar(coeffs cf, void *infoStruct)
Initialize the coeffs object.
Definition: transext.cc:2492
siInit
int siInit(char *)
Definition: misc_ip.cc:1310
feOptSpec
struct fe_option feOptSpec[]
coeffs_BIGINT
coeffs coeffs_BIGINT
Definition: ipid.cc:52
reallocSize
#define reallocSize
Definition: omAllocFunc.c:15
idrec
Definition: idrec.h:34
sca_bba
BBA_Proc sca_bba
Definition: gb_hack.h:10
IDPACKAGE
#define IDPACKAGE(a)
Definition: ipid.h:134
sca_gr_bba
BBA_Proc sca_gr_bba
Definition: gb_hack.h:10
SW_USE_EZGCD_P
static const int SW_USE_EZGCD_P
set to 1 to use EZGCD over F_q
Definition: cf_defs.h:34
nc_NF
NF_Proc nc_NF
Definition: old.gring.cc:66
BVERBOSE
#define BVERBOSE(a)
Definition: options.h:35
Print
#define Print
Definition: emacs.cc:80
om_Opts
omOpts_t om_Opts
Definition: omOpts.c:11
FE_OPT_UNDEF
@ FE_OPT_UNDEF
Definition: feOptGen.h:15
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
@ PACKAGE_CMD
Definition: tok.h:149
name
char name(const Variable &v)
Definition: factory.h:180
yyparse
int yyparse(void)
Definition: grammar.cc:2109
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:1307
WarnS
#define WarnS
Definition: emacs.cc:78
sleftv::rtyp
int rtyp
Definition: subexpr.h:91
basePack
package basePack
Definition: ipid.cc:60
assume
#define assume(x)
Definition: mod2.h:390
sLastPrinted
sleftv sLastPrinted
Definition: subexpr.cc:51
NULL
#define NULL
Definition: omList.c:10
siSeed
int siSeed
Definition: sirandom.c:29
MAXPATHLEN
#define MAXPATHLEN
Definition: omRet2Info.c:22
fe_option::value
void * value
Definition: fegetopt.h:93
currPackHdl
idhdl currPackHdl
Definition: ipid.cc:57
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:1045
Warn
#define Warn
Definition: emacs.cc:77
initRTimer
void initRTimer()
Definition: timer.cc:158
sca_mora
BBA_Proc sca_mora
Definition: gb_hack.h:10
SI_SAVE_OPT
#define SI_SAVE_OPT(A, B)
Definition: options.h:21
countedref_init
void countedref_init()
Definition: countedref.h:458
mmInit
int mmInit(void)
Definition: tesths.cc:45
feOptValue
static void * feOptValue(feOptIndex opt)
Definition: feOpt.h:40
SW_USE_QGCD
static const int SW_USE_QGCD
set to 1 to use Encarnacion GCD over Q(a)
Definition: cf_defs.h:40
fd
int status int fd
Definition: si_signals.h:59
iiLibCmd
BOOLEAN iiLibCmd(char *newlib, BOOLEAN autoexport, BOOLEAN tellerror, BOOLEAN force)
Definition: iplib.cc:826
newBuffer
void newBuffer(char *s, feBufferTypes t, procinfo *pi, int lineno)
Definition: fevoices.cc:157
n_unknown
@ n_unknown
Definition: coeffs.h:29
si_start_jmpbuf
jmp_buf si_start_jmpbuf
Definition: cntrlc.cc:97
n2pInitChar
BOOLEAN n2pInitChar(coeffs cf, void *infoStruct)
Definition: algext.cc:1679
omAlloc0
#define omAlloc0(size)
Definition: omAllocDecl.h:211
On
void On(int sw)
switches
Definition: canonicalform.cc:1898
TEST_V_QUIET
#define TEST_V_QUIET
Definition: options.h:131
package
ip_package * package
Definition: structs.h:46
si_opt_2
unsigned si_opt_2
Definition: options.c:6
n_algExt
@ n_algExt
used for all algebraic extensions, i.e., the top-most extension in an extension tower is algebraic
Definition: coeffs.h:36
si_opt_1
unsigned si_opt_1
Definition: options.c:5