RODEProblem(f, u0, tspan, p) is du/dt = f(u, p, t, W) driven by a
noise process W (a WienerProcess() with the shape of
rand_prototype, or of u0, unless noise gives one; see
noise_processes). RODEFunction(f) wraps the right-hand side.
solve(prob, alg, dt = ) integrates with fixed steps: RandomEM() is
the Euler method with the noise held at its value at the start of the
step, RandomHeun() the Heun method, RandomTamedEM() the tamed Euler
method u + dt f / (1 + dt |f|), and RandomTaylor15() the derivative
free order 1.5 Taylor method of Asai, for a scalar NoiseGrid() that
resolves the path more finely than the steps. The solution is a
RODESolution; sol$W is the noise path.
Usage
RODEFunction(f, ...)
RODEProblem(
f,
u0,
tspan,
p = numeric(),
rand_prototype = NULL,
noise = NULL,
seed = 0L,
...
)
RandomEM()
RandomTamedEM()
RandomHeun()
RandomTaylor15()Arguments
- f
Right-hand side
f(u, p, t, W), or aRODEFunction.- ...
Problem options passed to
solve().- u0, tspan, p
Initial state, time span and parameters.
- rand_prototype
Shape of the noise when
noiseis not given.- noise
A noise process.
- seed
Seed for the noise.