integral

Indefinite integral of polynomial p(u)

Syntax

p2 = integral(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: Polynomial coefficients of indefinite integral of polynomial p1 (polynomial p2 + C is the indefinite integral of p1, where C is an arbitrary constant)