Go to the source code of this file.
|
void | paCleanUp (package pack) |
|
int | iiS2I (const char *s) |
|
void * | idrecDataInit (int t) |
|
idhdl | enterid (const char *s, int lev, int t, idhdl *root, BOOLEAN init, BOOLEAN search) |
|
void | killid (const char *id, idhdl *ih) |
|
void | killhdl (idhdl h, package proot) |
|
void | killhdl2 (idhdl h, idhdl *ih, ring r) |
|
idhdl | ggetid (const char *n) |
|
void | ipListFlag (idhdl h) |
|
lists | ipNameList (idhdl root) |
|
lists | ipNameListLev (idhdl root, int lev) |
|
static int | ipSwapId (idhdl tomove, idhdl &root1, idhdl &root2) |
|
void | ipMoveId (idhdl tomove) |
|
const char * | piProcinfo (procinfov pi, const char *request) |
|
BOOLEAN | piKill (procinfov pi) |
|
idhdl | packFindHdl (package r) |
|
BOOLEAN | iiAlias (leftv p) |
|
◆ enterid()
Definition at line 265 of file ipid.cc.
288 if (strcmp(
s,
"Top")==0)
344 *root = (*root)->
set(
s, lev, t, init);
352 Werror(
"identifier `%s` in use",
s);
const CanonicalForm int s
idhdl get(const char *s, int lev)
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
void killhdl2(idhdl h, idhdl *ih, ring r)
int search(const CFArray &A, const CanonicalForm &F, int i, int j)
search for F in A between index i and j
void Werror(const char *fmt,...)
VAR char my_yylinebuf[80]
idhdl set(const char *s, int lev, int t, BOOLEAN init=TRUE)
◆ ggetid()
Definition at line 521 of file ipid.cc.
528 if (h2!=
NULL)
return h2;
530 if (h!=
NULL)
return h;
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
◆ idrecDataInit()
void* idrecDataInit |
( |
int |
t | ) |
|
Definition at line 125 of file ipid.cc.
132 return (
void*)n2Init(0,
NULL);
134 return (
void*)p2Init(0,
NULL);
144 WerrorS(
"need basering for polyBucket");
149 return (
void *)
new intvec();
161 return (
void*)
idInit(1,1);
183 package pa=(package)omAlloc0Bin(sip_package_bin);
209 #ifdef BLACKBOX_DEVEL 210 Print(
"bb-type %d\n",t);
214 return (
void *)bb->blackbox_Init(bb);
217 Werror(
"unknown type in idrecDataInit:%d",t);
CanonicalForm map(const CanonicalForm &primElem, const Variable &alpha, const CanonicalForm &F, const Variable &beta)
map from to such that is mapped onto
static FORCE_INLINE number n_Init(long i, const coeffs r)
a number representing i in the given coeff field/ring r
void WerrorS(const char *s)
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
sBucket_pt sBucketCreate(const ring r)
INLINE_THIS void Init(int l=0)
ideal idInit(int idsize, int rank)
initialise an ideal / module
BOOLEAN pa(leftv res, leftv args)
void Werror(const char *fmt,...)
blackbox * getBlackboxStuff(const int t)
return the structure to the type given by t
◆ iiAlias()
Definition at line 763 of file ipid.cc.
834 int eff_typ=h->
Typ();
CanonicalForm map(const CanonicalForm &primElem, const Variable &alpha, const CanonicalForm &F, const Variable &beta)
map from to such that is mapped onto
Class used for (list of) interpreter objects.
#define idDelete(H)
delete an ideal
EXTERN_VAR omBin sleftv_bin
void WerrorS(const char *s)
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
The main handler for Singular numbers which are suitable for Singular polynomials.
void CleanUp(ring r=currRing)
static FORCE_INLINE void n_Delete(number *p, const coeffs r)
delete 'p'
#define omFreeBin(addr, bin)
BOOLEAN lRingDependend(lists L)
static int ipSwapId(idhdl tomove, idhdl &root1, idhdl &root2)
void nKillChar(coeffs r)
undo all initialisations
void Werror(const char *fmt,...)
BOOLEAN iiAssign(leftv l, leftv r, BOOLEAN toplevel)
◆ iiS2I()
int iiS2I |
( |
const char * |
s | ) |
|
Definition at line 65 of file ipid.cc.
const CanonicalForm int s
◆ ipListFlag()
void ipListFlag |
( |
idhdl |
h | ) |
|
Definition at line 536 of file ipid.cc.
void PrintS(const char *s)
◆ ipMoveId()
void ipMoveId |
( |
idhdl |
tomove | ) |
|
Definition at line 621 of file ipid.cc.
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
BOOLEAN lRingDependend(lists L)
static int ipSwapId(idhdl tomove, idhdl &root1, idhdl &root2)
◆ ipNameList()
Definition at line 544 of file ipid.cc.
INLINE_THIS void Init(int l=0)
◆ ipNameListLev()
Definition at line 567 of file ipid.cc.
INLINE_THIS void Init(int l=0)
◆ ipSwapId()
◆ killhdl()
Definition at line 384 of file ipid.cc.
399 while ((s!=h) && (s!=
NULL)) s=s->
next;
405 while ((s!=h) && (s!=
NULL)) s=s->
next;
const CanonicalForm int s
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
void killhdl2(idhdl h, idhdl *ih, ring r)
BOOLEAN lRingDependend(lists L)
◆ killhdl2()
Definition at line 415 of file ipid.cc.
439 || (strcmp(
IDID(h),
"Top")==0))
491 PrintS(
">>?<< not found for kill\n");
void killAll(const ring r)
void paKill(package pack)
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
void killhdl2(idhdl h, idhdl *ih, ring r)
void s_internalDelete(const int t, void *d, const ring r)
void PrintS(const char *s)
idhdl packFindHdl(package r)
void iiCheckPack(package &p)
#define omFreeBin(addr, bin)
VAR char my_yylinebuf[80]
◆ killid()
Definition at line 357 of file ipid.cc.
375 Werror(
"`%s` is not defined",
id);
void WerrorS(const char *s)
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
void killhdl2(idhdl h, idhdl *ih, ring r)
void Werror(const char *fmt,...)
◆ packFindHdl()
◆ paCleanUp()
Definition at line 702 of file ipid.cc.
708 if( pack->language ==
LANG_C)
710 Print(
"//dlclose(%s)\n",pack->libname);
711 #ifdef HAVE_DYNAMIC_LOADING
int dynl_close(void *handle)
◆ piKill()
Definition at line 664 of file ipid.cc.
674 if (p->
pi==pi && pi->
ref <= 1)
695 memset((
void *) pi, 0,
sizeof(
procinfo));
#define omFreeBin(addr, bin)
◆ piProcinfo()
Definition at line 640 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)
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);
◆ basePack
◆ basePackHdl
◆ coeffs_BIGINT
◆ currPack
◆ currPackHdl
◆ currRingHdl
◆ idrec_bin
◆ procstack
◆ sip_command_bin
◆ sip_package_bin