numeric-ode-0.0.0.0: Ode solvers

Safe HaskellNone
LanguageHaskell2010

Math.Integrators.ExplicitEuler

Description

Basic integrator using Euler method. It has following properies: * allows to solve systems of the first order * this method is not symplectic and tends to loose energy

Synopsis

Documentation

explicitEuler :: (Num (f a), Floating a, Additive f) => (f a -> f a) -> a -> f a -> f a Source #

Integrator of form

\[ \Phi[h] : y_{n+1} = y_n + h f (y_n) \]