´

compute_powsym_with_alphabet

synopsis: INT compute_powsym_with_alphabet(OP label,laenge,erg)

description:

computes the expansion of a power symmetric function labeled by a INTEGER label or by a PARTITION label or a POW_SYM label as a POLYNOM erg. The INTEGER laenge specifies the length of the alphabet. another name for this routine is compute_power_with_alphabet().

example:

 compares the multiplication of POW_SYM and POLYNOM
#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(POW_SYM,a);
 println(a);
 scan(INTEGER,c);
 compute_powsym_with_alphabet(a,c,d); println(d);
 mult(a,a,b); mult(d,d,e); println(b);
 compute_powsym_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.de

this page was automatically generated on So Jan 4 10:36:13 CET 2009 on the machine btn6xf

University of Bayreuth -