Differentiate a polynomial.
Numeric.poly.der(coefficients, order = 1, scale = 1, basis = 'poly')Applies differentiation repeatedly to reach the order.
- Parameters:
coefficients: Coefficients of the source polynomialorder: Number of derivatives to applyscale: Scaling factor applied to each derivativebasis: Polynomial basis or axis indexlevel: Axis index when the basis is numeric
- Returns: Coefficients of the differentiated polynomial
- NumPy: Covers
np.polynomial.polynomial.polyder,np.polynomial.chebyshev.chebder,np.polynomial.legendre.legder,np.polynomial.hermite.hermder,np.polynomial.hermite_e.hermeder,np.polynomial.laguerre.lagder,np.polyderthrough a single Numerix method.
import Numeric from '@neabyte/numerix'
const coefficients = Numeric.poly.der([1, 2, 3])
console.log(coefficients)
// [2,6]import Numeric from '@neabyte/numerix'
const coefficients = Numeric.poly.der([1, 2, 3], 2)
console.log(coefficients)
// [6]import Numeric from '@neabyte/numerix'
const coefficients = Numeric.poly.der([1, 2, 3], 1, 2)
console.log(coefficients)
// [4,12]import Numeric from '@neabyte/numerix'
const coefficients = Numeric.poly.der([5])
console.log(coefficients)
// [0]