Need urgent help - result is above max. positive number

Need urgent help - result is above max. positive number - Messaggi

#1 Pubblicato: 01/02/2016 01:22:24
Alexander O. Melnik

Alexander O. Melnik

127 apprezzamenti in 498 post.

Gruppo: Moderator

Hey guys,

I was working on a very long custom function that I will need to use in short 9 hours (in the morning after I will wake up) and got this error at the end "result is above max. positive number".

Error shows itself if for function input I use larger matrix (see workbook for details).

Could you help please?

Thank you!


Error.sm (75,9 KiB) scaricato 1263 volta(e).
#2 Pubblicato: 01/02/2016 02:15:21
Ernesto

Ernesto

13 apprezzamenti in 74 post.

Gruppo: User

Got it working. I added eval() over pretty much all the operations of that huge function. I don't think they all required it, but it would've taken time to sort that out. Might want to double check I didn't accidentally change a line.

Good luck.


Error.sm (77,21 KiB) scaricato 1314 volta(e).
1 utenti hanno apprezzato questo post
Alexander O. Melnik 01/02/2016 04:23:00
#3 Pubblicato: 01/02/2016 04:25:03
Alexander O. Melnik

Alexander O. Melnik

127 apprezzamenti in 498 post.

Gruppo: Moderator

Wrote

Got it working. I added eval() over pretty much all the operations of that huge function. I don't think they all required it, but it would've taken time to sort that out. Might want to double check I didn't accidentally change a line.

Good luck.


Error.sm (77,21 KiB) scaricato 1314 volta(e).



Thank you very much, Ernesto. I had no clue eval() would make such a huge difference. I'm all set for tomorrow (or should I say for today).

#4 Pubblicato: 01/02/2016 09:11:29
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

Thank you very much, Ernesto. I had no clue eval() would make such a huge difference. I'm all set for tomorrow (or should I say for today).


_________________________

I visited both work sheets. The first one didn't show any error message.
The Sigma is always suspicious. In one of my applications it is limited
to N = 11. In another application [Ksmooth] it did correct up to N = 24.
Same "Ksmooth", I tried on longer data set and failed. "Ksmooth" consumes
enormous amout of computing power, even Mathcad 11 pedals !
My understanding of "Result is above of max allowed positive number"
the execution stack is full, like in the older HP calculator. My next
understanding is that eval(,) computes intermediate results, thus reducing
the length of the stack. That's what my "finger meter" tells me.

Cheers, Jean



1 utenti hanno apprezzato questo post
Davide Carpi 20/05/2016 20:24:00
  • Nuovi post
  • Nessun nuovo post