SMath Studio 0.99.6617 (12 February 2018)

SMath Studio 0.99.6617 (12 February 2018) - Messages

#1 Posted: 2018/2/12 14:17:12
Andrey Ivashov

Andrey Ivashov

2,315 likes in 3,949 posts.

Group: Super Administrator



spec_symbols_in_eq_1.PNG

Best regards.
9 users liked this post
Вячеслав Мезенцев 2018/2/12 14:21:00, NDTM Amarasekera 2018/2/12 14:39:00, Davide Carpi 2018/2/12 14:50:00, sergio 2018/2/12 14:58:00, Arie 2018/2/12 15:21:00, Radovan Omorjan 2018/2/12 15:31:00, frapuano 2018/2/12 20:52:00, IVR 2018/2/13 07:12:00, Serg 2018/2/16 08:02:00
#2 Posted: 2018/2/12 14:46:50
Davide Carpi

Davide Carpi

1,435 likes in 2,913 posts.

Group: Moderator

Wrote

Mode to insert special symbols into equation implemented using Ctrl K (Ctrl Shift K is also supported);


Very good! Now we can write even the argument separator in subscripts like in eurocodes (not like the decimal separator that changes with settings, but close enough for daily work)

2018-02-12 19_04_15-SMath Studio - [Page1_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
Andrey Ivashov 2018/2/12 15:17:00
#3 Posted: 2018/2/12 15:19:02
Andrey Ivashov

Andrey Ivashov

2,315 likes in 3,949 posts.

Group: Super Administrator

Simple example of using new possibility to work with unicode symbols:

dec2hex.png

dec2hex.sm (11.68 KiB) downloaded 960 time(s).

Best regards.
2 users liked this post
bdrunagle 2018/6/18 03:46:00, Davide Carpi 2018/2/13 04:41:00
#4 Posted: 2018/2/12 15:40:22
Andrey Ivashov

Andrey Ivashov

2,315 likes in 3,949 posts.

Group: Super Administrator

Hello, Davide!

Wrote

Now we can write even the argument separator in subscripts like in eurocodes (not like the decimal separator that changes with settings, but close enough for daily work)



One more benefit here is that we are not limited in units names now. It is pretty important f.e. in Russia:

handsome_units_rus_1.png
1 users liked this post
Davide Carpi 2018/2/13 04:41:00
#5 Posted: 2018/2/13 05:40:02
Krid

Krid

0 likes in 16 posts.

Group: User

Creating a variable right on the form SmathViewer
Accidentally discovered
- it
1. Error
2. Future plan
3. Or so intended - undocumented opportunities
And this trick works only when there are variables before and after our variable "fdsf"

Перевод:
Создание переменной прямо на форме SmathViewer
Случайно обнаружил
- это
1. Ошибка
2. Планы на будущее
3. Или так задумано - недокументированные возможности
Причем этот трюк работает только тогда, когда есть переменные до и после нашей переменной "fdsf"

Gif

Gif-Animation
#6 Posted: 2018/2/13 07:26:39
Alvaro

Alvaro

1,078 likes in 1,749 posts.

Group: User

Hi. Which goes to be the correct answer?
Best regards.
Alvaro.

File not found.File not found.

vectorize.sm (5.54 KiB) downloaded 956 time(s).
1 users liked this post
Andrey Ivashov 2018/2/13 14:05:00
#7 Posted: 2018/2/13 13:10:30
Arie

Arie

94 likes in 285 posts.

Group: User

Technically i thnk 6617 is implementing vectorize correctly.

If you want to achieve the results from 6484 you need to apply the vectorize function to the input of rgb2dec as shown in the attached example.

vectorize (1).sm (8.59 KiB) downloaded 911 time(s).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#8 Posted: 2018/2/13 14:04:32
Andrey Ivashov

Andrey Ivashov

2,315 likes in 3,949 posts.

Group: Super Administrator

Hello, Alvaro.

Wrote

Hi. Which goes to be the correct answer?


Thank you very much for this report!
I have investigated issue and see new version shows incorrect results (I have introduced this bug during work on refactoring).

I have found the reason and just fixed it. Now results are the same as in 6484.
I will release new SMath Studio version soon.

Best regards.
1 users liked this post
Alvaro 2018/2/13 19:48:00
#9 Posted: 2018/2/13 14:09:32
Andrey Ivashov

Andrey Ivashov

2,315 likes in 3,949 posts.

Group: Super Administrator

Hello.

Wrote

Creating a variable right on the form SmathViewer
Accidentally discovered
- it
1. Error
2. Future plan
3. Or so intended - undocumented opportunities


Heh. This is not something I planned to implement. I would say this "feature" is introduced accidentally At least it is a first time I see it. And I even not sure what to do with it now...

Best regards.
#10 Posted: 2018/2/13 14:48:34
Arie

Arie

94 likes in 285 posts.

Group: User

Wrote


I have investigated issue and see new version shows incorrect results (I have introduced this bug during work on refactoring).




I don't know why this vectorize function confuses me so much. Could someone explain to me how this function operates?

I tend to think of it as a similar to the "dot" . command in Matlab.

For example in 0.6484 shown below. I don't see how calling vectorize either inside the function or outside the function produces the same results, but calling it both inside the function and outside cancels its effects.

I'm sure my misunderstanding comes from ignorance on how SMath works behind the scenes and order of operations. But to me the behavior in 6617 tends to make sense.

File not found.File not found.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#11 Posted: 2018/2/13 23:27:26
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

I don't know why this vectorize function confuses me so much. Could someone explain to me how this function operates?


Since it was introduced [Smath 6179] and 100's time I used it,
it works same as Mathcad 8 Pro <= 11. It is an element wise operator,
seemingly universal similar to all matrix/vector algebra ... for instance
2d, 35 rotation.

Does it work ? Yes and no as you put it.
As simple as it looks, follows some rules depending upon the result style.

Jean

rgb2dec.PNG

vectorize (1).sm (95.54 KiB) downloaded 982 time(s).




#12 Posted: 2018/2/14 00:04:52
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

... some examples

Observe the matrix/vector rules ... M*rotation ... NOT rotation*M
Cholesky solver is not commutative ... + examples vectorize => please feel free !

Alyles.sm (1012.91 KiB) downloaded 969 time(s).
#13 Posted: 2018/2/14 14:48:04
Alvaro

Alvaro

1,078 likes in 1,749 posts.

Group: User

Wrote



I don't know why this vectorize function confuses me so much. Could someone explain to me how this function operates?

I tend to think of it as a similar to the "dot" . command in Matlab.



Hi. Yes, vectorize is similar to the dot operator in matlab, but also like map in maple and /@ in mathematica: ever language have a way to operate "element by element" in matlab speak, or over the "head" of structures, in the others.

SMath "structure" are always arrays, and could be confusing the behavior when the vectorize operator operates over "arrays of arrays".

Fortunately, SMath is more congruent than mathcad, which behavior was unpredictable between versions:

File not found.File not found.

Here is the maple's map and mathematica /@:

File not found.File not found.

Best regards.

Alvaro.
1 users liked this post
Andrey Ivashov 2018/2/14 18:02:00
#14 Posted: 2018/2/14 19:39:59
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

I don't know why this vectorize function confuses me so much. Could someone explain to me how this function operates?



vectorizeRGB.PNG
1 users liked this post
Andrey Ivashov 2018/2/15 01:34:00
#15 Posted: 2018/2/14 23:51:19
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

I don't know why this vectorize function confuses me so much. Could someone explain to me how this function operates?



camera & many more is a standard in image processing.
A gorgeous application for the Smath vectorize operator.

vectorizeCAMERA.PNG
2 users liked this post
Andrey Ivashov 2018/2/15 01:34:00, frapuano 2018/2/15 03:10:00
#16 Posted: 2018/2/15 00:43:07
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

I don't know why this vectorize function confuses me so much. Could someone explain to me how this function operates?


... the few examples above make you confident.
You may hit the wall from "vectorize" ... Explain
=> Mathcad vectorize operator take interpolation functions,
Smath does NOT, thus the vect operator fails.
Unlike Mathcad, Smath linterp, ainterp, cinterp are NOT
scalar functions ... demonstrated in the attached.
This nuance will save you growing more gray hairs.

rainbow.PNG

Image Rainbow Colormap.sm (239.69 KiB) downloaded 913 time(s).
1 users liked this post
Andrey Ivashov 2018/2/15 01:34:00
  • New Posts
  • No New Posts