polyint {pracma} | R Documentation |
Anti-derivative of Polynomial
Description
Integrate polynomials.
Usage
polyint(p, k)
Arguments
p |
polynomial |
k |
an integration constant |
Details
Calculates the integral, i.e. the antiderivative, of a polynomial
and adds a constant of integration k
if given, else 0.
Value
a vector representing a polynomial
See Also
Examples
polyint(c(1, 1, 1, 1, 1), 1)
[Package pracma version 2.4.4 Index]