InverseSolve - InverseSolve - Сообщения
This version of your project dropped calculation time
from 5½ min down to 8 sec !!!
Redirected to be useful w/o bug.
Jean
Forum Radovan_1.sm (37 КиБ) скачан 153 раз(а).
325 сообщений из 2 052 понравились и 1 не понравились пользователям.
Группа: Moderator
I like it and will use it for my students.
Of course, this is not working in the recent SMath due to the mentioned bug about summation.
Never mind, it will work just with the few iteration variables changed until, Andrey fix the problem.
Best Regards,
Radovan
that won't chain the calculations. The cure is to
isolate via spooling to file or redefining.
Worth trying this option.
Jean
Forum Radovan TryThis.sm (37 КиБ) скачан 129 раз(а).
325 сообщений из 2 052 понравились и 1 не понравились пользователям.
Группа: Moderator
Thank you for your continuing contribution

Best wishes Jean,
Radovan
WroteOf course, this is not working in the recent SMath due to the mentioned bug about summation.
Fix is easy - use line (BTW takes less then 2 seconds to calculate in latest SS).
Forum Radovan_1_mod.sm (36 КиБ) скачан 143 раз(а).
325 сообщений из 2 052 понравились и 1 не понравились пользователям.
Группа: Moderator
WroteWroteOf course, this is not working in the recent SMath due to the mentioned bug about summation.
Fix is easy - use line (BTW takes less then 2 seconds to calculate in latest SS).
Forum Radovan_1_mod.sm (36 КиБ) скачан 143 раз(а).
Hello Andrey,
Sorry, but I really do not understand what you wanted to say,and I am not sure if we understand each other. Let's get back to the post by Davide:
Summation variable problem
It is obvious that the problem exists regarding summation variable. Somehow, the summation variable gets its value from the global variables. I think it might be a source of confusion and prune to errors if the situation remains this way.
Regards,
Radovan
That means I do not think this behavior will be corrected in nearest days/weeks.
But, in my comment you can find simple workaround which can be used - this is actually what I wanted to say.
325 сообщений из 2 052 понравились и 1 не понравились пользователям.
Группа: Moderator
I bumped into it quite some time ago, and did not understand it. I found the workaround, but was confused because my previous worksheets refused to work. I had to admit that I was I bit frustrated about it. At least, I hope I will remember what is going on regarding this problem. Especially, using line can do the thing, but it is a bit unusual sometimes.
I hope and wish you all the best in resolving this sooner or later

Best Regards,
Radovan
It finally points the code error. Whether an Smath code error or an error
from the borrowed summation code from foreign source. I had a bit of trouble
to make the 'ksmooth' work, lot more involved than this simple summation.
The Smath 5346 may reflect in other build past 5346.
Davide explanation is interesting as well as Andrey 'line'
but none answers/addreses the problem. As you will open the
attached document, if it does not work: then there is a bug
because 5346 works perfect saved in the "red star" construction.
Cheers, Jean
Maths Compute Pitfall.sm (47 КиБ) скачан 132 раз(а).
325 сообщений из 2 052 понравились и 1 не понравились пользователям.
Группа: Moderator
It also works well, and thank you for the discussion. By the way, I think that many times has been mentioned here the workaround of using line environment. I just often forget that, sorry. You mentioned "immensely long" expansions. That is one of the problem (trap) we might get into without to much thinking and using some many terms summation etc. Here, line might help to avoid such things.
Regards,
Radovan
WroteThank you Jean,
It also works well, and thank you for the discussion. By the way, I think that many times has been mentioned here the workaround of using line environment. I just often forget that, sorry. You mentioned "immensely long" expansions. That is one of the problem (trap) we might get into without to much thinking and using some many terms summation etc. Here, line might help to avoid such things.
Regards,
Radovan
You have several points:
1. What you call "line" is what I call "compactum"
2. I have compacted two more functions. This has reduced the original
36 'Sol' 8 sec down to 6 sec 38 'Sol'
3. Whether 'line style' or simple does not reduce the expansion.
4. Horner expansion is not my cup of tea ! I need be educated on that.
5. the "optional" should work for you and other Smath build. Does it ?
BTW: such a nice piece of work would go well with a bit of abstract/source.
Cheers, Jean
Solve INVERSE Recursive.sm (62 КиБ) скачан 132 раз(а).
-
Новые сообщения
-
Нет новых сообщений