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

vizabi-interpolators

2.0.0 • Public • Published

vizabi-interpolators

Interpolation algorithms shared between vizabi and waffle-server

API:

All interpolators accept the same inputs: x1, x2, y1, y2 - boundary points, x - point of interpolation
interpolator.<linear|exp|stepBefore|stepAfter|stepMiddle>(x1, x2, y1, y2, x)

and return the interpolated value y.

Supported algorithms:

image

install

npm i vizabi-interpolators

Downloadsweekly downloads

23

version

2.0.0

license

BSD

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
Report a vulnerability