Re: [R] Elementary Symmetric Polynomials

2009-07-23 Thread davidr
s Sent: Tuesday, July 21, 2009 5:11 PM To: r-help@r-project.org Subject: [R] Elementary Symmetric Polynomials We are interested in obtaining an efficient function that for a given vector of length t will output a vector of length t+1 that contains the associated values of the elementary symmetric

[R] Elementary Symmetric Polynomials

2009-07-21 Thread Austin H. Jones
We are interested in obtaining an efficient function that for a given vector of length t will output a vector of length t+1 that contains the associated values of the elementary symmetric polynomials in t variables. Below is what we have at the moment, but it is a little slow for our needs. Any