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

5
LINES

< > BotCompany Repo | #1032701 // randomDoubles - return n doubles between a and b

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

Libraryless. Click here for Pure Java version (3890L/22K).

1  
static double[] randomDoubles(int n, double min, double max) {
2  
  double[] l = new[n];
3  
  for i to n: l[i] = random(min, max);
4  
  ret l;
5  
}

Author comment

Began life as a copy of #1002033

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032701
Snippet name: randomDoubles - return n doubles between a and b
Eternal ID of this version: #1032701/4
Text MD5: 274ecb90e6eda763133b932f8c7c640a
Transpilation MD5: 438c32c994a27afeae5ae83506436f8b
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:13:36
Source code size: 139 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 132 / 198
Version history: 3 change(s)
Referenced in: [show references]