Transpiled version (3187L) is out of date.
1 | static double transformToZeroToOne(double x, DoubleRange src) { |
2 | ret doubleRatio(x-src.start, src.length()); |
3 | } |
4 | |
5 | static double transformToZeroToOne(double x, double srcStart, double srcEnd) { |
6 | ret doubleRatio(x-srcStart, srcEnd-srcStart); |
7 | } |
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: | 158 / 221 |
Version history: | 2 change(s) |
Referenced in: | [show references] |