Convert a Given Upper/Lower Alpha-Cut Function to an...

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

1 | ```
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`

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.