Stability | experimental |
---|---|

Maintainer | Scott N. Walck <walck@lvc.edu> |

Safe Haskell | Trustworthy |

Differential equation solving using 4th-order Runge-Kutta

- rungeKutta4 :: StateSpace p => (p -> Diff p) -> Time p -> p -> p
- integrateSystem :: StateSpace p => (p -> Diff p) -> Time p -> p -> [p]

# Documentation

rungeKutta4 :: StateSpace p => (p -> Diff p) -> Time p -> p -> pSource

Take a single 4th-order Runge-Kutta step

integrateSystem :: StateSpace p => (p -> Diff p) -> Time p -> p -> [p]Source

Solve a first-order system of differential equations with 4th-order Runge-Kutta