By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,813 Members | 1,130 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,813 IT Pros & Developers. It's quick & easy.

Weird problem about scipy.integrate.odeint

P: 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". By the way, my computer's memory is 1GB. Anyone can help me? Thanks a lot!

Nov 25 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

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