Learn R Programming

PolynomF (version 0.94)

c.polylist: Utility methods for manipulating polylist objects

Description

These three functions implement methods for well-known generic functions.

Usage

# S3 method for polylist
c(…, recursive = FALSE)
# S3 method for polylist
rep(x, times, …)
# S3 method for polylist
unique(x, incomparables = FALSE, …)

Arguments

As for the generic function.

x

As for the generic function.

recursive

As for the generic function.

times

As for the generic function.

incomparables

As for the generic function.

Value

An object of class polylist

Details

Perform familiar operations, retaining polylist class for the result.

References

None

Examples

Run this code
# NOT RUN {
p <- poly.from.zeros(-3:4)
p5 <- rep(polylist(p), 5)
p5
p6 <- c(p, p5)
p6
unique(p6)
# }

Run the code above in your browser using DataLab