MCPcopy Create free account
hub / github.com/arguiot/TheoremJS / range

Method range

__test__/theorem.js:1338–1340  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

1336 return Array(len).fill(0).map((_, index) => startingPoint + (stepSize * index));
1337 }
1338 range(n) {
1339 return this.arange(0, n, 1);
1340 }
1341 reshape(array, part) {
1342 const tmp = [];
1343 for (let i = 0; i < array.length; i += part) {

Callers 1

test.jsFile · 0.80

Calls 1

arangeMethod · 0.95

Tested by

no test coverage detected