MCPcopy 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
34function 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
41function calculateMse(a, b) {
42 var mse = 0;

Callers 1

synaptic.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected