Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Andrey Ivashov  
#1 Posted : 29 March 2016 18:57:24(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,617
Man
Russian Federation

Was thanked: 1981 time(s) in 667 post(s)
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

Edited by user 29 March 2016 18:59:35(UTC)  | Reason: Not specified

thanks 10 users thanked Andrey Ivashov for this useful post.
on 29/03/2016(UTC),  on 29/03/2016(UTC),  on 29/03/2016(UTC),  on 29/03/2016(UTC),  on 29/03/2016(UTC),  on 29/03/2016(UTC),  on 29/03/2016(UTC),  on 30/03/2016(UTC),  on 30/03/2016(UTC),  on 30/03/2016(UTC)
Offline Andrey Ivashov  
#2 Posted : 29 March 2016 18:59:05(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,617
Man
Russian Federation

Was thanked: 1981 time(s) in 667 post(s)
FYI: First 0.98 Stable SMath Studio release scheduled on 1-st April (and it is not a joke).
thanks 8 users thanked Andrey Ivashov for this useful post.
on 29/03/2016(UTC),  on 29/03/2016(UTC),  on 29/03/2016(UTC),  on 29/03/2016(UTC),  on 29/03/2016(UTC),  on 29/03/2016(UTC),  on 29/03/2016(UTC),  on 30/03/2016(UTC)
Offline Alex M.  
#3 Posted : 29 March 2016 22:20:57(UTC)
Alex M.


Rank: Advanced Member

Groups: Registered
Joined: 03/03/2014(UTC)
Posts: 418
Canada

Was thanked: 125 time(s) in 96 post(s)
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 Clap

P.S.: one day we will be able to define & manipulate 5000 x 5000 matricies quickly and with ease Good
matrixSL.smz (1,606kb) downloaded 50 time(s).
matrixSL.png

This happens on Copy / Paste:

matrixSL1.png

Edited by user 29 March 2016 22:36:27(UTC)  | Reason: Not specified

thanks 2 users thanked Alex M. for this useful post.
on 29/03/2016(UTC),  on 30/03/2016(UTC)
Offline Andrey Ivashov  
#4 Posted : 29 March 2016 23:59:30(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,617
Man
Russian Federation

Was thanked: 1981 time(s) in 667 post(s)
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 Wink
thanks 2 users thanked Andrey Ivashov for this useful post.
on 30/03/2016(UTC),  on 30/03/2016(UTC)
Offline Davide Carpi  
#5 Posted : 30 March 2016 00:10:51(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,690
Man
Italy
Location: Italy

Was thanked: 1368 time(s) in 895 post(s)
Thank you Andrey Clap Clap Clap

Originally Posted by: Andrey Ivashov Go to Quoted Post
  • 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;

Originally Posted by: Andrey Ivashov Go to Quoted Post
FYI: First 0.98 Stable SMath Studio release scheduled on 1-st April (and it is not a joke).

Nice Biggrin

Can we have also an update in the SS core documentation?
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Alex M.  
#6 Posted : 30 March 2016 00:26:10(UTC)
Alex M.


Rank: Advanced Member

Groups: Registered
Joined: 03/03/2014(UTC)
Posts: 418
Canada

Was thanked: 125 time(s) in 96 post(s)
Originally Posted by: Andrey Ivashov Go to Quoted Post
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 Wink


This is inspiring :-)

Keep up the great work!!!!

P.S.: I am sure the community will grow in the near future

Edited by user 30 March 2016 00:32:57(UTC)  | Reason: Not specified

thanks 1 user thanked Alex M. for this useful post.
on 30/03/2016(UTC)
Offline Andrey Ivashov  
#7 Posted : 30 March 2016 00:57:55(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,617
Man
Russian Federation

Was thanked: 1981 time(s) in 667 post(s)
Davide,

Originally Posted by: Davide Carpi Go to Quoted Post
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.

Originally Posted by: Davide Carpi Go to Quoted Post
Can we have also an update in the SS core documentation?

Sure, will upload updated documentations after release.
thanks 1 user thanked Andrey Ivashov for this useful post.
on 30/03/2016(UTC)
Offline tomtit  
#8 Posted : 30 March 2016 04:11:31(UTC)
tomtit


Rank: Advanced Member

Groups: Registered
Joined: 22/02/2014(UTC)
Posts: 81

Was thanked: 11 time(s) in 10 post(s)
Hello Andrey,

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

Seems to be working in 5928.
Best regards
Offline mikekaganski  
#9 Posted : 30 March 2016 04:33:25(UTC)
mikekaganski


Rank: Advanced Member

Groups: Registered
Joined: 17/01/2013(UTC)
Posts: 296
Man
Russian Federation
Location: Khabarovsk, Russia

Was thanked: 151 time(s) in 107 post(s)
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.

Edited by user 30 March 2016 04:59:54(UTC)  | Reason: Not specified

Best regards,
Mike Kaganski
Offline Jean Giraud  
#10 Posted : 30 March 2016 07:11:44(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 983 time(s) in 811 post(s)
Originally Posted by: tomtit Go to Quoted Post
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

Offline tomtit  
#11 Posted : 30 March 2016 17:08:19(UTC)
tomtit


Rank: Advanced Member

Groups: Registered
Joined: 22/02/2014(UTC)
Posts: 81

Was thanked: 11 time(s) in 10 post(s)
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

Edited by user 30 March 2016 17:44:25(UTC)  | Reason: Not specified

Offline mikekaganski  
#12 Posted : 30 March 2016 17:51:00(UTC)
mikekaganski


Rank: Advanced Member

Groups: Registered
Joined: 17/01/2013(UTC)
Posts: 296
Man
Russian Federation
Location: Khabarovsk, Russia

Was thanked: 151 time(s) in 107 post(s)
f2_remez???

couldn't you please attach the .sm?
Best regards,
Mike Kaganski
Offline uni  
#13 Posted : 31 March 2016 14:26:17(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,546
Man
Russian Federation

Was thanked: 1307 time(s) in 766 post(s)
Originally Posted by: tomtit Go to Quoted Post
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
thanks 1 user thanked uni for this useful post.
on 31/03/2016(UTC)
Offline Jean Giraud  
#14 Posted : 31 March 2016 16:04:04(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 983 time(s) in 811 post(s)
Forum StackUnits.gif
thanks 1 user thanked Jean Giraud for this useful post.
on 31/03/2016(UTC)
Offline Davide Carpi  
#15 Posted : 31 March 2016 20:20:00(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,690
Man
Italy
Location: Italy

Was thanked: 1368 time(s) in 895 post(s)
Originally Posted by: uni Go to Quoted Post
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);

Edited by user 31 March 2016 21:07:48(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Andrey Ivashov  
#16 Posted : 16 April 2016 13:28:10(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,617
Man
Russian Federation

Was thanked: 1981 time(s) in 667 post(s)
Hello, Alex.

Originally Posted by: Alex.M Go to Quoted Post
P.S.: one day we will be able to define & manipulate 5000 x 5000 matricies quickly and with ease Good

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.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.