Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikolalysenko/robust-dot-product
Exact dot product between two vectors
https://github.com/mikolalysenko/robust-dot-product
Last synced: about 2 months ago
JSON representation
Exact dot product between two vectors
- Host: GitHub
- URL: https://github.com/mikolalysenko/robust-dot-product
- Owner: mikolalysenko
- License: mit
- Created: 2013-10-10T04:20:01.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-04-28T22:37:01.000Z (over 10 years ago)
- Last Synced: 2024-10-20T14:27:12.619Z (2 months ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
robust-dot-product
==================
Exactly computes the dot product between vectors as an nonoverlapping increasing sequence.## Install
npm install robust-dot-product
## Example
```javascript
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