MCPcopy Create free account
hub / github.com/arguiot/TheoremJS / linspace.js

File linspace.js

src/includes/functions/array/linspace.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1linspace(start, end, n) {
2 const diff = end - start;
3 const step = diff / n;
4 return this.arange(start, end, step);

Callers

nothing calls this directly

Calls 1

arangeMethod · 0.80

Tested by

no test coverage detected