Calculate the derivative of a rational function. The returned value result is still an object of class "rationalfun".
## S3 method for class 'rationalfun' deriv(expr, ...)
an object of class "rationalfun"
not used in this function
An object of class "rationalfun" representing the derivative of the original rational function.
# (x + 1) / (x^2 + x + 1) r <- rationalfun(c(1, 1), c(1, 1, 1)) deriv(r)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.