as.function.rationalfun | R Documentation |
This function converts an object of class "rationalfun" to a function.
## S3 method for class 'rationalfun' as.function(x, ...)
x |
an object of class "rationalfun" |
... |
not used in this function |
A function with one argument which could be a real or complex vector.
as.function.polynomial
r <- rationalfun(c(1, 1), c(3, 2, 1)) r f <- as.function(r) f f(1:10) f(1:10 + (0+2i))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.