RC4: SMath Studio 0.98.5921 (18 March 2016)

RC4: SMath Studio 0.98.5921 (18 March 2016) - Poruke

#1 Objavljeno: 18. 3. 2016. 19:28:34
Andrey Ivashov

Andrey Ivashov

2.345 svidjanja u 4.060 postova.

Grupa: Super Administrator

SMath Studio 0.98.5921 available


Latest changes (against SMath Studio 0.98.5918)

  • Progress of the following operations is now shown in status bar: file opening, file saving, worksheet calculation;
    0_98_statusbar_1.png
  • Performance of parsing large SMath Studio files significantly improved;
  • SS-2307: Situations when functions cannot be overridden fixed;
  • SS-27: Fixed issue with missing brackets if units of complex results are manually specified;
  • Fixed multi-threading related issue when error was shown instead of the calculation result;
  • For Boolean AND and OR operators only required parts are calculated. Unnecessary calculations are skipped now;
  • Print item enabled for SMath Studio files in Windows Explorer context menu;
    0_98_shell_print.png
  • Comparing of symbolic equations improved;
  • MSI installer is now signed by SHA256 code certificate;
  • Interface translations updated.


Download

10 korisnika je svidelo ovu objavu
Davide Carpi 18. 3. 2016. 20:36:00, уни 18. 3. 2016. 23:25:00, Mike Kaganski 18. 3. 2016. 23:33:00, Radovan Omorjan 19. 3. 2016. 05:13:00, ioan92 19. 3. 2016. 05:21:00, bdrunagle 19. 3. 2016. 05:22:00, sergio 19. 3. 2016. 05:46:00, Ryan Freund 19. 3. 2016. 10:24:00, frapuano 19. 3. 2016. 15:19:00, Alexander O. Melnik 24. 3. 2016. 13:48:00
#2 Objavljeno: 20. 3. 2016. 05:53:50
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: Moderator

Hello Andrey


I noticed the following issue: when I open an existing file, it starts with an history step; if I click the undo button, the worksheet goes blank, very harmful if you accidentally save the file

2016-03-20 09_42_53-SMath Studio Desktop - [User-defined Functions in SMath Studio.sm_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Objavljeno: 21. 3. 2016. 09:35:42
Ruben Sidranski

Ruben Sidranski

17 svidjanja u 465 postova.

Grupa: User

I would like to request a "function" that allows for input of the SMath version and build number into the calculation sheet. On Mathcad, we were able to figure out discrepancies because some people had installed a patch and others were using an older release.
Example would be using this new 98 build 5910 and me playing with 98 build 5921 where "vectorize" is now implemented or rules being enforced differently
Wrote

post number 8 "P.S.: I do realize that these changes may result in errors in some existing calculations, but we need to accept these new rules in order to be sure such issues will never appear again in future + rules of a game are now defined."

Yes, this is a BETA and not "commercial", however I like to use SMath to double check some items. Right now, I am dependent on others updating their file to show what version of the software they are using.
#4 Objavljeno: 21. 3. 2016. 12:12:02
Igor Skarine

Igor Skarine

14 svidjanja u 97 postova.

Grupa: User

Hello Andrey,

I recently discovered, that if I use vectorised operation on result of submatrix(v,...) and sort(v) functions,
vectorised operation doesn't work, it needs eval(submatrix(v,...)) and eval(sort(v)).
The optimization of the code is, of course, NUMERIC.

Another thing that happens, if I use NUMERIC function, returning something like mwexp(vector),
further SYMBOLIC calculations don't work with the result. I need to specify return value as eval(mwexp(vector)),
then it's OK. It might be intended behaviour, but it looks a bit fishy.

Best regards,
Igor
#5 Objavljeno: 21. 3. 2016. 17:50:28
Andrey Ivashov

Andrey Ivashov

2.345 svidjanja u 4.060 postova.

Grupa: Super Administrator

Hello, Davide.

Wrote

I noticed the following issue: when I open an existing file, it starts with an history step; if I click the undo button, the worksheet goes blank, very harmful if you accidentally save the file


Fixed.

Thank you!
1 korisnika je svidelo ovu objavu
Davide Carpi 22. 3. 2016. 05:38:00
#6 Objavljeno: 21. 3. 2016. 18:51:57
Andrey Ivashov

Andrey Ivashov

2.345 svidjanja u 4.060 postova.

Grupa: Super Administrator

Hello, Ioan.

Wrote

in the example from your post #1, these 4022 of 7887 represent what - regions ? or else?


In this specific case it is about regions. But in common case it means "some internal things", f.e. numbers of frames for animated plot or plug-ins to load or anything time to process of what I am able to estimate. That is why I decided not to describe it to user and made some common notifier for all possible (i.e. future) cases.
I'm agree that this is not obvious for end user, so, I think, I will remove this counter from status bar. Instead I will add it as a progress bar tool tip (you will see this text by hovering of the progress bar) - this will still allow to see internal counter for those who need it, but will not confuse others.

Wrote

the information concerning loading time vanishes when finished. Could it be conserved on the status bar.


It is by design. In future I plan to provide possibility to retrieve last status bar messages by some convenient way.

Wrote

seeing that this 3 time values are sometime well different from the previously version of SMath,
it would interesting to be able recover them on the page with some functions as we do with the calculation - time() or,
at least to conserve them simultaneously on the status bar.


There is not enough space in status bar to show everything I want to show I have plans to improve it soon, so will take into account all your suggestions and proposals.

Thank you!

Best regards.
1 korisnika je svidelo ovu objavu
ioan92 21. 3. 2016. 18:54:00
#7 Objavljeno: 21. 3. 2016. 18:58:26
Andrey Ivashov

Andrey Ivashov

2.345 svidjanja u 4.060 postova.

Grupa: Super Administrator

Hello.

Wrote

I would like to request a "function" that allows for input of the SMath version and build number into the calculation sheet. On Mathcad, we were able to figure out discrepancies because some people had installed a patch and others were using an older release.


It is not a problem for me to add such function, but I'm not really understand how it can help you. Please could you provide some example? (imagine we already have appVersion(1) function which returns 0.98.XXXX)

Best regards.
#8 Objavljeno: 21. 3. 2016. 19:05:27
Andrey Ivashov

Andrey Ivashov

2.345 svidjanja u 4.060 postova.

Grupa: Super Administrator

Hello, Igor.

Wrote

I recently discovered, that if I use vectorised operation on result of submatrix(v,...) and sort(v) functions,
vectorised operation doesn't work, it needs eval(submatrix(v,...)) and eval(sort(v)).


Vectorize function will not work for functions which requires matrix/vector as argument only. We have briefly discussed it here: http://en.smath.info/forum/yaf_postsm30971_SMath-Studio-0-98-5908--05-March-2016.aspx#post30971. As you see for now I have advises not to implement exceptions for such functions. That is why you need to use eval() there.

Best regards.
#9 Objavljeno: 21. 3. 2016. 20:57:22
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Wrote

I recently discovered, that if I use vectorised operation on result ofsubmatrix(v,...) and sort(v) functions,
vectorised operation doesn't work, it needs eval(submatrix(v,...)) and eval(sort(v)).
The optimization of the code is, of course, NUMERIC.

...Igor

In Smath, many types of result must be transited, particularly chained functions.

Forum Vectorise Submatrix.gif

#10 Objavljeno: 22. 3. 2016. 10:52:07
Ruben Sidranski

Ruben Sidranski

17 svidjanja u 465 postova.

Grupa: User

Wrote

Hello.
It is not a problem for me to add such function, but I'm not really understand how it can help you. Please could you provide some example? (imagine we already have appVersion(1) function which returns 0.98.XXXX)
Best regards.

Aundrey, this would be used for documentation purposes ... call maybe in the header/footer. Not too long ago, you had an issue when you posted a new Rev and the build number was wrong. Your fix was to automate the build number every time you updated the software.
Although SMath is technically a "BETA", I tend to use it as a double check to others Maths, mostly spreadsheet calculations. I then PDF my calculations and attach it as a double check and would like to document what version was used. I too would like to automate the version of SMath being used
#11 Objavljeno: 22. 3. 2016. 11:54:46
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: Moderator

appVersion() would be the current app version or the version used last time the document was saved?

What about a "diff" feature, in which SS compares the results already saved in the file and the results after a new evaluation? Different results may be highlighted (f.e with a blue frame and blue dots on the new rich scrollbars); this may be launched at once on 1st evaluation (or upon request, but this may be harder to track when changes are made by the user after opening the file)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#12 Objavljeno: 22. 3. 2016. 11:57:11
Alexander O. Melnik

Alexander O. Melnik

127 svidjanja u 498 postova.

Grupa: Moderator

Wrote

Hello, Igor.

Wrote

I recently discovered, that if I use vectorised operation on result of submatrix(v,...) and sort(v) functions,
vectorised operation doesn't work, it needs eval(submatrix(v,...)) and eval(sort(v)).


Vectorize function will not work for functions which requires matrix/vector as argument only. We have briefly discussed it here: http://en.smath.info/forum/yaf_postsm30971_SMath-Studio-0-98-5908--05-March-2016.aspx#post30971. As you see for now I have advises not to implement exceptions for such functions. That is why you need to use eval() there.

Best regards.



Andrey, any thoughts on implementing the symb() alternative to eval()?

It could be useful with vectorize() to complete the loop (numeric / symbolic).
#13 Objavljeno: 22. 3. 2016. 23:03:22
Ruben Sidranski

Ruben Sidranski

17 svidjanja u 465 postova.

Grupa: User

Davide,
A tracked changes would be nice , but overkill for what I am asking for. You are correct in that it would document the current version of SMath that opens the file. In my case, I PDF the file and that locks the revision for historical purposes. If I have to re-run the file for back check confirmation, the PDF will document the "new" version of SMath that I am using.
#14 Objavljeno: 24. 3. 2016. 14:12:51
Alexander O. Melnik

Alexander O. Melnik

127 svidjanja u 498 postova.

Grupa: Moderator

If I try to save attached file with the cursor positioned below all the text, it will crash.

Crash is related to presence of page background image bg.png.

Fresh install of this release is used on Win7 Enterprise SP1 64 bit.

I am encouraged to use company logo / title block on all my work so I will revert back to 0.97 till this is resolved.
crash.sm (38,4 KiB) preuzeto 1770 put(ova).
bgCrash0.png
bgCrash.png
bg.png
#15 Objavljeno: 24. 3. 2016. 20:17:53
Andrey Ivashov

Andrey Ivashov

2.345 svidjanja u 4.060 postova.

Grupa: Super Administrator

Wrote

If I try to save attached file with the cursor positioned below all the text, it will crash.


Fixed. Thank you!

Best regards!
1 korisnika je svidelo ovu objavu
Alexander O. Melnik 24. 3. 2016. 20:38:00
#16 Objavljeno: 24. 3. 2016. 20:38:21
Alexander O. Melnik

Alexander O. Melnik

127 svidjanja u 498 postova.

Grupa: Moderator

Wrote

Wrote

If I try to save attached file with the cursor positioned below all the text, it will crash.


Fixed. Thank you!

Best regards!



Thanks alot!!!
  • Novi postovi
  • Nema novih postova