Convert a Given Side Function to Side Generating Function
The resulting function linearly scales the input and passes it to the original function.
convertSide(f, x1, x2)
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 |
The function works for x1<x2 and x1>x2.
Returns a new function defined on [0,1] (scaled input).
Other auxiliary: approxInvert
,
convertAlpha
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.