compute_homsym_with_alphabet

synopsis: INT compute_homsym_with_alphabet(OP number,laenge,erg)

description:

computes the expansion of a homogenous(=complete) symmetric function labeled by a INTEGER number as a POLYNOM erg. The object number may also be a PARTITION or a HOM_SYM object. The INTEGER laenge specifies the length of the alphabet. Both routines are the same.

example:

 we check whether the multiplication of POLYNOM objects
 and HOM_SYM objects gives the same.

 #include "def.h"
 #include "macro.h"
 main()
 {
 OP a,b,c,d,e;
 anfang();
 a=callocobject(); b=callocobject(); c=callocobject();
 d=callocobject(); e=callocobject();


 scan(HOM_SYM,a); println(a);
 scan(INTEGER,c); compute_homsym_with_alphabet(a,c,d);
 println(d);
 mult(a,a,b);
 mult(d,d,e); println(b);
 compute_homsym_with_alphabet(b,c,d);
 println(d);
 if (NEQ(d,e))
 println(e);

 freeall(a); freeall(d); freeall(e); freeall(b); freeall(c);
 ende();
 }


Send comments or suggestions to:
symmetrica (at) symmetrica

this page was automatically generated on So Aug 10 12:23:27 CEST 2008 on the machine btn6xa