Transpiled version (3187L) is out of date.
static double transformToZeroToOne(double x, DoubleRange src) { ret doubleRatio(x-src.start, src.length()); } static double transformToZeroToOne(double x, double srcStart, double srcEnd) { ret doubleRatio(x-srcStart, srcEnd-srcStart); }
Began life as a copy of #1031928
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032086 |
Snippet name: | transformToZeroToOne |
Eternal ID of this version: | #1032086/3 |
Text MD5: | 66bdead8db5be1487f663a925be1d80b |
Author: | stefan |
Category: | javax / maths |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-11 13:43:02 |
Source code size: | 247 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 159 / 222 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1036102 - transformFromZeroToOne |