MCPcopy Create free account
hub / github.com/microsoft/SandDance / multiply

Method multiply

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

Source from the content-addressed store, hash-verified

69187 return this.check();
69188 }
69189 multiply(...vectors) {
69190 for (const vector of vectors)for(let i = 0; i < this.ELEMENTS; ++i)this[i] *= vector[i];
69191 return this.check();
69192 }
69193 divide(...vectors) {
69194 for (const vector of vectors)for(let i = 0; i < this.ELEMENTS; ++i)this[i] /= vector[i];
69195 return this.check();

Callers 10

multiplyVectorsMethod · 0.45
multiplyLeftMethod · 0.45
multiplyRightMethod · 0.45
multiplyLeftMethod · 0.45
multiplyRightMethod · 0.45
multiplyRightMethod · 0.45
multiplyLeftMethod · 0.45
calculateMatrixAndOffsetFunction · 0.45
_initMatricesMethod · 0.45
sanddance-app.jsFile · 0.45

Calls 1

checkMethod · 0.45

Tested by

no test coverage detected