{"_id":"interpolating-polynomial","_rev":"14-822df83eb19fef849b8fc2827467d67b","name":"interpolating-polynomial","description":"Constructs Lagrange polynomials for interpolation","dist-tags":{"latest":"1.1.2"},"versions":{"1.0.0":{"name":"interpolating-polynomial","version":"1.0.0","author":{"name":"Felix E. Klee","email":"felix.klee@inka.de"},"homepage":"https://github.com/feklee/interpolating-polynomial","description":"Constructs Lagrange polynomial for interpolation","main":"node_main.js","repository":{"type":"git","url":"https://github.com/feklee/interpolating-polynomial"},"license":"MIT","keywords":["interpolate","interpolation","interpolating","lagrange","polynomial","math","mathematics","numeric"],"bugs":{"url":"https://github.com/feklee/interpolating-polynomial/issues"},"gitHead":"5487b424bdbe06a46ac011f4650a0a380a560c8f","_id":"interpolating-polynomial@1.0.0","scripts":{},"_shasum":"14c92b6d01c694de3cdd4547af39823a3f7717ca","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"feklee","email":"felix.klee@inka.de"},"maintainers":[{"name":"feklee","email":"felix.klee@inka.de"}],"dist":{"shasum":"14c92b6d01c694de3cdd4547af39823a3f7717ca","tarball":"https://registry.npmjs.org/interpolating-polynomial/-/interpolating-polynomial-1.0.0.tgz","integrity":"sha512-HdtFwwOb1QEZcz0oa3sIdpuQF0z1qJ90Jp2txntsQYJeop4Xm5fnXG1BqiaH9ziEQeQ/GnR0iTVwVO3RzqMdZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCaJiW2C+x0JqNGvPjM8iW8gOEj0KUYzML+NnP7s9UjRQIhAIRfGR8KcdEUhP69TSOexM3wk1n/KugdaCmA8l6tx/Xp"}]}},"1.0.1":{"name":"interpolating-polynomial","version":"1.0.1","author":{"name":"Felix E. Klee","email":"felix.klee@inka.de"},"homepage":"https://github.com/feklee/interpolating-polynomial","description":"Constructs Lagrange polynomials for interpolation","main":"node_main.js","repository":{"type":"git","url":"https://github.com/feklee/interpolating-polynomial"},"license":"MIT","keywords":["interpolate","interpolation","interpolating","lagrange","polynomial","math","mathematics","numeric"],"bugs":{"url":"https://github.com/feklee/interpolating-polynomial/issues"},"gitHead":"cf6cba1455da0ac19c62698ff8ecfd5d77a82387","_id":"interpolating-polynomial@1.0.1","scripts":{},"_shasum":"31b07c4e6ba019c5b754792191b0923b68754e12","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"feklee","email":"felix.klee@inka.de"},"maintainers":[{"name":"feklee","email":"felix.klee@inka.de"}],"dist":{"shasum":"31b07c4e6ba019c5b754792191b0923b68754e12","tarball":"https://registry.npmjs.org/interpolating-polynomial/-/interpolating-polynomial-1.0.1.tgz","integrity":"sha512-uyoQwAcc6564HFLLwPZ2AKIv64776h64jZzqIShyD9cOtCoYkjF0PQIEGLf8aPw+f2xqJdbyuOa3voi+rVgeJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICbfJw+9QF7OB3ifVMA3ck5iHdSZR6OyKit0BJLW/rA1AiBYd+uIOksFXW8NwHdyORK54zGUsnBs/fDU7If2ZhtlKQ=="}]}},"1.0.2":{"name":"interpolating-polynomial","version":"1.0.2","author":{"name":"Felix E. Klee","email":"felix.klee@inka.de"},"homepage":"https://github.com/feklee/interpolating-polynomial","description":"Constructs Lagrange polynomials for interpolation","main":"node_main.js","repository":{"type":"git","url":"https://github.com/feklee/interpolating-polynomial"},"license":"MIT","keywords":["interpolate","interpolation","interpolating","lagrange","polynomial","math","mathematics","numeric"],"bugs":{"url":"https://github.com/feklee/interpolating-polynomial/issues"},"gitHead":"1047f5c0f88855af90b357a337e129b66253b8a9","_id":"interpolating-polynomial@1.0.2","scripts":{},"_shasum":"becb750f7f576e36510bc6742daa58652e71cf4a","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"feklee","email":"felix.klee@inka.de"},"maintainers":[{"name":"feklee","email":"felix.klee@inka.de"}],"dist":{"shasum":"becb750f7f576e36510bc6742daa58652e71cf4a","tarball":"https://registry.npmjs.org/interpolating-polynomial/-/interpolating-polynomial-1.0.2.tgz","integrity":"sha512-2QrictRGereJRQZMc6NkzERAmf1X4gCmV0gI/+eYBtGLZR2AZ2MC+x165GAapSxjcSmlfia7412suFM9kaxLzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGH/sDo46L6OJAKdoCgGk5bObeiq5DsmvcOijsVoloMUAiAcrabfNShTmSSQtao0SeX+BhOypDs21tpdY1A2DY7chQ=="}]}},"1.1.0":{"name":"interpolating-polynomial","version":"1.1.0","author":{"name":"Felix E. Klee","email":"felix.klee@inka.de"},"homepage":"https://github.com/feklee/interpolating-polynomial","description":"Constructs Lagrange polynomials for interpolation","main":"node_main.js","repository":{"type":"git","url":"https://github.com/feklee/interpolating-polynomial"},"license":"MIT","keywords":["interpolate","interpolation","interpolating","lagrange","polynomial","math","mathematics","numeric"],"bugs":{"url":"https://github.com/feklee/interpolating-polynomial/issues"},"gitHead":"dc74737025af8f678f3ac312f22d3b28da578ed9","_id":"interpolating-polynomial@1.1.0","scripts":{},"_shasum":"5d3d1dd993d729d0baa9a99d4efa58c94f4cb5ca","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"feklee","email":"felix.klee@inka.de"},"maintainers":[{"name":"feklee","email":"felix.klee@inka.de"}],"dist":{"shasum":"5d3d1dd993d729d0baa9a99d4efa58c94f4cb5ca","tarball":"https://registry.npmjs.org/interpolating-polynomial/-/interpolating-polynomial-1.1.0.tgz","integrity":"sha512-HSRNYHMctxcK6JfbXSziE3ZdU14AIoEt/7+RfHH6bhVwDUtbueR/jIu0Ckgz3hPO7Ei4QJXzuGDB1b/oYgfNiw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYLLgHIWkTr5pcbyR560lcIVtcOp/W09g6xyBBcfWc4QIhAJvU/3XFQd/d5YpwNVybQ8EFR4ENcLhScMGQu2TUacH3"}]}},"1.1.1":{"name":"interpolating-polynomial","version":"1.1.1","author":{"name":"Felix E. Klee","email":"felix.klee@inka.de"},"homepage":"https://github.com/feklee/interpolating-polynomial","description":"Constructs Lagrange polynomials for interpolation","main":"node_main.js","repository":{"type":"git","url":"https://github.com/feklee/interpolating-polynomial"},"license":"MIT","keywords":["interpolate","interpolation","interpolating","lagrange","polynomial","math","mathematics","numeric"],"bugs":{"url":"https://github.com/feklee/interpolating-polynomial/issues"},"gitHead":"28e84cee856bfa0048cc6160ea249f28ebcb40be","_id":"interpolating-polynomial@1.1.1","scripts":{},"_shasum":"0ae34f6498ffe7aef5c841a38cc96ed27f815d29","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"feklee","email":"felix.klee@inka.de"},"maintainers":[{"name":"feklee","email":"felix.klee@inka.de"}],"dist":{"shasum":"0ae34f6498ffe7aef5c841a38cc96ed27f815d29","tarball":"https://registry.npmjs.org/interpolating-polynomial/-/interpolating-polynomial-1.1.1.tgz","integrity":"sha512-iU0XRsniCncPlZbDClEs52PmrbHhMBUwQkLsSbQ25vfbtL8Yof6AcXtD+PJjo42b9wk4NugP18LHHr9d9zd5/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDo+G6uBwDv4Xk7gmkrBSzSvjNtbdQYO+8jYh34bMuHZAiA5J+1qPBkRskoDaW1Sct2uFVeCCHjobw5VBCh+uS8UCw=="}]}},"1.1.2":{"name":"interpolating-polynomial","version":"1.1.2","author":{"name":"Felix E. Klee","email":"felix.klee@inka.de"},"homepage":"https://github.com/feklee/interpolating-polynomial","description":"Constructs Lagrange polynomials for interpolation","main":"node_main.js","repository":{"type":"git","url":"https://github.com/feklee/interpolating-polynomial"},"license":"MIT","keywords":["interpolate","interpolation","interpolating","lagrange","polynomial","math","mathematics","numeric"],"bugs":{"url":"https://github.com/feklee/interpolating-polynomial/issues"},"gitHead":"869d60fd81f343fd3cf2ac1b554d24a5ac7e32c2","_id":"interpolating-polynomial@1.1.2","scripts":{},"_shasum":"9f392f942a65a3fdd20660bfd82c972755ba8f2a","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"feklee","email":"felix.klee@inka.de"},"maintainers":[{"name":"feklee","email":"felix.klee@inka.de"}],"dist":{"shasum":"9f392f942a65a3fdd20660bfd82c972755ba8f2a","tarball":"https://registry.npmjs.org/interpolating-polynomial/-/interpolating-polynomial-1.1.2.tgz","integrity":"sha512-oxhxH8T6eNIrab7kUqnogf9CPzZpdT9WAe1U0ooAUXY7a9hLA316UVyEAve9cHwajKn+JkdQThbuat5SACDvDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBe4nAyEWji3AmHfaxw9c0jEH7fIw1ljSSweuu8BS2lJAiAi+iw6Hur4LuHzBjCuwcYeqi/EHSIVz2GSmfXnva6iBg=="}]}}},"readme":"[![Build Status](https://travis-ci.org/feklee/interpolating-polynomial.svg?branch=master)](https://travis-ci.org/feklee/interpolating-polynomial)\n\nIntroduction\n============\n\nThis package provides an implementation of Lagrange interpolating polynomials.\n\nThe focus of this package is simplicity: It’s small, and there is no dependency\non complex 3rd party packages. Computation happens according to\n[Neville’s algorithm][5].\n\n\nExample\n=======\n\nCode (`plotPoint` function not included):\n\n    var interpolatingPolynomial = require('interpolating-polynomial'),\n        f = interpolatingPolynomial([[-2, 2],\n                                     [-1, -0.5],\n                                     [0, 0.5],\n                                     [1.5, -1.5]]);\n\n    for (x = -2; x < 2; x += 0.000001) {\n        plotPoint(x, f(x));\n    }\n\nResult:\n\n![Plot][4]\n\nFor bad input, behavior is undefined.\n\n\nReading\n=======\n\n  * [Polynomial interpolation on Wikipedia][1]\n\n  * [Lagrange polynomial on Wikipedia][2]\n\n  * [Lagrange Interpolating Polynomial on MathWorld][3]\n\n\nCoding conventions\n==================\n\n  * Code needs to validate with JSLint.\n\n  * Comments are in Markdown.\n\n  * Avoid constructors (JS is classless), don’t throw exceptions (not necessary\n    in JS).\n\n  * Versioning: major.minor.bug-fix\n\n    Incompatible changes to the API mandate an update of the major version.\n\n    Keep version up to date in:\n\n      + Git tags\n\n      + `package.json`\n\n\nLicense\n=======\n\nExcept where noted otherwise, files are licensed under the MIT License.\n\n\nThe MIT License (MIT)\n---------------------\n\nCopyright (c) 2014 [Felix E. Klee](mailto:felix.klee@inka.de)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n[1]: http://en.wikipedia.org/wiki/Polynomial_interpolation\n[2]: http://en.wikipedia.org/wiki/Lagrange_polynomial\n[3]: http://mathworld.wolfram.com/LagrangeInterpolatingPolynomial.html\n[4]: plot.png\n[5]: http://en.wikipedia.org/wiki/Neville's_algorithm\n","maintainers":[{"name":"feklee","email":"felix.klee@inka.de"}],"time":{"modified":"2022-06-19T01:47:56.228Z","created":"2014-11-19T21:18:12.399Z","1.0.0":"2014-11-19T21:18:12.399Z","1.0.1":"2014-11-19T22:22:32.915Z","1.0.2":"2014-11-20T11:13:13.687Z","1.1.0":"2014-11-20T11:59:46.844Z","1.1.1":"2014-11-23T12:07:26.172Z","1.1.2":"2014-11-23T14:10:04.083Z"},"homepage":"https://github.com/feklee/interpolating-polynomial","keywords":["interpolate","interpolation","interpolating","lagrange","polynomial","math","mathematics","numeric"],"repository":{"type":"git","url":"https://github.com/feklee/interpolating-polynomial"},"author":{"name":"Felix E. Klee","email":"felix.klee@inka.de"},"bugs":{"url":"https://github.com/feklee/interpolating-polynomial/issues"},"license":"MIT","readmeFilename":"README.md"}