PolynomF (version 2.0-2)

deriv.polynom: Polynomial Calculus

Description

Find the derivative or indefinite integral of a polynomial object, or list thereof.

Usage

# S3 method for polynom
deriv(expr, ...)

integral(expr, ...)

# S3 method for default integral(expr, ...)

# S3 method for polynom integral(expr, limits = NULL, ...)

# S3 method for polylist deriv(expr, ...)

# S3 method for polylist integral(expr, ...)

Arguments

expr

A polynomial object, or list thereof

...

Unused as yet

limits

Real limits of a definite integral

Value

A coeffieient vector, or list thereof

Examples

Run this code
# NOT RUN {
p <- poly_from_roots(-2:3)
p
deriv(p)
integral(p)
# }

Run the code above in your browser using DataLab