fractional (version 0.1.3)

Ops.fractional: Method for the group generic function for the arithmetic operators

Description

Provides arithmetic operations for numeric objects or of class "fractional".

Usage

"Ops"(e1, e2)

Arguments

e1
A numeric objet, possibly of class "fractional"
e2
A numeric objet, possibly of class "fractional"

Value

The result of the arithmetic operation, flagged as class "fractional"

Examples

Run this code
(M <- fractional(1:10/7))
M + 1
1 + M + M^2

Run the code above in your browser using DataLab