polyint: Anti-derivative of Polynomial

Description Usage Arguments Details Value See Also Examples

Description

Integrate polynomials.

Usage

1
  polyint(p, k)

Arguments

p

polynomial p given as a vector

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

polyval, polyder

Examples

1
  polyint(c(1, 1, 1, 1, 1), 1)


Search within the pracma package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.