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

5
LINES

< > BotCompany Repo | #1033255 // repDouble

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

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

1  
static double[] repDouble(int n, double d) {
2  
  double[] a = new[n];
3  
  for i to n: a[i] = d;
4  
  ret a;
5  
}

Author comment

Began life as a copy of #1033080

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033255
Snippet name: repDouble
Eternal ID of this version: #1033255/2
Text MD5: 1d8d323ce955eb19d5e56ea2a7dd39db
Transpilation MD5: e321938bb2cbf4a3b82e7666339cb4e2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-17 21:44:46
Source code size: 106 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 140 / 199
Version history: 1 change(s)
Referenced in: [show references]