deriv.polynom: Polynomial Calculus

View source: R/PolynomF.R

deriv.polynomR 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)

PolynomF documentation built on May 2, 2022, 9:07 a.m.