RC6: SMath Studio 0.98.5932 (29 March 2016)

RC6: SMath Studio 0.98.5932 (29 March 2016) - Сообщения

#1 Опубликовано: 29.03.2016 12:57:24
Andrey Ivashov

Andrey Ivashov

2270 сообщений из 3734 понравились пользователям.

Группа: 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 29.03.2016 13:20:00, уни 29.03.2016 16:28:00, Igor Skarine 29.03.2016 17:29:00, ioan92 29.03.2016 13:06:00, NDTM Amarasekera 29.03.2016 23:13:00, Davide Carpi 29.03.2016 18:07:00, sergio 29.03.2016 14:08:00, Mike Kaganski 29.03.2016 19:20:00, Jaan Praks 29.03.2016 15:07:00, Alexander O. Melnik 29.03.2016 13:21:00
#2 Опубликовано: 29.03.2016 12:59:05
Andrey Ivashov

Andrey Ivashov

2270 сообщений из 3734 понравились пользователям.

Группа: Super Administrator

FYI: First 0.98 Stable SMath Studio release scheduled on 1-st April (and it is not a joke).
8 пользователям понравился этот пост
frapuano 29.03.2016 17:37:00, ioan92 29.03.2016 13:07:00, Radovan Omorjan 29.03.2016 13:20:00, Alexander O. Melnik 29.03.2016 13:21:00, sergio 29.03.2016 14:08:00, Jaan Praks 29.03.2016 15:08:00, Ernesto 29.03.2016 15:11:00, Davide Carpi 29.03.2016 18:07:00
#3 Опубликовано: 29.03.2016 16:20:57
Alexander O. Melnik

Alexander O. Melnik

127 сообщений из 494 понравились пользователям.

Группа: 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 МиБ) скачан 69 раз(а).
matrixSL.png

This happens on Copy / Paste:

matrixSL1.png
2 пользователям понравился этот пост
Davide Carpi 29.03.2016 18:12:00, Andrey Ivashov 29.03.2016 17:51:00
#4 Опубликовано: 29.03.2016 17:59:30
Andrey Ivashov

Andrey Ivashov

2270 сообщений из 3734 понравились пользователям.

Группа: 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 29.03.2016 18:14:00, Davide Carpi 29.03.2016 18:12:00
#5 Опубликовано: 29.03.2016 18:10:51
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: 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 Опубликовано: 29.03.2016 18:26:10
Alexander O. Melnik

Alexander O. Melnik

127 сообщений из 494 понравились пользователям.

Группа: 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 29.03.2016 19:59:00
#7 Опубликовано: 29.03.2016 18:57:55
Andrey Ivashov

Andrey Ivashov

2270 сообщений из 3734 понравились пользователям.

Группа: 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 29.03.2016 19:59:00
#8 Опубликовано: 29.03.2016 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 Опубликовано: 29.03.2016 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 Опубликовано: 30.03.2016 01:11:44
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 30.03.2016 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 Опубликовано: 30.03.2016 11:51:00
Mike Kaganski

Mike Kaganski

184 сообщений из 434 понравились пользователям.

Группа: User

f2_remez???

couldn't you please attach the .sm?
С уважением, Михаил Каганский
#13 Опубликовано: 31.03.2016 08:26:17
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 31.03.2016 14:23:00
#14 Опубликовано: 31.03.2016 10:04:04
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Forum StackUnits.gif
1 пользователям понравился этот пост
Davide Carpi 31.03.2016 14:15:00
#15 Опубликовано: 31.03.2016 14:20:00
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: 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 Опубликовано: 16.04.2016 07:28:10
Andrey Ivashov

Andrey Ivashov

2270 сообщений из 3734 понравились пользователям.

Группа: 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.
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений