inverse: Inverse of a function

View source: R/KneeArrow.R

inverseR Documentation

Inverse of a function

Description

Inverse of a function

Usage

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

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

agentlans/KneeArrower documentation built on May 17, 2022, 7:32 p.m.