[R] Coefficients of a 2-argument generating function

Serguei Kaniovski kaniovsk at wifo.ac.at
Fri Oct 27 08:25:00 CEST 2006


How can I, starting from a vector "v[1:n]", efficiently compute the 
coefficients of a 2-argument generating function:

(1+x^v[1]*y)*(1+x^v[2]*y)*...*(1+x^v[n]*y)

and put them in a matrix.

Thanks,
Serguei Kaniovski
-- 
___________________________________________________________________

Austrian Institute of Economic Research (WIFO)

Name: Serguei Kaniovski			P.O.Box 91
Tel.: +43-1-7982601-231			Arsenal Objekt 20
Fax:  +43-1-7989386			1103 Vienna, Austria
Mail: Serguei.Kaniovski at wifo.ac.at

http://www.wifo.ac.at/Serguei.Kaniovski



More information about the R-help mailing list