Convert Polynomial to Vector



What about (assuming p is the polynomial and x is the variable):

makelist(coeff(p,x,i),i,0,hipow(p,x));

-Alasdair

On 8/1/07, Bartlett, Charles S. <cbartlett at mitre.org> wrote:
>
>  How can I convert a polynomial to a vector in Maxima? i.e. the vector
> contains the coefficients of the polynomial.
>
> Thanks.
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>