MCPcopy Index your code
hub / github.com/plotly/plotly.js / arrayLCM

Function arrayLCM

src/traces/surface/convert.js:209–216  ·  view source on GitHub ↗
(A)

Source from the content-addressed store, hash-verified

207}
208
209function arrayLCM(A) {
210 if(A.length === 0) return undefined;
211 var n = 1;
212 for(var i = 0; i < A.length; i++) {
213 n = leastCommonMultiple(n, A[i]);
214 }
215 return n;
216}
217
218proto.calcXnums = function(xlen) {
219 var i;

Callers 1

convert.jsFile · 0.85

Calls 1

leastCommonMultipleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…