jamesp / notebooks

iPython notebooks
0 stars 1 forks source link

Lorenz Attractor ipynb #1

Open finmod opened 8 years ago

finmod commented 8 years ago

Nice set of notebooks.

In the Lorenz attractor notebook, any chance of speeding up the Lyapunov exponent calculations ln[18} using numba, numexpr or other?

Thanks

jamesp commented 8 years ago

I've not tried it, but you could certainly give it a go! I've experienced mixed results with numba in the past, but this sort of loop may have good speedup. Perhaps worth considering replacing np.dot in project with a loop if you are interested in trying it out.