Stability | experimental |
---|---|
Maintainer | David Sorokin <david.sorokin@gmail.com> |
Safe Haskell | Safe-Inferred |
Tested with: GHC 7.8.3
It defines the table functions.
- tableLookup :: Double -> Array Int (Double, Double) -> Double
- tableLookupStepwise :: Double -> Array Int (Double, Double) -> Double
Documentation
tableLookup :: Double -> Array Int (Double, Double) -> DoubleSource
Lookup x
in a table of pairs (x, y)
using linear interpolation.
tableLookupStepwise :: Double -> Array Int (Double, Double) -> DoubleSource
Lookup x
in a table of pairs (x, y)
using stepwise function.