mirror of
https://github.com/philips/supernote-obsidian-plugin.git
synced 2026-07-22 09:50:25 +00:00
Since there is no native code I am just checking all of the dependencies in to simplify life and avoid a hard dependency on npm working on any given day. |
||
|---|---|---|
| .. | ||
| test | ||
| .npmignore | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| robust-diff.js | ||
robust-subtract
Exactly computes the difference of two non-increasing overlapping sequences. See robust-sum for more details.
Example
var robustDiff = require("robust-subtract")
console.log(robustDiff([1], [1e-64]))
Install
npm install robust-subtract
API
require("robust-subtract")(a,b)
Returns the difference of the sequences a and b encoded as a non-overlapping increasing sequence.
ais the first numberbis the second number
Returns The difference of a and b
Credits
(c) 2014 Mikola Lysenko. MIT License