NSDERungeKutta.jl
This is the documentation of NSDERungeKutta.jl, a Julia package implementing Runge-Kutta methods: explicit, embedded adaptive explicit, diagonally implicit, fully implicit, implicit-explicit (IMEX) and exponential (EXPRK) families over one shared solving shell.
Installation
From the Julia REPL,
]add https://github.com/giancarloantonucci/NSDERungeKutta.jlGetting started
using NSDERungeKutta
problem = IVP((u, t) -> [u[2]; -sin(u[1])], [0.0, π/4], (0.0, 10.0))
solution = solve(problem, RK4(h = 1e-2)) # fixed step
solution = solve(problem, DormandPrince54(εᵣ = 1e-8)) # adaptive
u_mid = solution(5.0) # interpolate