| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Numeric.DDE.Types
- newtype RHS state = RHS {
- _state :: VectorSpace state => (state, HistorySnapshot state, InputSnapshot) -> state
- newtype HistorySnapshot state = Hist {
- _histsnap :: state
- newtype Input = Input {}
- newtype InputSnapshot = Inp {}
- newtype Stepper = Stepper {}
Documentation
DDE right-hand side.
Parameter state is and abstraction of a dynamical system's state,
i.e. it can be a vector of any length (x(t), y(t), ...).
Constructors
| RHS | |
Fields
| |
newtype HistorySnapshot state Source #
Contains only the required snapshot of history to make steppers (e.g. Heun) work. There could be several delay variables
DDE stepper (all delays are equal).
Stepper is a function of the following arguments:
- Integration step
- DDE right-hand side
- Current state vector
(x(t), y(t), ...) - Two subsequent history snapshots
- Two subsequent inputs
The result (step) is a new state vector.