SMath Studio 0.99.6617 (12 February 2018)

SMath Studio 0.99.6617 (12 February 2018) - Poruke

#1 Objavljeno: 12. 2. 2018. 14:17:12
Andrey Ivashov

Andrey Ivashov

2.345 svidjanja u 4.060 postova.

Grupa: Super Administrator



spec_symbols_in_eq_1.PNG

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

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Andrey Ivashov 12. 2. 2018. 15:17:00
#3 Objavljeno: 12. 2. 2018. 15:19:02
Andrey Ivashov

Andrey Ivashov

2.345 svidjanja u 4.060 postova.

Grupa: Super Administrator

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

dec2hex.png

dec2hex.sm (11,68 KiB) preuzeto 1707 put(ova).

Best regards.
2 korisnika je svidelo ovu objavu
bdrunagle 18. 6. 2018. 03:46:00, Davide Carpi 13. 2. 2018. 04:41:00
#4 Objavljeno: 12. 2. 2018. 15:40:22
Andrey Ivashov

Andrey Ivashov

2.345 svidjanja u 4.060 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Davide Carpi 13. 2. 2018. 04:41:00
#5 Objavljeno: 13. 2. 2018. 05:40:02
Krid

Krid

0 svidjanja u 16 postova.

Grupa: 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 Objavljeno: 13. 2. 2018. 07:26:39
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

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

Fajl nije pronađen.Fajl nije pronađen.

vectorize.sm (5,54 KiB) preuzeto 1738 put(ova).
1 korisnika je svidelo ovu objavu
Andrey Ivashov 13. 2. 2018. 14:05:00
#7 Objavljeno: 13. 2. 2018. 13:10:30
Arie

Arie

94 svidjanja u 285 postova.

Grupa: 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) preuzeto 1675 put(ova).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#8 Objavljeno: 13. 2. 2018. 14:04:32
Andrey Ivashov

Andrey Ivashov

2.345 svidjanja u 4.060 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Alvaro 13. 2. 2018. 19:48:00
#9 Objavljeno: 13. 2. 2018. 14:09:32
Andrey Ivashov

Andrey Ivashov

2.345 svidjanja u 4.060 postova.

Grupa: 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 Objavljeno: 13. 2. 2018. 14:48:34
Arie

Arie

94 svidjanja u 285 postova.

Grupa: 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.

Fajl nije pronađen.Fajl nije pronađen.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#11 Objavljeno: 13. 2. 2018. 23:27:26
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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) preuzeto 1789 put(ova).




#12 Objavljeno: 14. 2. 2018. 00:04:52
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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) preuzeto 1799 put(ova).
#13 Objavljeno: 14. 2. 2018. 14:48:04
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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:

Fajl nije pronađen.Fajl nije pronađen.

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

Fajl nije pronađen.Fajl nije pronađen.

Best regards.

Alvaro.
1 korisnika je svidelo ovu objavu
Andrey Ivashov 14. 2. 2018. 18:02:00
#14 Objavljeno: 14. 2. 2018. 19:39:59
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Andrey Ivashov 15. 2. 2018. 01:34:00
#15 Objavljeno: 14. 2. 2018. 23:51:19
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Andrey Ivashov 15. 2. 2018. 01:34:00, frapuano 15. 2. 2018. 03:10:00
#16 Objavljeno: 15. 2. 2018. 00:43:07
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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) preuzeto 1683 put(ova).
1 korisnika je svidelo ovu objavu
Andrey Ivashov 15. 2. 2018. 01:34:00
  • Novi postovi
  • Nema novih postova