lazysplines-0.2: Differential solving with lazy splines

Safe HaskellSafe-Inferred
LanguageHaskell98

Numeric.LazySplines

Description

This module consists of source code to accompany the draft paper: "Declarative Equations, Compositional Strategies: Solving Differential Systems with Lazy Splines" at http://gbaz.github.io/slides/ode-draft-2009.pdf.

See the paper for a description of how the system works, and the source of the Examples module for usage.

Some slides from a more recent description of the core mechanism are at http://gbaz.github.io/slides/integration.html.

Synopsis

Documentation

class Sampleable a where Source

Something that can be sampled.

Methods

at :: a -> Double -> Double Source

type Poly = [Double] Source

match :: a -> [a] -> [a] Source

trimmingTo :: Spline -> Int -> Spline infixl 1 Source

lastDef :: t -> [t] -> t Source

headDef :: t -> [t] -> t Source

(#) :: (Num [a], Num a, Eq a) => [a] -> [a] -> [a] infixr 9 Source

diff :: Num c => [c] -> [c] Source

countFrom :: Num a => a -> [a] Source

pickValue :: Double -> (a -> Double) -> [a] -> a Source

findValue :: Double -> (a -> Double) -> (Double -> a) -> a Source