Copyright | (c) Masahiro Sakai 2020 |
---|---|
License | BSD-style |
Maintainer | masahiro.sakai@gmail.com |
Stability | provisional |
Portability | non-portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
ToySolver.Data.Polynomial.Interpolation.Hermite
Description
- Lagrange polynomial https://en.wikipedia.org/wiki/Hermite_interpolation
Synopsis
- interpolate :: (Eq k, Fractional k) => [(k, [k])] -> UPolynomial k
Documentation
interpolate :: (Eq k, Fractional k) => [(k, [k])] -> UPolynomial k Source #
Compute a hermite Hermite interpolation from a list \([(x_0, [y_0, y'_0, \ldots y^{(m)}_0]), (x_1, [y_1, y'_1, \ldots y^{(m)}_1]), \ldots]\).