Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/avdeev/interpolation
Interpolation, calculation accuracy, table of values
https://github.com/avdeev/interpolation
interpolation javascript mathematics
Last synced: about 1 month ago
JSON representation
Interpolation, calculation accuracy, table of values
- Host: GitHub
- URL: https://github.com/avdeev/interpolation
- Owner: avdeev
- License: apache-2.0
- Created: 2014-12-13T11:01:51.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-13T11:13:35.000Z (about 10 years ago)
- Last Synced: 2024-10-14T13:49:04.198Z (3 months ago)
- Topics: interpolation, javascript, mathematics
- Language: JavaScript
- Homepage: http://avdeev.github.io/interpolation/
- Size: 914 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Interpolation
## Demo
http://avdeev.github.io/interpolation/## Lagrange Interpolation
```js
var getLagrange = function(xInterpolationArray) {
L = '';
_.each(xInterpolationArray, function(dotActive, i) {
if (i > 0) {
L += '+';
}
L += '' + dotActive[1];
_.each(xInterpolationArray, function(dot, j) {
if (i != j) {
L += '*((x-' + dot[0] + ') / (' + dotActive[0] + ' - ' + dot[0] + '))';
}
});
});
return L;
}
```## Vendor
* Underscore.js 1.6.0
* Bootstrap v3.1.1
* math.js
* jQuery v1.8.3
* Highcharts JS v3.0.9 (2014-01-15)