inverse: Inverse of a function

Description Usage Arguments Value Examples

View source: R/KneeArrow.R

Description

Inverse of a function

Usage

1
inverse(f, domain)

Arguments

f

univariate function

domain

domain of f given as (min, max) interval

Value

a function g such that f(x) = y and g(y) = x

Examples

1
2
expinv <- inverse(exp, c(0,3))
expinv(exp(1))

KneeArrower documentation built on Oct. 23, 2020, 8:07 p.m.