package owl-base
OCaml Scientific and Engineering Computing - Base
Install
Dune Dependency
Authors
Maintainers
Sources
0.6.0.tar.gz
md5=b78de667bc02e232beb321e0d7e11347
sha512=0bb8dbeef6f762660f1bf5eaf9e4b96a9af3956fadf15a8000f99d9a676a0b6e32870d29d74bc4a87eab6967cc27ecfca82d42b9d9e682b1937dc15121f8f298
doc/owl-base/Owl_maths_interpolate/index.html
Module Owl_maths_interpolate
Source
Interpolation and Extrapolation
``polint xs ys x`` performs polynomial interpolation of the given arrays ``xs`` and ``ys``. Given arrays ``xs0..(n-1)
`` and ``ys0..(n-1)
``, and a value ``x``, the function returns a value ``y``, and an error estimate ``dy``. If ``P(x)`` is the polynomial of degree ``N − 1`` such that ``P(xsi
) = ysi
`` for ``i = 0,...,n-1``,
Parameters: * ``xs``: an array of input ``x`` values of ``P(x)``. * ``ys``: an array of corresponding ``y`` values of ``P(x)``. * ``x``: value to interpolate.
Returns: * ``(y, dy)`` wherein ``y`` is the returned value ``y = P(x)``, and ``dy`` is the estimated error.
TODO
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>