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

Function prod

test/compute-engine/linear-algebra.test.ts:611–611  ·  view source on GitHub ↗
(m: Expression)

Source from the content-addressed store, hash-verified

609 expect(result.toString()).toMatchInlineSnapshot(`[9,12,15]`);
610 });
611
612 // Vector × Vector (dot product)
613 it('should compute dot product of two vectors', () => {
614 // [7, 11] · [7, 11] = 49 + 121 = 170

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected