Skip to content
Exact dot product between two vectors
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
test
.gitignore
LICENSE
README.md
dot-prod.js
package.json

README.md

robust-dot-product

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

Install

npm install robust-dot-product

Example

var robustDot = require("robust-dot-product")

robustDot([2, 3], [4, 5])

require("robust-dot-product")(a, b)

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

Credits

(c) 2013 Mikola Lysenko. MIT License

Something went wrong with that request. Please try again.