 |
My Project
debian-1:4.1.2-p1+ds-2
|
Go to the source code of this file.
|
package | paCopy (package pack) |
|
void | paKill (package pack) |
|
BOOLEAN | load_builtin (const char *newlib, BOOLEAN autoexport, SModulFunc_t init) |
|
void | module_help_main (const char *newlib, const char *help) |
|
void | module_help_proc (const char *newlib, const char *p, const char *help) |
|
idhdl | enterid (const char *a, int lev, int t, idhdl *root, BOOLEAN init=TRUE, BOOLEAN serach=TRUE) |
|
idhdl | ggetid (const char *n) |
|
void | killid (const char *a, idhdl *i) |
|
void | killhdl (idhdl h, package prooti=currPack) |
|
void | killhdl2 (idhdl h, idhdl *ih, ring r) |
|
lists | ipNameList (idhdl root) |
|
lists | ipNameListLev (idhdl root, int lev) |
|
void | ipMoveId (idhdl h) |
|
BOOLEAN | checkPackage (package pack) |
|
idhdl | packFindHdl (package r) |
|
void | jjNormalizeQRingP (poly &p) |
|
void | jjNormalizeQRingId (leftv I) |
|
void * | idrecDataInit (int t) |
|
void | ipListFlag (idhdl h) |
|
◆ sip_command
◆ sip_package
◆ soptionStruct
Definition at line 144 of file ipid.h.
Data Fields |
const char * |
name |
|
unsigned |
resetval |
|
unsigned |
setval |
|
◆ FLAG_QRING
◆ FLAG_STD
◆ FLAG_TWOSTD
◆ hasFlag
◆ IDATTR
#define IDATTR |
( |
|
a | ) |
((a)->attribute) |
◆ IDBIGINT
#define IDBIGINT |
( |
|
a | ) |
((a)->data.n) |
◆ IDBIMAT
#define IDBIMAT |
( |
|
a | ) |
((a)->data.bim) |
◆ IDDATA
#define IDDATA |
( |
|
a | ) |
((a)->data.ustring) |
◆ IDFLAG
#define IDFLAG |
( |
|
a | ) |
((a)->flag) |
◆ IDID
#define IDID |
( |
|
a | ) |
((a)->id) |
◆ IDIDEAL
#define IDIDEAL |
( |
|
a | ) |
((a)->data.uideal) |
◆ IDINT
#define IDINT |
( |
|
a | ) |
((int)(long)((a)->data.ustring)) |
◆ IDINTVEC
#define IDINTVEC |
( |
|
a | ) |
((a)->data.iv) |
◆ IDLEV
#define IDLEV |
( |
|
a | ) |
((a)->lev) |
◆ IDLINK
#define IDLINK |
( |
|
a | ) |
((a)->data.li) |
◆ IDLIST
#define IDLIST |
( |
|
a | ) |
((a)->data.l) |
◆ IDMAP
#define IDMAP |
( |
|
a | ) |
((a)->data.umap) |
◆ IDMATRIX
#define IDMATRIX |
( |
|
a | ) |
((a)->data.umatrix) |
◆ IDNEXT
#define IDNEXT |
( |
|
a | ) |
((a)->next) |
◆ IDNUMBER
#define IDNUMBER |
( |
|
a | ) |
((a)->data.n) |
◆ IDPACKAGE
#define IDPACKAGE |
( |
|
a | ) |
((a)->data.pack) |
◆ IDPOLY
#define IDPOLY |
( |
|
a | ) |
((a)->data.p) |
◆ IDPROC
#define IDPROC |
( |
|
a | ) |
((a)->data.pinf) |
◆ IDRING
#define IDRING |
( |
|
a | ) |
((a)->data.uring) |
◆ IDROOT
◆ IDSTRING
#define IDSTRING |
( |
|
a | ) |
((a)->data.ustring) |
◆ IDTYP
#define IDTYP |
( |
|
a | ) |
((a)->typ) |
◆ resetFlag
#define resetFlag |
( |
|
A, |
|
|
|
F |
|
) |
| (A)->flag&=~Sy_bit(F) |
◆ setFlag
#define setFlag |
( |
|
A, |
|
|
|
F |
|
) |
| (A)->flag|=Sy_bit(F) |
◆ command
◆ SModulFunc_t
◆ checkPackage()
◆ enterid()
Definition at line 264 of file ipid.cc.
280 if ((
h=(*root)->get(
s,lev))!=
NULL)
288 if (strcmp(
s,
"Top")==0)
344 *root = (*root)->
set(
s, lev, t, init);
352 Werror(
"identifier `%s` in use",
s);
◆ ggetid()
◆ idrecDataInit()
void* idrecDataInit |
( |
int |
t | ) |
|
Definition at line 124 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);
◆ ipListFlag()
void ipListFlag |
( |
idhdl |
h | ) |
|
◆ ipMoveId()
◆ ipNameList()
◆ ipNameListLev()
◆ jjNormalizeQRingId()
void jjNormalizeQRingId |
( |
leftv |
I | ) |
|
◆ jjNormalizeQRingP()
void jjNormalizeQRingP |
( |
poly & |
p | ) |
|
◆ killhdl()
◆ killhdl2()
Definition at line 414 of file ipid.cc.
428 if (
h->attribute!=
NULL)
433 h->attribute->killAll(r);
439 || (strcmp(
IDID(
h),
"Top")==0))
491 PrintS(
">>?<< not found for kill\n");
◆ killid()
◆ load_builtin()
Definition at line 1239 of file iplib.cc.
1255 pl =
basePack->idroot->get(plib,0);
1283 (*init)(&sModulFunctions);
◆ module_help_main()
void module_help_main |
( |
const char * |
newlib, |
|
|
const char * |
help |
|
) |
| |
Definition at line 1291 of file iplib.cc.
1297 Werror(
">>%s<< is not a package (trying to add package help)",plib);
◆ module_help_proc()
void module_help_proc |
( |
const char * |
newlib, |
|
|
const char * |
p, |
|
|
const char * |
help |
|
) |
| |
Definition at line 1306 of file iplib.cc.
1312 Werror(
">>%s<< is not a package(trying to add help for %s)",plib,
p);
1319 strncpy(buff,
p,255);
1320 strncat(buff,
"_help",255-strlen(
p));
◆ packFindHdl()
◆ paCopy()
◆ paKill()
◆ basePack
◆ basePackHdl
◆ coeffs_BIGINT
◆ currPack
◆ currPackHdl
◆ currRingHdl
◆ idrec_bin
◆ optionStruct
◆ procstack
◆ sip_command_bin
◆ sip_package_bin
◆ sleftv_bin
◆ verboseStruct
void iiCheckPack(package &p)
int(* iiArithAddCmd)(const char *szName, short nAlias, short nTokval, short nToktype, short nPos)
#define idDelete(H)
delete an ideal
idhdl enterid(const char *s, int lev, int t, idhdl *root, BOOLEAN init, BOOLEAN search)
CanonicalForm map(const CanonicalForm &primElem, const Variable &alpha, const CanonicalForm &F, const Variable &beta)
map from to such that is mapped onto
int search(const CFArray &A, const CanonicalForm &F, int i, int j)
search for F in A between index i and j
Class used for (list of) interpreter objects.
int iiAddCproc(const char *libname, const char *procname, BOOLEAN pstatic, BOOLEAN(*func)(leftv res, leftv v))
idhdl packFindHdl(package r)
void PrintS(const char *s)
void killhdl2(idhdl h, idhdl *ih, ring r)
char * iiConvName(const char *libname)
sBucket_pt sBucketCreate(const ring r)
BOOLEAN lRingDependend(lists L)
void paKill(package pack)
int iiArithAddCmd(const char *szName, short nAlias, short nTokval, short nToktype, short nPos)
static FORCE_INLINE number n_Init(long i, const coeffs r)
a number representing i in the given coeff field/ring r
int iiAddCprocTop(const char *libname, const char *procname, BOOLEAN pstatic, BOOLEAN(*func)(leftv res, leftv v))
static int ipSwapId(idhdl tomove, idhdl &root1, idhdl &root2)
poly kNF(ideal F, ideal Q, poly p, int syzComp, int lazyReduce)
void Werror(const char *fmt,...)
ideal idInit(int idsize, int rank)
initialise an ideal / module
void WerrorS(const char *s)
VAR char my_yylinebuf[80]
void s_internalDelete(const int t, void *d, const ring r)
BOOLEAN pa(leftv res, leftv args)
const Variable & v
< [in] a sqrfree bivariate poly
INLINE_THIS void Init(int l=0)
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
const CanonicalForm int s
int(* iiAddCproc)(const char *libname, const char *procname, BOOLEAN pstatic, BOOLEAN(*func)(leftv res, leftv v))
idhdl set(const char *s, int lev, int t, BOOLEAN init=TRUE)
#define omFreeBin(addr, bin)
blackbox * getBlackboxStuff(const int t)
return the structure to the type given by t