map function to scale values

Issue #245 resolved
Turgut Guneysu created an issue

it will be a useful addition to have a map function to change ranges of input values.

my version is:

Comments (7)

  1. Bernat Romagosa

    To avoid confusing it with the map HOF, I'd call it something like "rescale". What do you think?

  2. John Maloney repo owner

    Thanks for adding this issue. Good point about calling it something other than “map”. Maybe:

    rescale _ from range ( _ , _) to ( _ , _)

  3. Wenjie Wu

    @Turgut Guneysu In the screenshot, the comment is right, but the code is wrong, out_min should be in the outer

  4. Log in to comment