aivika-transformers-5.8: Transformers for the Aivika simulation library

CopyrightCopyright (c) 2009-2017 David Sorokin <david.sorokin@gmail.com>
LicenseBSD3
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Stabilityexperimental
Safe HaskellSafe
LanguageHaskell2010

Simulation.Aivika.Trans.Table

Description

Tested with: GHC 8.0.1

It defines the table functions.

Synopsis

Documentation

tableLookup :: Double -> Array Int (Double, Double) -> Double #

Lookup x in a table of pairs (x, y) using linear interpolation.

tableLookupStepwise :: Double -> Array Int (Double, Double) -> Double #

Lookup x in a table of pairs (x, y) using stepwise function.