233 const char *sys_cmd=(
char *)(args->
Data());
238 if (strcmp(sys_cmd,
"nblocks") == 0)
260 r = (ring)
h->Data();
267 if(strcmp(sys_cmd,
"version")==0)
275 if(strcmp(sys_cmd,
"alarm")==0)
282 struct itimerval t,o;
283 memset(&t,0,
sizeof(t));
284 t.it_value.tv_sec =(unsigned)((
unsigned long)
h->Data());
285 setitimer(ITIMER_VIRTUAL,&t,&o);
293 if(strcmp(sys_cmd,
"content")==0)
298 poly
p=(poly)
h->CopyD();
312 if(strcmp(sys_cmd,
"cpu")==0)
315 #ifdef _SC_NPROCESSORS_ONLN
316 cpu=sysconf(_SC_NPROCESSORS_ONLN);
317 #elif defined(_SC_NPROCESSORS_CONF)
318 cpu=sysconf(_SC_NPROCESSORS_CONF);
320 res->data=(
void *)cpu;
326 if(strcmp(sys_cmd,
"executable")==0)
341 if(strcmp(sys_cmd,
"flatten")==0)
354 if(strcmp(sys_cmd,
"unflatten")==0)
367 if(strcmp(sys_cmd,
"neworder")==0)
381 if(strcmp(sys_cmd,
"nc_hilb") == 0)
389 i = (ideal)
h->Data();
392 WerrorS(
"nc_Hilb:ideal expected");
397 lV = (int)(
long)
h->Data();
400 WerrorS(
"nc_Hilb:int expected");
406 if((
int)(
long)
h->Data() == 1)
408 else if((
int)(
long)
h->Data() == 2)
413 trunDegHs = (int)(
long)
h->Data();
418 WerrorS(
"nc_Hilb:int 1,2, total degree for the truncation, and a string for printing the details are expected");
427 if(strcmp(sys_cmd,
"verifyGB")==0)
431 WerrorS(
"system(\"verifyGB\",<ideal>,..) expects a commutative ring");
436 WerrorS(
"expected system(\"verifyGB\",<ideal>,..)");
439 ideal F=(ideal)
h->Data();
456 if(strcmp(sys_cmd,
"rcolon") == 0)
461 ideal
i = (ideal)
h->Data();
463 poly
w=(poly)
h->Data();
465 int lV = (int)(
long)
h->Data();
476 if(strcmp(sys_cmd,
"sh")==0)
480 WerrorS(
"shell execution is disallowed in restricted mode");
486 res->data = (
void*)(
long)
system((
char*)(
h->Data()));
493 if(strcmp(sys_cmd,
"reduce_bound")==0)
503 p = (poly)
h->CopyD();
507 pid = (ideal)
h->CopyD();
512 ideal q = (ideal)
h->next->CopyD();
513 int bound = (int)(
long)
h->next->next->Data();
522 if(strcmp(sys_cmd,
"uname")==0)
530 if(strcmp(sys_cmd,
"with")==0)
540 #define TEST_FOR(A) if(strcmp(s,A)==0) res->data=(void *)1; else
541 char *
s=(
char *)
h->Data();
554 #ifdef TEST_MAC_ORDER
559 #ifdef HAVE_DYNAMIC_LOADING
582 if (strcmp(sys_cmd,
"browsers")==0)
592 if (strcmp(sys_cmd,
"pid")==0)
595 res->data=(
void *)(
long) getpid();
600 if (strcmp(sys_cmd,
"getenv")==0)
605 const char *r=
getenv((
char *)
h->Data());
618 if (strcmp(sys_cmd,
"setenv")==0)
625 setenv((
char *)
h->Data(), (
char *)
h->next->Data(), 1);
635 WerrorS(
"setenv not supported on this platform");
641 if (strcmp(sys_cmd,
"Singular") == 0)
650 if (strcmp(sys_cmd,
"SingularLib") == 0)
659 if (strcmp(sys_cmd,
"SingularBin") == 0)
669 if (strstr(sys_cmd,
"--") == sys_cmd)
671 if (strcmp(sys_cmd,
"--") == 0)
679 Werror(
"Unknown option %s", sys_cmd);
680 WerrorS(
"Use 'system(\"--\");' for listing of available options");
695 const char *r=(
const char*)
feOptSpec[opt].value;
709 WerrorS(
"Need string or int argument to set option value");
712 const char* errormsg;
717 Werror(
"Need string argument to set value of option %s", sys_cmd);
721 if (errormsg !=
NULL)
722 Werror(
"Option '--%s=%d' %s", sys_cmd, (
int) ((
long)
h->Data()), errormsg);
727 if (errormsg !=
NULL)
728 Werror(
"Option '--%s=%s' %s", sys_cmd, (
char*)
h->Data(), errormsg);
735 if (strcmp(sys_cmd,
"HC")==0)
743 if(strcmp(sys_cmd,
"random")==0)
766 if (strcmp(sys_cmd,
"denom_list")==0)
775 if(strcmp(sys_cmd,
"complexNearZero")==0)
782 WerrorS(
"unsupported ground field!");
789 (int)((
long)(
h->next->Data())));
800 if(strcmp(sys_cmd,
"getPrecDigits")==0)
805 WerrorS(
"unsupported ground field!");
816 if(strcmp(sys_cmd,
"lduDecomp")==0)
823 poly
l; poly u; poly prodLU;
824 lduDecomp(aMat, pMat, lMat, dMat, uMat,
l, u, prodLU);
835 res->data = (
char *)L;
845 if(strcmp(sys_cmd,
"lduSolve")==0)
879 poly
l = (poly)
h->next->next->next->next->Data();
880 poly u = (poly)
h->next->next->next->next->next->Data();
881 poly lTimesU = (poly)
h->next->next->next->next->next->next->Data();
882 matrix bVec = (
matrix)
h->next->next->next->next->next->next->next->Data();
886 Werror(
"first matrix (%d x %d) is not quadratic",
892 Werror(
"second matrix (%d x %d) is not quadratic",
898 Werror(
"third matrix (%d x %d) is not quadratic",
904 Werror(
"third matrix (%d x %d) and fourth matrix (%d x %d) %s",
911 Werror(
"fourth matrix (%d x %d) and vector (%d x 1) do not fit",
916 bVec, xVec, homogSolSpace);
939 if (strcmp(sys_cmd,
"shared") == 0)
941 #ifndef SI_COUNTEDREF_AUTOLOAD
948 else if (strcmp(sys_cmd,
"reference") == 0)
950 #ifndef SI_COUNTEDREF_AUTOLOAD
959 #ifdef HAVE_SIMPLEIPC
960 if (strcmp(sys_cmd,
"semaphore")==0)
966 v=(int)(
long)
h->next->next->Data();
973 WerrorS(
"Usage: system(\"semaphore\",<cmd>,int)");
980 if (strcmp(sys_cmd,
"reserve")==0)
988 res->data=(
void*)(
long)
p;
995 if (strcmp(sys_cmd,
"reservedLink")==0)
1004 if (strcmp(sys_cmd,
"install")==0)
1010 (
int)(
long)
h->next->next->next->Data(),
1017 if (strcmp(sys_cmd,
"newstruct")==0)
1023 char *n=(
char*)
h->Data();
1030 newstruct_desc desc=(newstruct_desc)bb->data;
1034 else Werror(
"'%s' is not a newstruct",n);
1036 else Werror(
"'%s' is not a blackbox object",n);
1042 if (strcmp(sys_cmd,
"blackbox")==0)
1049 #if defined(HAVE_FLINT) || defined(HAVE_NTL)
1050 if (strcmp(sys_cmd,
"absFact") == 0)
1067 l->m[0].data=(
void *)
f;
1069 l->m[1].data=(
void *)
v;
1071 l->m[2].data=(
void*) mipos;
1073 l->m[3].data=(
void*) (
long) n;
1074 res->data=(
void *)
l;
1083 if (strcmp(sys_cmd,
"LLL") == 0)
1106 #if __FLINT_RELEASE >= 20500
1107 if (strcmp(sys_cmd,
"LLL_Flint") == 0)
1128 WerrorS(
"matrix,int or bigint,int expected");
1133 if(((
int)((
long)(
h->next->Data())) != 0) && (
int)((
long)(
h->next->Data()) != 1))
1135 WerrorS(
"int is different from 0, 1");
1139 if((
long)(
h->next->Data()) == 0)
1154 if((
long)(
h->next->Data()) == 1)
1160 for(
int i = 1;
i<=
m->rows();
i++)
1178 for(
int i = 1;
i<=
m->rows();
i++)
1201 if(strcmp(sys_cmd,
"pcvLAddL")==0)
1206 if(strcmp(sys_cmd,
"pcvPMulL")==0)
1211 if(strcmp(sys_cmd,
"pcvMinDeg")==0)
1216 if(strcmp(sys_cmd,
"pcvP2CV")==0)
1221 if(strcmp(sys_cmd,
"pcvCV2P")==0)
1226 if(strcmp(sys_cmd,
"pcvDim")==0)
1231 if(strcmp(sys_cmd,
"pcvBasis")==0)
1238 #ifdef HAVE_EIGENVAL
1239 if(strcmp(sys_cmd,
"hessenberg")==0)
1246 #ifdef HAVE_EIGENVAL
1247 if(strcmp(sys_cmd,
"eigenvals")==0)
1254 #ifdef HAVE_EIGENVAL
1255 if(strcmp(sys_cmd,
"rowelim")==0)
1262 #ifdef HAVE_EIGENVAL
1263 if(strcmp(sys_cmd,
"rowcolswap")==0)
1271 if(strcmp(sys_cmd,
"gmsnf")==0)
1278 if(strcmp(sys_cmd,
"contributors") == 0)
1282 "Olaf Bachmann, Michael Brickenstein, Hubert Grassmann, Kai Krueger, Victor Levandovskyy, Wolfgang Neumann, Thomas Nuessler, Wilfred Pohl, Jens Schmidt, Mathias Schulze, Thomas Siebert, Ruediger Stobbe, Moritz Wenk, Tim Wichmann");
1287 #ifdef HAVE_SPECTRUM
1288 if(strcmp(sys_cmd,
"spectrum") == 0)
1302 if(((
long)
h->next->Data())==1L)
1308 if(strcmp(sys_cmd,
"semic") == 0)
1314 if (
h->next->next==
NULL)
1316 else if (
h->next->next->Typ()==
INT_CMD)
1323 if(strcmp(sys_cmd,
"spadd") == 0)
1334 if(strcmp(sys_cmd,
"spmul") == 0)
1346 #define HAVE_SHEAFCOH_TRICKS 1
1348 #ifdef HAVE_SHEAFCOH_TRICKS
1349 if(strcmp(sys_cmd,
"tensorModuleMult")==0)
1355 int m = (int)( (
long)
h->Data() );
1356 ideal
M = (ideal)
h->next->Data();
1367 if (strcmp(sys_cmd,
"twostd") == 0)
1372 I=(ideal)
h->CopyD();
1386 if (strcmp(sys_cmd,
"bracket") == 0)
1391 poly
p=(poly)
h->CopyD();
1393 poly q=(poly)
h->Data();
1404 if (strcmp(sys_cmd,
"env")==0)
1408 ring r = (ring)
h->Data();
1415 WerrorS(
"`system(\"env\",<ring>)` expected");
1423 if (strcmp(sys_cmd,
"opp")==0)
1427 ring r=(ring)
h->Data();
1434 WerrorS(
"`system(\"opp\",<ring>)` expected");
1442 if (strcmp(sys_cmd,
"oppose")==0)
1445 && (
h->next!=
NULL))
1447 ring Rop = (ring)
h->Data();
1460 WerrorS(
"`system(\"oppose\",<ring>,<poly>)` expected");
1470 if (strcmp(sys_cmd,
"walkNextWeight") == 0)
1477 Werror(
"system(\"walkNextWeight\" ...) intvecs not of length %d\n",
1481 res->data = (
void*) walkNextWeight(((
intvec*)
h->Data()),
1483 (ideal)
h->next->next->Data());
1484 if (
res->data ==
NULL ||
res->data == (
void*) 1L)
1500 if (strcmp(sys_cmd,
"walkInitials") == 0)
1504 WerrorS(
"system(\"walkInitials\", ideal) expected");
1507 res->data = (
void*) walkInitials((ideal)
h->Data());
1517 if (strcmp(sys_cmd,
"walkAddIntVec") == 0)
1523 res->data = (
intvec*) walkAddIntVec(arg1, arg2);
1532 #ifdef MwaklNextWeight
1533 if (strcmp(sys_cmd,
"MwalkNextWeight") == 0)
1540 Werror(
"system(\"MwalkNextWeight\" ...) intvecs not of length %d\n",
1546 ideal arg3 = (ideal)
h->next->next->Data();
1557 if(strcmp(sys_cmd,
"Mivdp") == 0)
1561 WerrorS(
"system(\"Mivdp\", int) expected");
1564 if ((
int) ((
long)(
h->Data())) !=
currRing->N)
1566 Werror(
"system(\"Mivdp\" ...) intvecs not of length %d\n",
1570 int arg1 = (int) ((
long)(
h->Data()));
1580 if(strcmp(sys_cmd,
"Mivlp") == 0)
1584 WerrorS(
"system(\"Mivlp\", int) expected");
1587 if ((
int) ((
long)(
h->Data())) !=
currRing->N)
1589 Werror(
"system(\"Mivlp\" ...) intvecs not of length %d\n",
1593 int arg1 = (int) ((
long)(
h->Data()));
1604 if(strcmp(sys_cmd,
"MpDiv") == 0)
1608 poly arg1 = (poly)
h->Data();
1609 poly arg2 = (poly)
h->next->Data();
1610 poly
result = MpDiv(arg1, arg2);
1621 if(strcmp(sys_cmd,
"MpMult") == 0)
1625 poly arg1 = (poly)
h->Data();
1626 poly arg2 = (poly)
h->next->Data();
1627 poly
result = MpMult(arg1, arg2);
1637 if (strcmp(sys_cmd,
"MivSame") == 0)
1658 res->data = (
void*)(
long)
MivSame(arg1, arg2);
1665 if (strcmp(sys_cmd,
"M3ivSame") == 0)
1688 res->data = (
void*)(
long)
M3ivSame(arg1, arg2, arg3);
1695 if(strcmp(sys_cmd,
"MwalkInitialForm") == 0)
1701 Werror(
"system \"MwalkInitialForm\"...) intvec not of length %d\n",
1705 ideal
id = (ideal)
h->Data();
1717 if(strcmp(sys_cmd,
"MivMatrixOrder") == 0)
1721 WerrorS(
"system(\"MivMatrixOrder\",intvec) expected");
1734 if(strcmp(sys_cmd,
"MivMatrixOrderdp") == 0)
1738 WerrorS(
"system(\"MivMatrixOrderdp\",intvec) expected");
1741 int arg1 = (int) ((
long)(
h->Data()));
1751 if(strcmp(sys_cmd,
"MPertVectors") == 0)
1755 ideal arg1 = (ideal)
h->Data();
1757 int arg3 = (int) ((
long)(
h->next->next->Data()));
1767 if(strcmp(sys_cmd,
"MPertVectorslp") == 0)
1771 ideal arg1 = (ideal)
h->Data();
1773 int arg3 = (int) ((
long)(
h->next->next->Data()));
1783 if(strcmp(sys_cmd,
"Mfpertvector") == 0)
1787 ideal arg1 = (ideal)
h->Data();
1798 if(strcmp(sys_cmd,
"MivUnit") == 0)
1802 int arg1 = (int) ((
long)(
h->Data()));
1812 if(strcmp(sys_cmd,
"MivWeightOrderlp") == 0)
1826 if(strcmp(sys_cmd,
"MivWeightOrderdp") == 0)
1830 WerrorS(
"system(\"MivWeightOrderdp\",intvec) expected");
1844 if(strcmp(sys_cmd,
"MivMatrixOrderlp") == 0)
1848 WerrorS(
"system(\"MivMatrixOrderlp\",int) expected");
1851 int arg1 = (int) ((
long)(
h->Data()));
1861 if (strcmp(sys_cmd,
"MkInterRedNextWeight") == 0)
1868 Werror(
"system(\"MkInterRedNextWeight\" ...) intvecs not of length %d\n",
1874 ideal arg3 = (ideal)
h->next->next->Data();
1884 #ifdef MPertNextWeight
1885 if (strcmp(sys_cmd,
"MPertNextWeight") == 0)
1891 Werror(
"system(\"MPertNextWeight\" ...) intvecs not of length %d\n",
1896 ideal arg2 = (ideal)
h->next->Data();
1897 int arg3 = (int)
h->next->next->Data();
1908 #ifdef Mivperttarget
1909 if (strcmp(sys_cmd,
"Mivperttarget") == 0)
1913 ideal arg1 = (ideal)
h->Data();
1914 int arg2 = (int)
h->next->Data();
1925 if (strcmp(sys_cmd,
"Mwalk") == 0)
1932 Werror(
"system(\"Mwalk\" ...) intvecs not of length %d\n",
1936 ideal arg1 = (ideal)
h->CopyD();
1939 ring arg4 = (ring)
h->next->next->next->Data();
1940 int arg5 = (int) (
long)
h->next->next->next->next->Data();
1941 int arg6 = (int) (
long)
h->next->next->next->next->next->Data();
1942 ideal
result = (ideal)
Mwalk(arg1, arg2, arg3, arg4, arg5, arg6);
1952 if (strcmp(sys_cmd,
"Mwalk") == 0)
1961 Werror(
"system(\"Mwalk\" ...) intvecs not of length %d or %d\n",
1965 ideal arg1 = (ideal)
h->Data();
1968 ring arg4 = (ring)
h->next->next->next->Data();
1969 ideal
result = (ideal)
Mwalk(arg1, arg2, arg3,arg4);
1976 if (strcmp(sys_cmd,
"Mpwalk") == 0)
1983 Werror(
"system(\"Mpwalk\" ...) intvecs not of length %d\n",
currRing->N);
1986 ideal arg1 = (ideal)
h->Data();
1987 int arg2 = (int) (
long)
h->next->Data();
1988 int arg3 = (int) (
long)
h->next->next->Data();
1991 int arg6 = (int) (
long)
h->next->next->next->next->next->Data();
1992 int arg7 = (int) (
long)
h->next->next->next->next->next->next->Data();
1993 int arg8 = (int) (
long)
h->next->next->next->next->next->next->next->Data();
1994 ideal
result = (ideal)
Mpwalk(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
2004 if (strcmp(sys_cmd,
"Mrwalk") == 0)
2013 Werror(
"system(\"Mrwalk\" ...) intvecs not of length %d or %d\n",
2017 ideal arg1 = (ideal)
h->Data();
2020 int arg4 = (int)(
long)
h->next->next->next->Data();
2021 int arg5 = (int)(
long)
h->next->next->next->next->Data();
2022 int arg6 = (int)(
long)
h->next->next->next->next->next->Data();
2023 int arg7 = (int)(
long)
h->next->next->next->next->next->next->Data();
2024 ideal
result = (ideal)
Mrwalk(arg1, arg2, arg3, arg4, arg5, arg6, arg7);
2033 if (strcmp(sys_cmd,
"MAltwalk1") == 0)
2040 Werror(
"system(\"MAltwalk1\" ...) intvecs not of length %d\n",
2044 ideal arg1 = (ideal)
h->Data();
2045 int arg2 = (int) ((
long)(
h->next->Data()));
2046 int arg3 = (int) ((
long)(
h->next->next->Data()));
2059 if (strcmp(sys_cmd,
"Mfwalk_alt") == 0)
2066 Werror(
"system(\"Mfwalk\" ...) intvecs not of length %d\n",
2070 ideal arg1 = (ideal)
h->Data();
2073 int arg4 = (int)
h->next->next->next->Data();
2074 ideal
result = (ideal) Mfwalk_alt(arg1, arg2, arg3, arg4);
2084 if (strcmp(sys_cmd,
"Mfwalk") == 0)
2091 Werror(
"system(\"Mfwalk\" ...) intvecs not of length %d\n",
2095 ideal arg1 = (ideal)
h->Data();
2098 int arg4 = (int)(
long)
h->next->next->next->Data();
2099 int arg5 = (int)(
long)
h->next->next->next->next->Data();
2100 ideal
result = (ideal)
Mfwalk(arg1, arg2, arg3, arg4, arg5);
2109 if (strcmp(sys_cmd,
"Mfrwalk") == 0)
2126 Werror(
"system(\"Mfrwalk\" ...) intvecs not of length %d or %d\n",
2131 ideal arg1 = (ideal)
h->Data();
2134 int arg4 = (int)(
long)
h->next->next->next->Data();
2135 int arg5 = (int)(
long)
h->next->next->next->next->Data();
2136 int arg6 = (int)(
long)
h->next->next->next->next->next->Data();
2137 ideal
result = (ideal)
Mfrwalk(arg1, arg2, arg3, arg4, arg5, arg6);
2144 if (strcmp(sys_cmd,
"Mprwalk") == 0)
2153 Werror(
"system(\"Mrwalk\" ...) intvecs not of length %d or %d\n",
2157 ideal arg1 = (ideal)
h->Data();
2160 int arg4 = (int)(
long)
h->next->next->next->Data();
2161 int arg5 = (int)(
long)
h->next->next->next->next->Data();
2162 int arg6 = (int)(
long)
h->next->next->next->next->next->Data();
2163 int arg7 = (int)(
long)
h->next->next->next->next->next->next->Data();
2164 int arg8 = (int)(
long)
h->next->next->next->next->next->next->next->Data();
2165 int arg9 = (int)(
long)
h->next->next->next->next->next->next->next->next->Data();
2166 ideal
result = (ideal)
Mprwalk(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
2176 if (strcmp(sys_cmd,
"TranMImprovwalk") == 0)
2183 Werror(
"system(\"TranMImprovwalk\" ...) intvecs not of length %d\n",
2187 ideal arg1 = (ideal)
h->Data();
2200 if (strcmp(sys_cmd,
"MAltwalk2") == 0)
2207 Werror(
"system(\"MAltwalk2\" ...) intvecs not of length %d\n",
2211 ideal arg1 = (ideal)
h->Data();
2223 if (strcmp(sys_cmd,
"TranMImprovwalk") == 0)
2230 Werror(
"system(\"TranMImprovwalk\" ...) intvecs not of length %d\n",
2234 ideal arg1 = (ideal)
h->Data();
2237 int arg4 = (int) ((
long)(
h->next->next->next->Data()));
2248 if (strcmp(sys_cmd,
"TranMrImprovwalk") == 0)
2253 h->next->next->next ==
NULL ||
h->next->next->next->Typ() !=
INT_CMD ||
2254 h->next->next->next ==
NULL ||
h->next->next->next->next->Typ() !=
INT_CMD ||
2255 h->next->next->next ==
NULL ||
h->next->next->next->next->next->Typ() !=
INT_CMD)
2257 WerrorS(
"system(\"TranMrImprovwalk\", ideal, intvec, intvec) expected");
2263 Werror(
"system(\"TranMrImprovwalk\" ...) intvecs not of length %d\n",
currRing->N);
2266 ideal arg1 = (ideal)
h->Data();
2269 int arg4 = (int)(
long)
h->next->next->next->Data();
2270 int arg5 = (int)(
long)
h->next->next->next->next->Data();
2271 int arg6 = (int)(
long)
h->next->next->next->next->next->Data();
2272 ideal
result = (ideal) TranMrImprovwalk(arg1, arg2, arg3, arg4, arg5, arg6);
2282 #ifndef MAKE_DISTRIBUTION
#define BIMATELEM(M, I, J)
blackbox * getBlackboxStuff(const int t)
return the structure to the type given by t
int blackboxIsCmd(const char *n, int &tok)
used by scanner: returns ROOT_DECL for known types (and the type number in tok)
void printBlackboxTypes()
list all defined type (for debugging)
static CanonicalForm bound(const CFMatrix &M)
void factoryseed(int s)
random seed initializer
char * singclap_neworder(ideal I, const ring r)
matrix singntl_LLL(matrix m, const ring s)
ideal singclap_absFactorize(poly f, ideal &mipos, intvec **exps, int &numFactors, const ring r)
gmp_complex numbers based on
@ n_transExt
used for all transcendental extensions, i.e., the top-most extension in an extension tower is transce...
static FORCE_INLINE BOOLEAN nCoeff_is_Ring(const coeffs r)
static FORCE_INLINE n_coeffType getCoeffType(const coeffs r)
Returns the type of coeffs domain.
void countedref_reference_load()
Initialize blackbox types 'reference' and 'shared', or both.
void countedref_shared_load()
matrix evRowElim(matrix M, int i, int j, int k)
matrix evHessenberg(matrix M)
matrix evSwap(matrix M, int i, int j)
lists evEigenvals(matrix M)
const char * feSetOptValue(feOptIndex opt, char *optarg)
feOptIndex feGetOptIndex(const char *name)
EXTERN_VAR struct fe_option feOptSpec[]
static char * feResource(feResourceConfig config, int warn)
void feStringAppendBrowsers(int warn)
bigintmat * singflint_LLL(bigintmat *A, bigintmat *T)
lists gmsNF(ideal p, ideal g, matrix B, int D, int K)
void HilbertSeries_OrbitData(ideal S, int lV, bool IG_CASE, bool mgrad, bool odp, int trunDegHs)
ideal RightColonOperation(ideal S, poly w, int lV)
ideal id_TensorModuleMult(const int m, const ideal M, const ring rRing)
static BOOLEAN length(leftv result, leftv arg)
#define IMATELEM(M, I, J)
BOOLEAN spaddProc(leftv result, leftv first, leftv second)
BOOLEAN semicProc3(leftv res, leftv u, leftv v, leftv w)
BOOLEAN spectrumfProc(leftv result, leftv first)
BOOLEAN spmulProc(leftv result, leftv first, leftv second)
BOOLEAN spectrumProc(leftv result, leftv first)
BOOLEAN semicProc(leftv res, leftv u, leftv v)
poly kNFBound(ideal F, ideal Q, poly p, int bound, int syzComp, int lazyReduce)
BOOLEAN kVerify2(ideal F, ideal Q)
BOOLEAN kVerify1(ideal F, ideal Q)
poly pOppose(ring Rop_src, poly p, const ring Rop_dst)
opposes a vector p from Rop to currRing (dst!)
poly nc_p_Bracket_qq(poly p, const poly q, const ring r)
returns [p,q], destroys p
bool luSolveViaLDUDecomp(const matrix pMat, const matrix lMat, const matrix dMat, const matrix uMat, const poly l, const poly u, const poly lTimesU, const matrix bVec, matrix &xVec, matrix &H)
Solves the linear system A * x = b, where A is an (m x n)-matrix which is given by its LDU-decomposit...
void lduDecomp(const matrix aMat, matrix &pMat, matrix &lMat, matrix &dMat, matrix &uMat, poly &l, poly &u, poly &lTimesU)
LU-decomposition of a given (m x n)-matrix with performing only those divisions that yield zero remai...
ideal sm_UnFlatten(ideal a, int col, const ring R)
ideal sm_Flatten(ideal a, const ring R)
EXTERN_VAR size_t gmp_output_digits
bool complexNearZero(gmp_complex *c, int digits)
ideal twostd(ideal I)
Compute two-sided GB:
void newstructShow(newstruct_desc d)
BOOLEAN newstruct_set_proc(const char *bbname, const char *func, int args, procinfov pr)
char * omFindExec(const char *name, char *exec)
void p_Content(poly ph, const ring r)
poly p_Cleardenom(poly p, const ring r)
poly pcvP2CV(poly p, int d0, int d1)
int pcvBasis(lists b, int i, poly m, int d, int n)
int pcvDim(int d0, int d1)
lists pcvPMulL(poly p, lists l1)
poly pcvCV2P(poly cv, int d0, int d1)
lists pcvLAddL(lists l1, lists l2)
void StringSetS(const char *st)
static int rBlocks(ring r)
static BOOLEAN rField_is_long_C(const ring r)
static BOOLEAN rIsNCRing(const ring r)
#define rField_is_Ring(R)
int simpleipc_cmd(char *cmd, int id, int v)
int ssiReservePort(int clients)
int M3ivSame(intvec *temp, intvec *u, intvec *v)
intvec * MivMatrixOrderlp(int nV)
intvec * MivMatrixOrder(intvec *iv)
intvec * MkInterRedNextWeight(intvec *iva, intvec *ivb, ideal G)
intvec * Mfpertvector(ideal G, intvec *ivtarget)
ideal TranMImprovwalk(ideal G, intvec *curr_weight, intvec *target_tmp, int nP)
ideal Mfwalk(ideal G, intvec *ivstart, intvec *ivtarget, int reduction, int printout)
intvec * MPertVectors(ideal G, intvec *ivtarget, int pdeg)
intvec * MPertVectorslp(ideal G, intvec *ivtarget, int pdeg)
ideal Mprwalk(ideal Go, intvec *orig_M, intvec *target_M, int weight_rad, int op_deg, int tp_deg, int nP, int reduction, int printout)
intvec * MivWeightOrderdp(intvec *ivstart)
intvec * MivMatrixOrderdp(int nV)
intvec * MivWeightOrderlp(intvec *ivstart)
ideal MAltwalk2(ideal Go, intvec *curr_weight, intvec *target_weight)
ideal MAltwalk1(ideal Go, int op_deg, int tp_deg, intvec *curr_weight, intvec *target_weight)
ideal Mrwalk(ideal Go, intvec *orig_M, intvec *target_M, int weight_rad, int pert_deg, int reduction, int printout)
ideal Mfrwalk(ideal G, intvec *ivstart, intvec *ivtarget, int weight_rad, int reduction, int printout)
ideal Mwalk(ideal Go, intvec *orig_M, intvec *target_M, ring baseRing, int reduction, int printout)
ideal Mpwalk(ideal Go, int op_deg, int tp_deg, intvec *curr_weight, intvec *target_weight, int nP, int reduction, int printout)
int MivSame(intvec *u, intvec *v)
ideal MwalkInitialForm(ideal G, intvec *ivw)
intvec * MPertNextWeight(intvec *iva, ideal G, int deg)
intvec * MwalkNextWeight(intvec *curr_weight, intvec *target_weight, ideal G)
intvec * Mivperttarget(ideal G, int ndeg)