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

Method flatten

__test__/theorem.js:1322–1324  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

1320 return new BigNumber(n, base);
1321 }
1322 flatten(array) {
1323 return array.reduce((a, b) => a.concat(b), []);
1324 }
1325 linspace(start, end, n) {
1326 const diff = end - start;
1327 const step = diff / n;

Callers 1

test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected