Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Andrey Ivashov  
#1 Posted : 12 February 2018 20:17:12(UTC)
Andrey Ivashov


Rank: Administration

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

Was thanked: 1978 time(s) in 666 post(s)
SMath Studio - SMath
Created by SMath LLC in the scope of SMath project. Published by smath.

SMath Studio

SMath Studio box
 
 
 
 
 
 
 
 
 
 

Tiny, but powerful mathematical program with WYSIWYG editor and complete units of measurements support.

It provides numerous computing features and rich user interface translated into about 40 different languages. Application also contains integrated mathematical reference book.

Free for personal usage! Plans for Organizations are available!

Application can be easily extended based on your needs. Built-in Extensions Manager tool allows to get access to hundreds official and third-party resources of the following types: usage examples, plug-ins, SMath Viewer based applications, snippets, interface translations, interactive books, handbooks and tutorials.

La aparición del proyecto Smath, cubre un vacío que existía en el ámbito del software gratuito para Ingeniería. Es un proyecto que llegó para quedarse, ya que permite logros muy buenos a quienes utilizan esta herramienta. felicitaciones a Andrey y el gran equipo de colaboradores que cada uno con su aporte desinteresado hacen crecer esta aplicación que ya podemos caratular como de uso profesional more...

by Ing Parcelo Ortiz Plá

Mi programa favorito para calculos matematicos en general more...

by Joan Enric Coca

Great tool for all engineers. It's very user-friendly and has lots of functionalities that can be further extended by installing plug-ins (it takes just a few clicks, no need for tedious file manipulations). SMath can operate on units, perform symbolic calculations and many more. Also, it has very clear interface and all formulas can be entered just like you would do on a piece of paper. What's more, the software has great community of people willing to help with various issues. more...

by Jacob M.



spec_symbols_in_eq_1.PNG

Best regards.
thanks 9 users thanked Andrey Ivashov for this useful post.
on 12/02/2018(UTC),  on 12/02/2018(UTC),  on 12/02/2018(UTC),  on 12/02/2018(UTC),  on 12/02/2018(UTC),  on 12/02/2018(UTC),  on 13/02/2018(UTC),  on 13/02/2018(UTC),  on 16/02/2018(UTC)

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Davide Carpi  
#2 Posted : 12 February 2018 20:46:50(UTC)
Davide Carpi


Rank: Advanced Member

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

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

2018-02-12 19_04_15-SMath Studio - [Page1_].png

Edited by user 12 February 2018 21:04:42(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
thanks 1 user thanked Davide Carpi for this useful post.
on 12/02/2018(UTC)
Offline Andrey Ivashov  
#3 Posted : 12 February 2018 21:19:02(UTC)
Andrey Ivashov


Rank: Administration

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

Was thanked: 1978 time(s) in 666 post(s)
Simple example of using new possibility to work with unicode symbols:

dec2hex.png

dec2hex.sm (12kb) downloaded 72 time(s).

Best regards.
thanks 2 users thanked Andrey Ivashov for this useful post.
on 13/02/2018(UTC),  on 18/06/2018(UTC)
Offline Andrey Ivashov  
#4 Posted : 12 February 2018 21:40:22(UTC)
Andrey Ivashov


Rank: Administration

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

Was thanked: 1978 time(s) in 666 post(s)
Hello, Davide!

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


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
thanks 1 user thanked Andrey Ivashov for this useful post.
on 13/02/2018(UTC)
Offline Kriss  
#5 Posted : 13 February 2018 11:40:02(UTC)
Kriss


Rank: Member

Groups: Registered
Joined: 23/01/2017(UTC)
Posts: 16
Russian Federation
Location: Moscow

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
Offline Razonar  
#6 Posted : 13 February 2018 13:26:39(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Hi. Which goes to be the correct answer?
Best regards.
Alvaro.

v1.jpgv2.jpg

vectorize.sm (6kb) downloaded 54 time(s).

Edited by user 13 February 2018 13:29:38(UTC)  | Reason: Not specified

thanks 1 user thanked Razonar for this useful post.
on 13/02/2018(UTC)
Offline alyles  
#7 Posted : 13 February 2018 19:10:30(UTC)
alyles


Rank: Advanced Member

Groups: Registered
Joined: 23/03/2016(UTC)
Posts: 275
United States

Was thanked: 91 time(s) in 57 post(s)
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 (9kb) downloaded 51 time(s).

Edited by user 13 February 2018 19:12:43(UTC)  | Reason: Not specified

Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
Offline Andrey Ivashov  
#8 Posted : 13 February 2018 20:04:32(UTC)
Andrey Ivashov


Rank: Administration

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

Was thanked: 1978 time(s) in 666 post(s)
Hello, Alvaro.

Originally Posted by: Razonar Go to Quoted Post
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.
thanks 1 user thanked Andrey Ivashov for this useful post.
on 14/02/2018(UTC)
Offline Andrey Ivashov  
#9 Posted : 13 February 2018 20:09:32(UTC)
Andrey Ivashov


Rank: Administration

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

Was thanked: 1978 time(s) in 666 post(s)
Hello.

Originally Posted by: Kriss Go to Quoted Post
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 Good At least it is a first time I see it. And I even not sure what to do with it now...

Best regards.
Offline alyles  
#10 Posted : 13 February 2018 20:48:34(UTC)
alyles


Rank: Advanced Member

Groups: Registered
Joined: 23/03/2016(UTC)
Posts: 275
United States

Was thanked: 91 time(s) in 57 post(s)
Originally Posted by: Andrey Ivashov Go to Quoted Post

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.

vectorize6484.pngvectorize6617.png
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
Offline Jean Giraud  
#11 Posted : 14 February 2018 05:27:26(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: alyles Go to Quoted Post
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 (96kb) downloaded 48 time(s).




Offline Jean Giraud  
#12 Posted : 14 February 2018 06:04:52(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 980 time(s) in 808 post(s)
... some examples

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

Alyles.sm (1,013kb) downloaded 49 time(s).
Offline Razonar  
#13 Posted : 14 February 2018 20:48:04(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: alyles Go to Quoted Post


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:

smath.jpgmcad.jpg

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

mathematica.jpgmaple.jpg

Best regards.

Alvaro.
thanks 1 user thanked Razonar for this useful post.
on 15/02/2018(UTC)
Offline Jean Giraud  
#14 Posted : 15 February 2018 01:39:59(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Razonar Go to Quoted Post
I don't know why this vectorize function confuses me so much. Could someone explain to me how this function operates?


vectorizeRGB.PNG
thanks 1 user thanked Jean Giraud for this useful post.
on 15/02/2018(UTC)
Offline Jean Giraud  
#15 Posted : 15 February 2018 05:51:19(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: alyles Go to Quoted Post
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
thanks 2 users thanked Jean Giraud for this useful post.
on 15/02/2018(UTC),  on 15/02/2018(UTC)
Offline Jean Giraud  
#16 Posted : 15 February 2018 06:43:07(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: alyles Go to Quoted Post
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 (240kb) downloaded 53 time(s).
thanks 1 user thanked Jean Giraud for this useful post.
on 15/02/2018(UTC)
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.