Neato Polyester Material
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

robust-subtract

1.0.0 • Public • Published

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.

  • a is the first number
  • b is the second number

Returns The difference of a and b

Credits

(c) 2014 Mikola Lysenko. MIT License

install

npm i robust-subtract

Downloadsweekly downloads

47,972

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability