RC6: SMath Studio 0.98.5932 (29 March 2016)

RC6: SMath Studio 0.98.5932 (29 March 2016) - 消息

#1 已发布: 2016/3/29 12:57:24
Andrey Ivashov

Andrey Ivashov

2,344个赞,共4,057个帖子。

组: Super Administrator

SMath Studio 0.98.5932 available


Latest changes (against SMath Studio 0.98.5928)

  • SS-2291: Displaying of large matrices in equation output improved;
    million_cells_1.png
  • SS-154: Square brackets is now used for displaying matrices;
  • Multi-threading issue fixed for environments with slow performance when displaying results of calculations;
  • Vectorization functionality now works correctly with user defined procedures;
  • Performance for visualization of large expressions increased;
  • Fixed issue regarding limited number of matrix/vector cells (maximum was at 32765) for SM/SMZ files;
  • Only one action (open/save/calculate) per time allowed;
  • Interface translations updated.


Download

10位用户喜欢此帖子
Radovan Omorjan 2016/3/29 13:20:00, уни 2016/3/29 16:28:00, Igor Skarine 2016/3/29 17:29:00, ioan92 2016/3/29 13:06:00, NDTM Amarasekera 2016/3/29 23:13:00, Davide Carpi 2016/3/29 18:07:00, sergio 2016/3/29 14:08:00, Mike Kaganski 2016/3/29 19:20:00, Jaan Praks 2016/3/29 15:07:00, Alexander O. Melnik 2016/3/29 13:21:00
#2 已发布: 2016/3/29 12:59:05
Andrey Ivashov

Andrey Ivashov

2,344个赞,共4,057个帖子。

组: Super Administrator

FYI: First 0.98 Stable SMath Studio release scheduled on 1-st April (and it is not a joke).
8位用户喜欢此帖子
frapuano 2016/3/29 17:37:00, ioan92 2016/3/29 13:07:00, Radovan Omorjan 2016/3/29 13:20:00, Alexander O. Melnik 2016/3/29 13:21:00, sergio 2016/3/29 14:08:00, Jaan Praks 2016/3/29 15:08:00, Ernesto 2016/3/29 15:11:00, Davide Carpi 2016/3/29 18:07:00
#3 已发布: 2016/3/29 16:20:57
Alexander O. Melnik

Alexander O. Melnik

127个赞,共498个帖子。

组: Moderator

Thank you for all the hard work, Andrey - 0.98 stable is a major leap forward from 0.97.

I very much enjoy the encreased computation and GUI performance.

Here is a peculiarity I have found in the recent release:

If I click on the matrix defining expression there is a lag. There is even larger lag when I position the cursor right after "2" in "2000" and hit backspace. In fact it seems (based on the duration of the lag) that expression is fully recalculated when I hit that backspace button - I would think it is not the intent.

Also the resulting size of the uncompressed .SM file (sreenshot attached) is 141 MB (it might have always been this large for large matricies). When I try to copy/paste the expression from attached workbook to a blank one, the destination SMath hangs and is not responsive for good 5 minutes now.

Overall though, those are minor hiccups for the performance boost we ar getting with the 0.98 SMath Studio. Thank you very much

P.S.: one day we will be able to define & manipulate 5000 x 5000 matricies quickly and with ease
matrixSL.smz (1.56 MiB)已下载 1992 次。
matrixSL.png

This happens on Copy / Paste:

matrixSL1.png
2位用户喜欢此帖子
Davide Carpi 2016/3/29 18:12:00, Andrey Ivashov 2016/3/29 17:51:00
#4 已发布: 2016/3/29 17:59:30
Andrey Ivashov

Andrey Ivashov

2,344个赞,共4,057个帖子。

组: Super Administrator

Yep, there are many things to do. I've just started to work on performance and I see tens of places in code which must be reviewed.
In fact step between 0.97 an 0.98 is a most powerful update we saw in this project.

Another fact is that with all great help from our community I will never stop
2位用户喜欢此帖子
Alexander O. Melnik 2016/3/29 18:14:00, Davide Carpi 2016/3/29 18:12:00
#5 已发布: 2016/3/29 18:10:51
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Thank you Andrey

Wrote

  • SS-2291: Displaying of large matrices in equation output improved;


I see two small issues here:
- CTRL+DRAG doesn't propagate the settings of the new feature (copy+paste works fine);
- no history steps triggered for resizing the matrix;

Wrote

FYI: First 0.98 Stable SMath Studio release scheduled on 1-st April (and it is not a joke).


Nice :d

Can we have also an update in the SS core documentation?
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#6 已发布: 2016/3/29 18:26:10
Alexander O. Melnik

Alexander O. Melnik

127个赞,共498个帖子。

组: Moderator

Wrote

Yep, there are many things to do. I've just started to work on performance and I see tens of places in code which must be reviewed.
In fact step between 0.97 an 0.98 is a most powerful update we saw in this project.

Another fact is that with all great help from our community I will never stop



This is inspiring :-)

Keep up the great work!!!!

P.S.: I am sure the community will grow in the near future
1位用户喜欢此帖子
Davide Carpi 2016/3/29 19:59:00
#7 已发布: 2016/3/29 18:57:55
Andrey Ivashov

Andrey Ivashov

2,344个赞,共4,057个帖子。

组: Super Administrator

Davide,

Wrote

I see two small issues here:
- CTRL+DRAG doesn't propagate the settings of the new feature (copy+paste works fine);
- no history steps triggered for resizing the matrix;


Thank you! Fixed.

Wrote

Can we have also an update in the SS core documentation?


Sure, will upload updated documentations after release.
1位用户喜欢此帖子
Davide Carpi 2016/3/29 19:59:00
#8 已发布: 2016/3/29 22:11:31
Igor Skarine

Igor Skarine

14个赞,共97个帖子。

组: User

Hello Andrey,

Today found strange error with mwround() function.
vectorise_err.png

Seems to be working in 5928.
Best regards
#9 已发布: 2016/3/29 22:33:25
Mike Kaganski

Mike Kaganski

184个赞,共434个帖子。

组: User

I haven't Matlab C++ Math Library; however, other functions work similarily. And your example looks strange (eval() inconsistently positioned).

This works for me (using Diag() as mwround() replacement):

scr6.png

Here is the cause of your error:

scr7.png

Seeems that without eval(), the vectorize() treats output from other functions (stack in this case) as scalar (it doesn't see the array here before function evaluation - you didn't pass one explicitly), and thus ultimately simply passes its result (that happens to be vector) to the exponent.
С уважением, Михаил Каганский
#10 已发布: 2016/3/30 01:11:44
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Hello Andrey,

Today found strange error with mwround() function.



Nothing strange. What you construct right Smath concludes right.
Otherwise, you gave many wrong instructions "Can't calculate"
Just watch on what you plug the vectorise operator. You may have
to put some stuff within brackets.

Jean

#11 已发布: 2016/3/30 11:08:19
Igor Skarine

Igor Skarine

14个赞,共97个帖子。

组: User

Sorry, I was tired tonight and posted obviously wrong example.
The actual code that puzzled me was:

1-st disabled instance of hb_fir() was certainly working in 5928 but doesn't work any more in 5932.
2-nd disabled also doesn't work
3-rd disabled doesn't work
4-th enabled works fine.

example.png

I found that almost in all cases using mwxxx() routines almost as convenient as vectorisation and far more safe.
I'm going to use vectorise() only for component-wise multiplication and division of vectors, to eliminate bulky "for" loops.
And those multiple eval() everywhere are annoying. It is good idea as well to change stack to Mathcad style.
stack(0,v,0) - doesn't work (Mathcad style). Now you have to use eval(stack(stack(0),v,stack(0))) to be sure.

Regards,
Igor
#12 已发布: 2016/3/30 11:51:00
Mike Kaganski

Mike Kaganski

184个赞,共434个帖子。

组: User

f2_remez???

couldn't you please attach the .sm?
С уважением, Михаил Каганский
#13 已发布: 2016/3/31 08:26:17
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

Wrote

stack(0,v,0) - doesn't work (Mathcad style). Now you have to use eval(stack(stack(0),v,stack(0))) to be sure.



You can use units for this:

2016-03-31 16-28-32 SMath Studio Desktop - [List1 ].png
Russia ☭ forever, Viacheslav N. Mezentsev
1位用户喜欢此帖子
Davide Carpi 2016/3/31 14:23:00
#14 已发布: 2016/3/31 10:04:04
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Forum StackUnits.gif
1位用户喜欢此帖子
Davide Carpi 2016/3/31 14:15:00
#15 已发布: 2016/3/31 14:20:00
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Wrote

You can use units for this:

2016-03-31 16-28-32 SMath Studio Desktop - [List1 ].png



Interesting; using the same approach:

2016-03-31 19_22_59-SMath Studio Desktop - [coolprop(1).sm_].png

The Jean solution is elegant too.

But in the end I'd prefer the built-in way; note that the issue is related only to the first element in stack (in augment too) -> imho if the first argument of these functions is a number should be considered like a 1x1 matrix (meaning that the desired output will be a column vector or a row vector; at first glance I don't see drawbacks);
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#16 已发布: 2016/4/16 07:28:10
Andrey Ivashov

Andrey Ivashov

2,344个赞,共4,057个帖子。

组: Super Administrator

Hello, Alex.

Wrote

P.S.: one day we will be able to define & manipulate 5000 x 5000 matricies quickly and with ease


I've made a great progress regarding large matrices in latest nightly build: http://en.smath.info/forum/yaf_postst7466_SMath-Studio-0-98-5950--16-April-2016.aspx - please check it!

Best regards.
  • 有新帖
  • 无新帖