parse_polynomial

paminco.utils.readin.parse_polynomial(poly: str) list[source]

Get polynomial coefficients froms string.

May not be used with other mathematical functions.

Parameters
polystr

Polynomial string.

Returns
list of floats

Polynomial coefficients [x_0, x_1, …, x_n].