Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1036278 // takeFirstFromFloatArrayAsDoubleArray

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (36L/1K).

static double[] takeFirstFromFloatArrayAsDoubleArray(float[] a, int n) {
  double[] b = new[n];
  for i to n:
    b[i] = a[i];
  ret b;
}

Author comment

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: 140 / 196
Referenced in: [show references]