My Project
Loading...
Searching...
No Matches
Singular
idrec.h
Go to the documentation of this file.
1
#ifndef IDREC_H
2
#define IDREC_H
3
/****************************************
4
* Computer Algebra System SINGULAR *
5
****************************************/
6
/*
7
* ABSTRACT interpreter type for variables
8
*/
9
10
#include "
Singular/lists.h
"
11
#include "
Singular/attrib.h
"
12
#include "
Singular/links/silink.h
"
13
14
class
bigintmat
;
15
typedef
union
uutypes
utypes;
16
union
uutypes
17
{
18
int
i
;
19
ring
uring
;
20
poly
p
;
21
number
n
;
22
ideal
uideal
;
23
map
umap
;
24
matrix
umatrix
;
25
char
*
ustring
;
26
intvec
*
iv
;
27
bigintmat
*
bim
;
28
lists
l
;
29
si_link
li
;
30
package
pack;
31
procinfo
*
pinf
;
32
};
33
34
class
idrec
35
{
36
public
:
37
/* !! do not change the first 6 entries !! (see subexpr.h: sleftv) */
38
idhdl
next
;
39
const
char
*
id
;
40
utypes
data
;
41
attr
attribute
;
42
BITSET
flag
;
43
int
typ
;
44
45
short
lev
;
46
short
ref
;
47
unsigned
long
id_i
;
48
49
idrec
() { memset(
this
,0,
sizeof
(*
this
)); }
50
inline
void
Init
() { memset(
this
,0,
sizeof
(*
this
)); }
51
idhdl
get(
const
char
*
s
,
int
lev);
52
idhdl
get_level(
const
char
*
s
,
int
lev);
53
idhdl
set(
const
char
*
s
,
int
lev,
int
t
/*typ*/
,
BOOLEAN
init=
TRUE
);
54
char
* String(
BOOLEAN
typed =
FALSE
);
55
// ~idrec();
56
};
57
58
#endif
59
attrib.h
BOOLEAN
int BOOLEAN
Definition:
auxiliary.h:87
TRUE
#define TRUE
Definition:
auxiliary.h:100
FALSE
#define FALSE
Definition:
auxiliary.h:96
map
CanonicalForm map(const CanonicalForm &primElem, const Variable &alpha, const CanonicalForm &F, const Variable &beta)
map from to such that is mapped onto
Definition:
cf_map_ext.cc:504
bigintmat
Matrices of numbers.
Definition:
bigintmat.h:51
idrec
Definition:
idrec.h:35
idrec::data
utypes data
Definition:
idrec.h:40
idrec::flag
BITSET flag
Definition:
idrec.h:42
idrec::Init
void Init()
Definition:
idrec.h:50
idrec::lev
short lev
Definition:
idrec.h:45
idrec::typ
int typ
Definition:
idrec.h:43
idrec::id_i
unsigned long id_i
Definition:
idrec.h:47
idrec::next
idhdl next
Definition:
idrec.h:38
idrec::ref
short ref
Definition:
idrec.h:46
idrec::attribute
attr attribute
Definition:
idrec.h:41
idrec::id
const char * id
Definition:
idrec.h:39
idrec::idrec
idrec()
Definition:
idrec.h:49
intvec
Definition:
intvec.h:23
ip_smatrix
Definition:
matpol.h:15
sattr
Definition:
attrib.h:21
slists
Definition:
lists.h:24
s
const CanonicalForm int s
Definition:
facAbsFact.cc:51
uutypes::uideal
ideal uideal
Definition:
idrec.h:22
uutypes::iv
intvec * iv
Definition:
idrec.h:26
uutypes::pinf
procinfo * pinf
Definition:
idrec.h:31
uutypes::uring
ring uring
Definition:
idrec.h:19
uutypes::umatrix
matrix umatrix
Definition:
idrec.h:24
uutypes::ustring
char * ustring
Definition:
idrec.h:25
uutypes::li
si_link li
Definition:
idrec.h:29
uutypes::umap
map umap
Definition:
idrec.h:23
uutypes::bim
bigintmat * bim
Definition:
idrec.h:27
uutypes::p
poly p
Definition:
idrec.h:20
uutypes::l
lists l
Definition:
idrec.h:28
uutypes::n
number n
Definition:
idrec.h:21
uutypes::i
int i
Definition:
idrec.h:18
uutypes
Definition:
idrec.h:17
lists.h
silink.h
si_link
ip_link * si_link
Definition:
silink.h:20
BITSET
#define BITSET
Definition:
structs.h:16
procinfo
Definition:
subexpr.h:54
Generated on Mon Feb 27 2023 10:53:50 for My Project by
doxygen 1.9.5
for
Singular