1229 #ifndef __OPTIMIZE__ 1298 #ifdef _SC_NPROCESSORS_ONLN 1299 if ((cpu_n=sysconf(_SC_NPROCESSORS_ONLN))>cpus) cpus=cpu_n;
1300 #elif defined(_SC_NPROCESSORS_CONF) 1301 if ((cpu_n=sysconf(_SC_NPROCESSORS_CONF))>cpus) cpus=cpu_n;
int iiInitArithmetic()
initialisation of arithmetic structured data
BOOLEAN flintQ_InitChar(coeffs cf, void *infoStruct)
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.
void omSingOutOfMemoryFunc()
BOOLEAN n_AEInitChar(coeffs r, void *)
void factoryseed(int s)
random seed initializer
Class used for (list of) interpreter objects.
ideal k_gnc_gr_bba(const ideal F, const ideal Q, const intvec *, const intvec *, kStrategy strat, const ring _currRing)
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.
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.
static void * feOptValue(feOptIndex opt)
BOOLEAN naInitChar(coeffs cf, void *infoStruct)
Initialize the coeffs object.
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.
used for all transcendental extensions, i.e., the top-most extension in an extension tower is transce...
static n_coeffType n_FlintZn
static const int SW_USE_EZGCD_P
set to 1 to use EZGCD over F_q
BOOLEAN n_QAEInitChar(coeffs r, void *)
static const int SW_USE_NTL_SORT
set to 1 to sort factors in a factorization
const char * feSetOptValue(feOptIndex opt, char *optarg)
void feInitResources(const char *argv0)
void WerrorS(const char *s)
BOOLEAN iiLibCmd(char *newlib, BOOLEAN autoexport, BOOLEAN tellerror, BOOLEAN force)
idhdl enterid(const char *s, int lev, int t, idhdl *root, BOOLEAN init, BOOLEAN search)
#define SI_RESTORE_OPT(A, B)
n_coeffType nRegister(n_coeffType n, cfInitCharProc p)
static BOOLEAN ii_FlintZn_init(leftv res, leftv a)
struct fe_option feOptSpec[]
only used if HAVE_RINGS is defined
ideal k_gnc_gr_mora(const ideal F, const ideal Q, const intvec *, const intvec *, kStrategy strat, const ring _currRing)
char name(const Variable &v)
static const int SW_USE_CHINREM_GCD
set to 1 to use modular gcd over Z
BOOLEAN flintZn_InitChar(coeffs cf, void *infoStruct)
BOOLEAN n_pAEInitChar(coeffs r, void *p)
used for all algebraic extensions, i.e., the top-most extension in an extension tower is algebraic ...
static const int SW_USE_QGCD
set to 1 to use Encarnacion GCD over Q(a)
static const int SW_USE_EZGCD
set to 1 to use EZGCD over Z
#define SI_SAVE_OPT(A, B)
int iiAddCproc(const char *libname, const char *procname, BOOLEAN pstatic, BOOLEAN(*func)(leftv res, leftv v))
static BOOLEAN ii_pAE_init(leftv res, leftv a)
used to represent polys as coeffcients
void(* factoryError)(const char *s)
coeffs nInitChar(n_coeffType t, void *parameter)
one-time initialisations for new coeffs in case of an error return NULL
BOOLEAN ntInitChar(coeffs cf, void *infoStruct)
Initialize the coeffs object.