SRI(tableau, error_terms) is the strong order 1.5 stochastic Runge-Kutta
method of Roessler for diagonal or scalar Ito noise with any
RosslerSRI() tableau (constructSRIW1(), constructSRIW2(),
constructSRIOpt1(), constructSRIOpt2()); error_terms drift stages
enter the error estimate. SRIW2() and SOSRI2() are the four stage
methods with the SRIW2 and the second stability optimized tableau.
SRA(tableau) is the additive noise method with any RosslerSRA()
tableau (constructSRA1(), constructSRA2(), constructSRA3(),
constructSOSRA(), constructSOSRA2(); constructSKenCarp() and
constructExplicitSKenCarp() are the KenCarp pair as SRA tableaus).
checkSRIOrder(tab) and checkSRAOrder(tab) evaluate the strong order
1.5 conditions (25 and 8 of them) and return which hold.
Usage
RosslerSRI(
c0,
c1,
A0,
A1,
B0,
B1,
alpha,
beta1,
beta2,
beta3,
beta4,
order = 1.5
)
RosslerSRA(c0, c1, A0, B0, alpha, beta1, beta2, order = 1.5)
constructSRIW1()
constructSRIW2()
constructSRIOpt1()
constructSRIOpt2()
constructSRA1()
constructSRA2()
constructSRA3()
constructSOSRA()
constructSOSRA2()
constructSKenCarp()
constructExplicitSKenCarp()
checkSRIOrder(tableau, tol = 1e-06)
checkSRAOrder(tableau, tol = 1e-06)
SRI(tableau = constructSRIW1(), error_terms = 4L)
SRIW2()
SOSRI2()
SRA(tableau = constructSRA1())Examples
all(checkSRIOrder(constructSRIW1()))
#> [1] TRUE
prob <- SDEProblem(function(u, p, t) 1.01 * u, function(u, p, t) 0.87 * u, 0.5, c(0, 1))
solve(prob, SRI(constructSRIW2()), seed = 1)$retcode
#> [1] "Success"