Ops.fractional {fractional}R Documentation

Method for the group generic function for the arithmetic operators

Description

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

Usage

## S3 method for class 'fractional'
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

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


[Package fractional version 0.1.3 Index]