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
48
idrec
() { memset(
this
,0,
sizeof
(*
this
)); }
49
inline
void
Init
() { memset(
this
,0,
sizeof
(*
this
)); }
50
idhdl
get(
const
char
*
s
,
int
lev);
51
idhdl
get_level(
const
char
*
s
,
int
lev);
52
idhdl
set(
const
char
*
s
,
int
lev,
int
t
/*typ*/
,
BOOLEAN
init=
TRUE
);
53
char
* String(
BOOLEAN
typed =
FALSE
);
54
// ~idrec();
55
};
56
57
#endif
58
attrib.h
attr
sattr * attr
Definition
attrib.h:16
BITSET
#define BITSET
Definition
auxiliary.h:85
BOOLEAN
int BOOLEAN
Definition
auxiliary.h:88
TRUE
#define TRUE
Definition
auxiliary.h:101
FALSE
#define FALSE
Definition
auxiliary.h:97
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:505
bigintmat
Matrices of numbers.
Definition
bigintmat.h:51
idrec::data
utypes data
Definition
idrec.h:40
idrec::flag
BITSET flag
Definition
idrec.h:42
idrec::Init
void Init()
Definition
idrec.h:49
idrec::lev
short lev
Definition
idrec.h:45
idrec::typ
int typ
Definition
idrec.h:43
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:48
intvec
Definition
intvec.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
matrix
ip_smatrix * matrix
Definition
matpol.h:43
lists
slists * lists
Definition
mpr_numeric.h:146
idhdl
idrec * idhdl
Definition
ring.h:22
silink.h
si_link
ip_link * si_link
Definition
silink.h:20
procinfo
Definition
subexpr.h:54
Generated on Thu Mar 20 2025 00:00:00 for My Project by
doxygen 1.13.2
for
Singular