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

Function proc

stackgl_modules/index.js:34250–34270  ·  view source on GitHub ↗
(det0, det1, det2, det3, det4, det5, CACHE, gen)

Source from the content-addressed store, hash-verified

34248]
34249
34250function proc(det0, det1, det2, det3, det4, det5, CACHE, gen) {
34251 return function robustDeterminant(m) {
34252 switch (m.length) {
34253 case 0:
34254 return det0(m)
34255 case 1:
34256 return det1(m)
34257 case 2:
34258 return det2(m)
34259 case 3:
34260 return det3(m)
34261 case 4:
34262 return det4(m)
34263 case 5:
34264 return det5(m)
34265 }
34266 var det = CACHE[m.length]
34267 if (!det) det = CACHE[m.length] = gen(m.length)
34268 return det(m)
34269 }
34270}
34271
34272function generateDispatch() {
34273 while(CACHE.length < NUM_EXPANDED) {

Callers 4

compileSurfaceProcedureFunction · 0.85
index.jsFile · 0.85
thunkFunction · 0.85
surfaceNetsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…