compute_elmsym_with_alphabet
synopsis: INT compute_elmsym_with_alphabet(OP label,laenge,erg)
description:
computes the expansion of a elementary symmetric function labeled by a INTEGER label or by a PARTITION label or a ELM_SYM label as a POLYNOM erg. The INTEGER laenge specifies the length of the alphabet.example:
compares the multiplication of ELM_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(ELM_SYM,a); println(a); scan(INTEGER,c); compute_elmsym_with_alphabet(a,c,d); println(d); mult(a,a,b); mult(d,d,e); println(b); compute_elmsym_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