PolynomF (version 2.0-2)

coef.polynom: Polynomial coefficients

Description

Extract polynomial coefficients

Usage

# S3 method for polynom
coef(object, ...)

# S3 method for polylist coef(object, ...)

Arguments

object

A polynomial object or list thereof

...

Ignored

Value

A numeric vector of coefficients

Examples

Run this code
# NOT RUN {
p <- polynomial(1:3)*polynomial(5:1)
coef(p)
# }

Run the code above in your browser using DataLab