aivika-4.0.3: A multi-paradigm simulation library

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

Simulation.Aivika.Table

Description

Tested with: GHC 7.8.3

It defines the table functions.

Synopsis

Documentation

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

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

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

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