Libraryless. Click here for Pure Java version (36L/1K).
1 | static double[] takeFirstFromFloatArrayAsDoubleArray(float[] a, int n) { |
2 | double[] b = new[n]; |
3 | for i to n: |
4 | b[i] = a[i]; |
5 | ret b; |
6 | } |
Began life as a copy of #1006736
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1036278 |
Snippet name: | takeFirstFromFloatArrayAsDoubleArray |
Eternal ID of this version: | #1036278/1 |
Text MD5: | 8ec905baac4af891f393e49ccd792f95 |
Transpilation MD5: | bb17b377b0e225e81c77cf11f0b0f401 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-11-08 13:08:56 |
Source code size: | 142 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 178 / 247 |
Referenced in: | [show references] |