Libraryless. Click here for Pure Java version (36L/1K).
1 | static double[] cloneDoubleArray(double[] a) {
|
2 | if (a == null) null; |
3 | double[] b = new[a.length]; |
4 | System.arraycopy(a, 0, b, 0, a.length); |
5 | ret b; |
6 | } |
Began life as a copy of #1034926
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
| Snippet ID: | #1036137 |
| Snippet name: | cloneDoubleArray |
| Eternal ID of this version: | #1036137/1 |
| Text MD5: | 13a02fe16dc65b50e03ffc68ff85ccce |
| Transpilation MD5: | 3aa08652f1ecd4d0042d69ed499bab64 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-09-28 18:43:44 |
| Source code size: | 157 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 351 / 452 |
| Referenced in: | [show references] |