Closed sroussey closed 6 months ago
https://github.com/ashvardanian/SimSIMD/blob/a29f68a0eb08214d5cbdf6bb9e1be3857d27598c/javascript/test/simsimd.test.js#L41
Why is the dot product not 32?
@sroussey because that's the inner-product distance, not just the inner product. It's computed as $1 - ab$.
Ah, got it! Thx.
https://github.com/ashvardanian/SimSIMD/blob/a29f68a0eb08214d5cbdf6bb9e1be3857d27598c/javascript/test/simsimd.test.js#L41
Why is the dot product not 32?