Convert a Given Side Function to Side Generating Function

Share:

Description

The resulting function linearly scales the input and passes it to the original function.

Usage

1
convertSide(f, x1, x2)

Arguments

f

a function defined on [x1,x2]

x1

numeric vector of length 1; if longer, only the first element is used

x2

numeric vector of length 1; if longer, only the first element is used

Details

The function works for x1<x2 and x1>x2.

Value

Returns a new function defined on [0,1] (scaled input).

See Also

FuzzyNumber

Other auxiliary: approxInvert; convertAlpha

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.