R: Utility methods for manipulating polylist objects

c.polylist {PolynomF} | R Documentation

## Utility methods for manipulating polylist objects

### Description

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

### Usage

    ## S3 method for class 'polylist'
    c(..., recursive = FALSE)
    ## S3 method for class 'polynom'
    c(..., recursive = FALSE)
    ## S3 method for class 'polylist'
    rep(x, times, ...)
    ## S3 method for class 'polynom'
    rep(x, times, ...)
    ## S3 method for class '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.

### Details

Perform familiar operations, retaining `polylist` class for the result.

### Value

An object of class `polylist`

### Author(s)

Kurt Hornik, modified by Bill Venables

### References

None

### Examples

    p <- poly.from.zeros(-3:4)
    p5 <- rep(polylist(p), 5)
    p5
    p6 <- c(p, p5)
    p6
    unique(p6)

[Package PolynomF version 1.0-1 Index]