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

Function sub

stackgl_modules/index.js:2457–2459  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

2455module.exports = sub
2456
2457function sub(a, b) {
2458 return rationalize(a[0].mul(b[1]).sub(a[1].mul(b[0])), a[1].mul(b[1]))
2459}
2460
2461
2462/***/ }),

Callers 3

orientation_3Function · 0.85
orientation_4Function · 0.85
orientation_5Function · 0.85

Calls 1

rationalizeFunction · 0.85

Tested by

no test coverage detected