Libraryless. Click here for Pure Java version (3896L/22K).
1 | static double normalizationFactor(double[] l, double targetMax default 1) {
|
2 | ret doubleRatio(targetMax, doubleMax(l)); |
3 | } |
Began life as a copy of #1033034
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033041 |
| Snippet name: | normalizationFactor |
| Eternal ID of this version: | #1033041/3 |
| Text MD5: | 3f917520588d57af3e67f5addc7f324d |
| Transpilation MD5: | 7df6a2188899c6a615f8ce78e555a3a1 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-10-11 17:28:47 |
| Source code size: | 123 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 403 / 512 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |