deriv.polynom {PolynomF}R Documentation

Polynomial Calculus

Description

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

Usage

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

integral(expr, ...)

## Default S3 method:
integral(expr, ...)

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

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

## S3 method for class '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

p <- poly_from_roots(-2:3)
p
deriv(p)
integral(p)

[Package PolynomF version 2.0-8 Index]