Indefinite integral of polynomial p(u)
function integral extends Modelica.Icons.Function; input Real p1[:] "Polynomial coefficients (p1[1] is coefficient of highest power)"; output Real p2[size(p1, 1) + 1] "Polynomial coefficients of indefinite integral of polynomial p1 (polynomial p2 + C is the indefinite integral of p1, where C is an arbitrary constant)"; end integral;