derivative

Derivative of polynomial

Syntax

p2 = derivative(p1)

Inputs (1)

p1

Type: Real[:]

Description: Polynomial coefficients (p1[1] is coefficient of highest power)

Outputs (1)

p2

Type: Real[size(p1, 1) - 1]

Description: Derivative of polynomial p1