471,624 Members | 1,925 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,624 software developers and data experts.

Weird problem about scipy.integrate.odeint

1
Hi all,

I met a weird problem when using scipy.integrate.odeint(). It is followed as:

from scipy import *
y=integrate.odeint(lambda y,t:sin(y)*y,y0=random.rand(N),t=arange(0,100))

If N>= 73300 or N<=70400, it works well. Yet, within the range(70400,73300), it goes wrong with a error message "MemoryError".

I am very confused about that. My python version is "Python2.4.3", scipy version is "scipy 0.5.0.2033". By the way, my computer's memory is 1GB. Anyone can help me? Thanks a lot!

Couge
Nov 25 '07 #1
0 1731

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by FLChamp | last post: by
3 posts views Thread by hawkesed | last post: by
1 post views Thread by tkpmep | last post: by
reply views Thread by Julien Fiore | last post: by
2 posts views Thread by robert | last post: by
1 post views Thread by T.Crane | last post: by
reply views Thread by fdu.xiaojf | last post: by
2 posts views Thread by Frank Moyles | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.