1326 #ifndef __OPTIMIZE__ 1395 #ifdef _SC_NPROCESSORS_ONLN 1396 if ((cpu_n=sysconf(_SC_NPROCESSORS_ONLN))>cpus) cpus=cpu_n;
1397 #elif defined(_SC_NPROCESSORS_CONF) 1398 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()
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)
only used if HAVE_RINGS is defined
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)
coeffs flintQInitCfByName(char *s, n_coeffType n)
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 BOOLEAN ii_FlintQ_init(leftv res, leftv a)
coeffs nrnInitCfByName(char *s, n_coeffType n)
const char * feSetOptValue(feOptIndex opt, char *optarg)
void feInitResources(const char *argv0)
static BOOLEAN iiFloat(leftv res, leftv pnn)
BOOLEAN iiLibCmd(char *newlib, BOOLEAN autoexport, BOOLEAN tellerror, BOOLEAN force)
BOOLEAN n2pInitChar(coeffs cf, void *infoStruct)
static BOOLEAN iiCrossProd(leftv res, leftv args)
void nRegisterCfByName(cfInitCfByNameProc p, n_coeffType n)
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)
BOOLEAN flintZn_InitChar(coeffs cf, void *infoStruct)
static n_coeffType n_FlintQ
used for all algebraic extensions, i.e., the top-most extension in an extension tower is algebraic
#define SI_SAVE_OPT(A, B)
coeffs flintZnInitCfByName(char *s, n_coeffType n)
int iiAddCproc(const char *libname, const char *procname, BOOLEAN pstatic, BOOLEAN(*func)(leftv res, leftv v))
used to represent polys as coeffcients
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.