Coefficients of polynomials maxima

Viewed 3664

Is there a built-in function in maxima to get from a polynomial function a list with its coefficients? And to get the degree of the polynomial?

The most similar function I found is args, but it also returns the variable together with the coefficient. I could have accepted this, still more when using length together with args would return the degree. The problem is that args doesn't work with zero-degree polynomials.

Is there another function that adjusts better to these purposes? Thanks in advance.

1 Answers
Related