PolynomF (version 2.0-8)

coef.polynom: Polynomial coefficients

Description

Extract polynomial coefficients

Usage

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

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

Value

A numeric vector of coefficients

Arguments

object

A polynomial object or list thereof

...

Ignored

Examples

Run this code
p <- polynomial(1:3)*polynomial(5:1)
coef(p)

Run the code above in your browser using DataLab