Hi,
how do I deal with an overflow message, please?
I am trying to fill in a matrix with the following:
matrix(16,10) vev
scalar sca=1
for !i=1 to 16
vev(!i, 1)=sca
scalar sca = sca+1
next
for !i=1 to @rows(vev)
for !j=2 to @columns(vev)
vev(!i,!j)=vev(!i,!j-1)^2
next
next
but can not get past vev(4,10)?
setting maxerrors to 10 000 didnt help.
Any leads on what am I doing wrong?
overflow
Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13318
- Joined: Tue Sep 16, 2008 5:38 pm
Re: overflow
You're generating a number too large for the computer to handle.
You're squaring 13,407,807,929,942,600,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000.
You're squaring 13,407,807,929,942,600,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000.
Follow us on Twitter @IHSEViews
Re: overflow
Thanks, Gareth. Yes, that is the task I was given. Admittedly, it's part of an eviews-learning exercise. So nothing to do about that? i.e. it's a silly operation to do?
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13318
- Joined: Tue Sep 16, 2008 5:38 pm
Who is online
Users browsing this forum: No registered users and 41 guests