1 Pages (11 items)
InverseSolve - InverseSolve - Messages
#1 Posted: 10/18/2016 7:16:10 PM
Radovan:
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 KiB) downloaded 70 time(s).
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 KiB) downloaded 70 time(s).
#2 Posted: 10/19/2016 4:27:26 AM
Thank you Jean for this example,
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
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
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Posted: 10/19/2016 10:59:57 AM
In Mathcad as well, we have encountered instances
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 KiB) downloaded 41 time(s).
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 KiB) downloaded 41 time(s).
1 users liked this post
Radovan Omorjan 10/19/2016 11:06:00 AM
#4 Posted: 10/19/2016 11:08:02 AM
Nice, thank you
Thank you for your continuing contribution
Best wishes Jean,
Radovan
Thank you for your continuing contribution

Best wishes Jean,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#5 Posted: 10/19/2016 11:14:40 AM
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 KiB) downloaded 54 time(s).
#6 Posted: 10/19/2016 12:49:45 PM
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 KiB) downloaded 54 time(s).
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
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#7 Posted: 10/19/2016 1:00:12 PM
Yes, this issue is well known and last several Months I was not able to fix it (tried many times).
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.
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.
1 users liked this post
Radovan Omorjan 10/19/2016 1:02:00 PM
#8 Posted: 10/19/2016 1:10:53 PM
I understand now, thank you.
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
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
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#9 Posted: 10/20/2016 1:54:06 AM
True: it's getting confusing. Read this document carefully and experiment.
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 KiB) downloaded 44 time(s).
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 KiB) downloaded 44 time(s).
1 users liked this post
Radovan Omorjan 10/20/2016 4:07:00 AM
#10 Posted: 10/20/2016 4:13:09 AM
Thank 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
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
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#11 Posted: 10/20/2016 12:33:33 PM
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 KiB) downloaded 44 time(s).
1 users liked this post
Radovan Omorjan 10/20/2016 2:52:00 PM
1 Pages (11 items)
-
New Posts
-
No New Posts