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

Function getFactors

src/traces/surface/convert.js:173–182  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

171}
172
173function getFactors(a) {
174 var powers = [];
175 for(var i = 0; i < shortPrimes.length; i++) {
176 var b = shortPrimes[i];
177 powers.push(
178 getPow(a, b)
179 );
180 }
181 return powers;
182}
183
184function smallestDivisor(a) {
185 var A = getFactors(a);

Callers 2

smallestDivisorFunction · 0.85
leastCommonMultipleFunction · 0.85

Calls 1

getPowFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…