MCPcopy
hub / github.com/microsoft/SandDance / addScalar

Method addScalar

docs/app/js/sanddance-app.js:69356–69359  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

69354 return this.check();
69355 }
69356 addScalar(a) {
69357 for(let i = 0; i < this.ELEMENTS; ++i)this[i] += a;
69358 return this.check();
69359 }
69360 subScalar(a) {
69361 return this.addScalar(-a);
69362 }

Callers 1

subScalarMethod · 0.95

Calls 1

checkMethod · 0.95

Tested by

no test coverage detected