MCPcopy Index your code
hub / github.com/microsoft/SandDance / add

Method add

docs/app/js/sanddance-app.js:69323–69326  ·  view source on GitHub ↗
(...vectors)

Source from the content-addressed store, hash-verified

69321 return this.check();
69322 }
69323 add(...vectors) {
69324 for (const vector of vectors)for(let i = 0; i < this.ELEMENTS; ++i)this[i] += vector[i];
69325 return this.check();
69326 }
69327 subtract(...vectors) {
69328 for (const vector of vectors)for(let i = 0; i < this.ELEMENTS; ++i)this[i] -= vector[i];
69329 return this.check();

Callers

nothing calls this directly

Calls 1

checkMethod · 0.95

Tested by

no test coverage detected