Aug-14-2018, 02:37 AM
It seems to be an implicit Runge-Kutta method implementation...
You are declaring
You are declaring
equations
in the loop, that is definitely inefficient.equations
should return ndarray, so, change return (f1,f2)
to return np.array([f1, f2])
.