1 #include "def.h"
2 #include "macro.h"
3 
4 INT tmp___faktor();
5 INT ppe___();
plet_monomial_elmsym(a,b,c)6 INT plet_monomial_elmsym(a,b,c) OP a,b,c;
7 /* AK 061201
8 */
9 {
10     INT t=0,erg = OK;
11     CTTTTO(HASHTABLE,INTEGER,PARTITION,MONOMIAL,"plet_monomial_elmsym(1)",a);
12     CTTTTO(INTEGER,HASHTABLE,PARTITION,ELMSYM,"plet_monomial_elmsym(2)",b);
13     CTTTO(EMPTY,HASHTABLE,ELMSYM,"plet_monomial_elmsym(3)",c);
14 
15     if (S_O_K(c) == EMPTY)
16          { t=1; init_hashtable(c); }
17 /*
18     pse___(a,b,c,cons_eins);
19 */
20     {
21     /* via ppe with change of basis */
22     OP f = CALLOCOBJECT();
23     erg += init_hashtable(f);
24     erg += tmp___faktor(a,f,cons_eins);
25     erg += ppe___(f,b,c,cons_eins);
26     FREEALL(f);
27     }
28 
29     if (t==1) t_HASHTABLE_ELMSYM(c,c);
30     ENDR("plet_monomial_elmsym");
31 }
32 
33 
34