robust-dot-product

Exactly computes the dot product between two vectors

robust-dot-product

Exactly computes the dot product between vectors as an nonoverlapping increasing sequence.

npm install robust-dot-product
var robustDot = require("robust-dot-product")
 
robustDot([2, 3], [4, 5])

Computes the dot product of a and b as a nonoverlapping increasing sequence

  • a, b are both arrays of numbers

Returns A nonoverlapping increasing sequence representing the dot product of a and b

(c) 2013 Mikola Lysenko. MIT License