Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

polyint

Anti-derivative of Polynomial


Description

Integrate polynomials.

Usage

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

Examples

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

pracma

Practical Numerical Math Functions

v2.3.3
GPL (>= 3)
Authors
Hans W. Borchers [aut, cre]
Initial release
2021-01-22

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.