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

Function determinant_3

stackgl_modules/index.js:34218–34222  ·  view source on GitHub ↗
(sum, scale, prod, compress)

Source from the content-addressed store, hash-verified

34216}
34217
34218function determinant_3(sum, scale, prod, compress) {
34219 return function robustDeterminant3(m) {
34220 return compress(sum(scale(sum(prod(m[1][1], m[2][2]), prod(-m[1][2], m[2][1])), m[0][0]), sum(scale(sum(prod(m[1][0], m[2][2]), prod(-m[1][2], m[2][0])), -m[0][1]), scale(sum(prod(m[1][0], m[2][1]), prod(-m[1][1], m[2][0])), m[0][2]))))
34221 }
34222}
34223
34224function determinant_4(sum, scale, prod, compress) {
34225 return function robustDeterminant4(m) {

Callers

nothing calls this directly

Calls 2

sumFunction · 0.85
scaleFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…