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

Function muls

stackgl_modules/index.js:33992–34000  ·  view source on GitHub ↗
(a, x)

Source from the content-addressed store, hash-verified

33990module.exports = muls
33991
33992function muls(a, x) {
33993 var s = rat(x)
33994 var n = a.length
33995 var r = new Array(n)
33996 for(var i=0; i<n; ++i) {
33997 r[i] = mul(a[i], s)
33998 }
33999 return r
34000}
34001
34002
34003/***/ }),

Callers

nothing calls this directly

Calls 1

mulFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…