MCPcopy Create free account
hub / github.com/curiores/SerialAnalyzer / idxData

Function idxData

src/Utils/SerialData.js:207–215  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

205}
206
207function idxData(n) {
208 // Makes a vector of data starting at 0 and going up to n-1
209 // to create x-data for n points
210 var idxVec = [];
211 for (var i = 0; i < n; i++) {
212 idxVec.push(i);
213 }
214 return (idxVec);
215}
216

Callers 1

addDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected