Definition at line 1941 of file tgb.cc.
◆ exp_number_builder()
exp_number_builder::exp_number_builder |
( |
| ) |
|
|
inline |
Definition at line 1947 of file tgb.cc.
1948 {
1949 }
poly_tree_node * top_level
◆ get_n()
int exp_number_builder::get_n |
( |
poly |
p | ) |
|
Definition at line 1951 of file tgb.cc.
1952{
1954 while(*node !=
NULL)
1955 {
1956 int c =
pLmCmp (
p, (*node)->p);
1957 if(c == 0)
1958 return (*node)->n;
1959 if(c == -1)
1960 node = &((*node)->r);
1961 else
1962 node = &((*node)->l);
1963 }
1967 return (*node)->n;
1968}
#define pLmInit(p)
like pInit, except that expvector is initialized to that of p, p must be != NULL
#define pLmCmp(p, q)
returns 0|1|-1 if p=q|p>q|p<q w.r.t monomial ordering
int exp_number_builder::n |
◆ top_level
The documentation for this class was generated from the following file: