Description Usage Arguments Value Examples

Basic arithmetic operators for rational functions.

1 2 | ```
## S3 method for class 'rationalfun'
Ops(e1, e2)
``` |

`e1` |
an object of class "rationalfun" |

`e2` |
for |

A new object of "rationalfun" class.

1 2 3 4 5 | ```
r1 <- rationalfun(c(1, 2), c(1, 2, 1))
r2 <- rationalfun(c(1, 1), c(1, -2, 1))
r1 + r2
r1 * r2
r1^2
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.