step_rk45
step_rk45¶
- step_rk45(fun, t, y, f, h)[source]¶
Take one step using the RK45 algorithm.
- Parameters
- Returns
y_new (ndarray, shape (n,)) – Solution at t + h computed with a higher accuracy.
f_new (ndarray, shape (n,)) – Derivative
fun(t + h, y_new).
References
E. Hairer, S. P. Norsett G. Wanner, “Solving Ordinary Differential Equations I: Nonstiff Problems”, Sec. II.4.