| 1 | initial version |
Many thanks! finally i decided to use the scipy odeint, since supports the backwards integration and is the fastest ode solver that i found
fa= lambda y,t: [y[1],y[0]^2-y[1]]
t=scipy.linspace(10, 0, 1/0.01)
len(t)
time l=integrate.odeint(fa,[0,.1],-t)
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.