rk2 object
(Shortest import: from brian2 import rk2)
- brian2.stateupdaters.explicit.rk2 = ExplicitStateUpdater('''__k = dt*__f(__x, __t) x_new = __x + dt*__f(__k/2 + __x, __t + dt/2)''', stochastic=None)
Second order Runge-Kutta method (midpoint method)