Libraryless. Click here for Pure Java version (3810L/22K).
1 | static double[] sqrAll(double[] a) { |
2 | int n = l(a); |
3 | double[] l = new[n]; |
4 | for i to n: l[i] = sqr(a[i]); |
5 | ret l; |
6 | } |
Began life as a copy of #1032701
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1032703 |
Snippet name: | sqrAll |
Eternal ID of this version: | #1032703/1 |
Text MD5: | 61f854c40a9ae13a75d97f355dfa49d7 |
Transpilation MD5: | c1d581e4ed85befbaaf9c6de9fbb4937 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-02 05:17:03 |
Source code size: | 123 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 124 / 185 |
Referenced in: | [show references] |