Libraryless. Click here for Pure Java version (3861L/22K).
static double[] doubleMul(double[] l, double factor) { if (factor == 1) ret l; int n = l(l); double[] x = new[n]; for i to n: x[i] = l[i]*factor; ret x; }
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: | #1033042 |
Snippet name: | doubleMul |
Eternal ID of this version: | #1033042/1 |
Text MD5: | 433279f450192412af76370f6f072c5e |
Transpilation MD5: | 7f4aed78e13becef373bc18ed7ae2e80 |
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:29:32 |
Source code size: | 175 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 225 / 246 |
Referenced in: | [show references] |