package owl-base

  1. Overview
  2. Docs
OCaml Scientific and Engineering Computing - Base

Install

Dune Dependency

Authors

Maintainers

Sources

owl-1.1.tbz
sha256=983602676cf7dd54c4bdcea057825379c21703fbc7216b94dfb0400c697fca88
sha512=2c19d84412e11806dbbce399fe07099404f4987b82ec5ea305de53046063edcc32fd3dd552a04473b14c6c5b942a7ed92582f9f388e73dd652a978d775fb5a95

doc/owl-base/Owl_maths_interpolate/index.html

Module Owl_maths_interpolateSource

Interpolation and Extrapolation

Sourceval polint : float array -> float array -> float -> float * float

polint xs ys x performs polynomial interpolation of the given arrays xs and ys. Given arrays xs[0..(n-1)] and ys[0..(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(xs[i]) = ys[i] 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.

Sourceval ratint : float array -> float array -> float -> float * float

TODO

OCaml

Innovation. Community. Security.