 |
My Project
debian-1:4.1.2-p1+ds-2
|
Go to the source code of this file.
◆ proc_singular
Definition at line 22 of file subexpr.h.
Data Fields |
char * |
body |
|
long |
body_end |
|
int |
body_lineno |
|
long |
body_start |
|
long |
def_end |
|
int |
example_lineno |
|
long |
example_start |
|
long |
help_chksum |
|
long |
help_end |
|
long |
help_start |
|
long |
proc_end |
|
long |
proc_start |
|
◆ uprocinfodata
◆ procinfo
Definition at line 52 of file subexpr.h.
Data Fields |
procinfodata |
data |
|
char |
is_static |
|
language_defs |
language |
|
char * |
libname |
|
package |
pack |
|
char * |
procname |
|
short |
ref |
|
char |
trace_flag |
|
◆ _ssubexpr
◆ leftv
◆ libstackv
◆ procinfov
◆ language_defs
Enumerator |
---|
LANG_NONE | |
LANG_TOP | |
LANG_SINGULAR | |
LANG_C | |
LANG_MIX | |
LANG_MAX | |
Definition at line 21 of file subexpr.h.
◆ assumeStdFlag()
◆ piCopy()
◆ piKill()
Definition at line 663 of file ipid.cc.
674 if (
p->pi==
pi &&
pi->ref <= 1)
676 Warn(
"`%s` in use, can not be killed",
pi->procname);
689 if (
pi->data.s.body !=
NULL)
◆ piProcinfo()
Definition at line 639 of file ipid.cc.
643 else if (strcmp(request,
"libname") == 0)
return pi->libname;
644 else if (strcmp(request,
"procname") == 0)
return pi->procname;
645 else if (strcmp(request,
"type") == 0)
647 switch (
pi->language)
650 case LANG_C:
return "object";
break;
652 default:
return "unknown language";
655 else if (strcmp(request,
"ref") == 0)
658 sprintf(
p,
"%d",
pi->ref);
◆ piShowProcinfo()
void piShowProcinfo |
( |
procinfov |
pi, |
|
|
char * |
txt |
|
) |
| |
◆ RingDependend()
◆ s_internalDelete()
void s_internalDelete |
( |
const int |
t, |
|
|
void * |
d, |
|
|
const ring |
r |
|
) |
| |
Definition at line 513 of file subexpr.cc.
535 number2 n=(number2)d;
628 Print(
"currRing? ref=%d\n",
R->ref);
641 if (cmd->arg1.rtyp!=0) cmd->arg1.CleanUp(r);
642 if (cmd->arg2.rtyp!=0) cmd->arg2.CleanUp(r);
643 if (cmd->arg3.rtyp!=0) cmd->arg3.CleanUp(r);
675 if (
b!=
NULL)
b->blackbox_destroy(
b,d);
679 Warn(
"s_internalDelete: cannot delete type %s(%d)",
◆ syMake()
Definition at line 1577 of file subexpr.cc.
1595 if ((*
id<
' ')||(*
id>(
char)126))
1597 Print(
"wrong id :%s:\n",
id);
1604 v->req_packhdl =
pa;
1614 if (!isdigit(
id[0]))
1616 if (strcmp(
id,
"basering")==0)
1630 else if (strcmp(
id,
"Current")==0)
1646 h=
v->req_packhdl->idroot->get(
id,
myynest);
1671 v->data = (
void *)
p;
1682 if (ok && (
p!=
NULL))
1709 v->data = (
void *)
nInit(0);
1729 #ifdef HAVE_SHIFTBBA
1756 v->data = (
void *)
nInit(0);
1813 if (strcmp(
id,
"_")==0)
1838 v->data = (
char *)
h;
◆ libstack_bin
◆ procinfo_bin
◆ siq
◆ sLastPrinted
◆ sSubexpr_bin
#define pIsConstant(p)
like above, except that Comp must be 0
static void pLmFree(poly p)
frees the space of the monomial m, assumes m != NULL coef is not freed, m is not advanced
complex floating point (GMP) numbers
CanonicalForm map(const CanonicalForm &primElem, const Variable &alpha, const CanonicalForm &F, const Variable &beta)
map from to such that is mapped onto
void sBucketDeleteAndDestroy(sBucket_pt *bucket_pt)
static FORCE_INLINE void n_Delete(number *p, const coeffs r)
delete 'p'
static FORCE_INLINE int n_NumberOfParameters(const coeffs r)
Returns the number of parameters.
Class used for (list of) interpreter objects.
int r_IsRingVar(const char *n, char **names, int N)
void id_Delete(ideal *h, ring r)
deletes an ideal/module/matrix
VAR omBin sip_command_bin
#define omFreeBinAddr(addr)
static void p_LmDelete(poly p, const ring r)
BOOLEAN piKill(procinfov pi)
static FORCE_INLINE const char ** n_ParameterNames(const coeffs r)
Returns a (const!) pointer to (const char*) names of parameters.
static void p_Delete(poly *p, const ring r)
VAR BOOLEAN yyInRingConstruction
BOOLEAN assumeStdFlag(leftv h)
static FORCE_INLINE char * nCoeffName(const coeffs cf)
VAR char my_yylinebuf[80]
BOOLEAN pa(leftv res, leftv args)
const Variable & v
< [in] a sqrfree bivariate poly
static long p_Totaldegree(poly p, const ring r)
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
idhdl ggetid(const char *n)
const CanonicalForm int s
const char * Tok2Cmdname(int tok)
static number & pGetCoeff(poly p)
return an alias to the leading coefficient of p assumes that p != NULL NOTE: not copy
#define omFreeBin(addr, bin)
INST_VAR sleftv sLastPrinted
blackbox * getBlackboxStuff(const int t)
return the structure to the type given by t
void syKillComputation(syStrategy syzstr, ring r=currRing)
void nKillChar(coeffs r)
undo all initialisations