Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/cazala/synaptic
/ generateRandomArray
Function
generateRandomArray
test/synaptic.js:34–39 ·
view source on GitHub ↗
(size)
Source
from the content-addressed store, hash-verified
32
}
33
34
function
generateRandomArray(size) {
35
var
array = [];
36
for
(
var
j = 0; j < size; j++)
37
array.push(Math.random() + .5 | 0);
38
return
array;
39
}
40
41
function
calculateMse(a, b) {
42
var
mse = 0;
Callers
1
synaptic.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected