Takes a call and returns its polynomial coefficients as numerics.
Method for putting a polynomial together given the coefficients and power from .polyExp()
.polyExp(tree, .x., params, iterate = 1).polyExp.num(tree, .x.)
.makePoly(form, poly)
coeffs
, of coefficients ordered high to low (i.e. the list (2,3,4) would correspond to
the polynomial 2*x^2+3*x+4 ) and value, pow
, indicating the order of the polynomial.
If the expression is not a polynomial, this method returns an empty list or an error.A list containing a list, coeffs
, of coefficients ordered high to low (i.e. the list (2,3,4) would correspond to
the polynomial 2*x^2+3*x+4 ) and value, pow
, indicating the order of the polynomial.
If the expression is not a polynomial, this method returns an empty list or an error.
A formula whose left hand side is a polynomial that fits the description given with the input poly.
works with the same structure as .polyExp() but will return only if all coefficients reduce to numeric values.