poly-derivative

Differentiates polynomial

poly-derivative

Computes the derivative a polynomial. Formally the same thing as multiplying by the index and shifting left.

npm install poly-derivative
console.log(require("poly-derivative")([1, 2, 3, 4]))

Computes the derivative of a polynomial, with coefficients represented in increasing order.

  • coeffs are the coefficients of the polynomial

Returns The derivative of the polynomial

Credits

(c) 2013 Mikola Lysenko. MIT License