Polynomial derivative

From Rosetta Code
Revision as of 02:01, 9 November 2021 by JsfasdF256 (talk | contribs) (Created page with "{{draft task}} Given a polynomial, represented by an ordered list of its coefficients (e.g. [-1, 6, 5] represents 5x<sup>2</sup>+6x-1), calculate the polynomial representing t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Polynomial derivative is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.

Given a polynomial, represented by an ordered list of its coefficients (e.g. [-1, 6, 5] represents 5x2+6x-1), calculate the polynomial representing the derivative. For example, the derivative of the aforementioned polynomial is 10x+6, represented by [6, 10].