dot-relativeError: Compute relative error

Description Usage Arguments Details Value

Description

Computes the relative error between two numbers x and y.

Usage

1

Arguments

x

a number

y

a number

Details

The relative error e is defined as e = | 1 - x/y |

Value

The relative error between x and y


goncalves-lab/diffexpR documentation built on Oct. 26, 2021, 5:08 p.m.