Description Usage Arguments Details Value Author(s) References See Also Examples
Allows arithmetic with objects of class farsi
.
1 2 | ## S3 method for class 'farsi'
Ops(e1, e2)
|
e1, e2 |
Numeric vectors, of which at least one must be of class |
A standard group generic function that strips off the farsi
class from its arguments, invokes the next arithmetic operation method
and reinstates the class farsi
on the result.
A numeric vector of class farsi
.
Bill Venables
See original note by Sadegh Rasoulinejad at
1 | farsi(1:10)^2 + 1
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.