- rk4 :: AbstractVector v => (p -> v -> p) -> (Time -> p -> Rate v) -> p -> Time -> Time -> p
- integrateRK4 :: AbstractVector v => (p -> v -> p) -> (Time -> p -> Rate v) -> p -> Time -> Time -> Integer -> p
- rk4' :: AbstractVector v => (p -> v -> p) -> (Time -> p -> Rate v -> Acceleration v) -> (p, Rate v) -> Time -> Time -> (p, Rate v)
- integrateRK4' :: AbstractVector v => (p -> v -> p) -> (Time -> p -> Rate v -> Acceleration v) -> (p, Rate v) -> Time -> Time -> Integer -> (p, Rate v)
Documentation
:: AbstractVector v | |
=> (p -> v -> p) | Definition of vector addition. |
-> (Time -> p -> Rate v) | Differential equation, representing velocity in terms of position at an absolute time. |
-> p | Initial value. |
-> Time | Starting time. |
-> Time | Ending time. |
-> p |
Implementation of RK4 that time steps a system in which velocity is a function of absolute time and position.
:: AbstractVector v | |
=> (p -> v -> p) | Definition of vector addition. |
-> (Time -> p -> Rate v) | Differential equation, representing velocity in terms of position at an absolute time. |
-> p | Initial value. |
-> Time | Starting time. |
-> Time | Ending time. |
-> Integer | Number of time steps. |
-> p |
Implementation of RK4 that repeatedly time steps a system in which velocity is a function of absolute time and position.
:: AbstractVector v | |
=> (p -> v -> p) | Definition of vector addition. |
-> (Time -> p -> Rate v -> Acceleration v) | Differential equation, representing acceleration in terms of position and velocity at an absolute time. |
-> (p, Rate v) | Initial value. |
-> Time | Starting time. |
-> Time | Ending time. |
-> (p, Rate v) |
Implementation of RK4 that time steps a system in which acceleration is a function of absolute time, position and velocity.
:: AbstractVector v | |
=> (p -> v -> p) | Definition of vector addition. |
-> (Time -> p -> Rate v -> Acceleration v) | Differential equation, representing acceleration in terms of position and velocity at an absolute time. |
-> (p, Rate v) | Initial value. |
-> Time | Starting time. |
-> Time | Ending time. |
-> Integer | Number of time steps. |
-> (p, Rate v) |
Implementation of RK4 that repeatedly time steps a system in which acceleration is a function of absolute time, position and velocity.