Wilang Documentation1.0.0+4

coeffs#

Read the coefficients of a polynomial.

Available in: math cells, REPL.

Syntax#

coeffs(expression, variable)

Arguments and behavior#

The coefficients are listed from the constant term upwards, and zero coefficients are kept so the list lines up with the powers. The example returns matrix.

Example#

Edit the inputs, then use Run or Reset. Changes stay in this example.

Example
coeffs("x^2+2*x+1", "x")

Expected result: matrix.

See also#

degree · polydiv · roots

All functions · Math guides