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

6
LINES

< > BotCompany Repo | #1032703 // sqrAll

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

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

static double[] sqrAll(double[] a) {
  int n = l(a);
  double[] l = new[n];
  for i to n: l[i] = sqr(a[i]);
  ret l;
}

Author comment

Began life as a copy of #1032701

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032703
Snippet name: sqrAll
Eternal ID of this version: #1032703/1
Text MD5: 61f854c40a9ae13a75d97f355dfa49d7
Transpilation MD5: c1d581e4ed85befbaaf9c6de9fbb4937
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:17:03
Source code size: 123 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 54 / 90
Referenced in: [show references]