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: [EMAIL PROTECTED]

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.

Reply via email to