0.0.1 • Published 6 years ago

interpolate-math v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Interpolation

A simple library for Interpolation

Available Methods

  • Newton's Forward
  • Newton's Backward
  • Gauss's Forward
  • Gauss's Backward
  • Stirling's Method
  • Everett's Method

Example

let x = [3, 4, 5, 6, 7, 8, 9];
let fx = [13, 21, 31, 43, 57, 73, 91];
let nf = new Interpolation(x, fx);
let result = nf.newtonForward(1);
console.log(result.toFixed(3)); // 3.000

License

MIT