predict.rationalfun: Evaluate a rational function

Description Usage Arguments Value See Also Examples

Description

Evaluate a rational function at a real or complex vector.

Usage

1
2
## S3 method for class 'rationalfun'
predict(object, newdata, ...)

Arguments

object

an object of class "rationalfun"

newdata

a vector at which evaluation is requested.

...

not used in this function Both real and complex vectors are accepted.

Value

A vector of evaluated results.

See Also

predict.polynomial

Examples

1
2
r <- rationalfun(c(1, 1), c(3, 2, 1))
predict(r, 1:10)


Search within the rationalfun package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.