MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / muln

Method muln

src/compute-engine/tensor/tensor-fields.ts:150–152  ·  view source on GitHub ↗
(...xs: number[])

Source from the content-addressed store, hash-verified

148 */
149 expression(x: number): Expression {
150 if (this.holdsFloat && Number.isInteger(x))
151 return this.ce.number(this.ce._inexactNumericValue(x + 0));
152 return this.ce.number(x);
153 }
154
155 isZero(x: number): boolean {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected