MCPcopy Create free account
hub / github.com/idank/explainshell / d3_transformDot

Function d3_transformDot

explainshell/web/static/js/d3.v3.js:4660–4662  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

4658 return "translate(" + this.translate + ")rotate(" + this.rotate + ")skewX(" + this.skew + ")scale(" + this.scale + ")";
4659 };
4660 function d3_transformDot(a, b) {
4661 return a[0] * b[0] + a[1] * b[1];
4662 }
4663 function d3_transformNormalize(a) {
4664 var k = Math.sqrt(d3_transformDot(a, a));
4665 if (k) {

Callers 2

d3_transformFunction · 0.85
d3_transformNormalizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected