´

m_function_reihe

synopsis: INT m_function_reihe(INT (*f)(); OP a);

description:

you enter a function f, which computes an coefficent of the series, which is specified by an paramter of the function. The result is a object a of type REIHE. The syntax of the function f is described now in detail: INT f(OP a,b) a is a INTEGER object which gives the common degree of the coefficents, which should be computed. The result b must be of the type POLYNOM object. This POLYNOM object is homogenous of the entered degree.

example:

 the following routine computes the series

 sum over all partitions, entered in exponent notation

#include "def.h"
#include "macro.h"

 INT co_part(a,b) OP a,b;
 {
 if (S_I_I(a) == 0L)
 m_iindex_iexponent_monom(0L,0L,b);
 else
 {
 OP c = callocobject();
 OP d;
 INT i;
 makevectorofpart(a,c);
 init(POLYNOM,b);

 for (i=0;i


Send comments or suggestions to:
symmetrica (at) symmetrica.de

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

University of Bayreuth -