commands → polynomial

polynomial(A,X)

The polynomial command creates a polynomial from a vector A and variable X. The coefficients in A should be given in ascending order.

Examples

polynomial([1,2,3,4],x);
        1+2*x+3*x^2+4*x^3