[R] Coefficients of a 2-argument generating function

From: Serguei Kaniovski <kaniovsk_at_wifo.ac.at>
Date: Fri 27 Oct 2006 - 06:25:00 GMT


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@wifo.ac.at

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

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Sat Oct 28 01:33:54 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 27 Oct 2006 - 16:30:13 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.