Text inside Math regions

Text inside Math regions - Messages

#1 Posted: 2/20/2010 10:20:47 PM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3729 posts.

Group: Super Administrator

Glad to inform, that today I've added an ablity to use strings inside math expressions!

Here is some new functions:


One "real" example of Arabic to Roman numbers conversion:



This all will be a part of the next release.
#2 Posted: 2/21/2010 7:23:24 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello Andrey,

This feature is very welcome and was on my wishlist as well. Thank you.
Btw., as I can see there could be now variables with text strings and numbers. Is there a posibility to have text and numbers in the same variable (text and numbers as matrix elements, for example).

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Posted: 2/21/2010 1:01:14 PM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3729 posts.

Group: Super Administrator

Hi.

Wrote

Is there a posibility to have text and numbers in the same variable (text and numbers as matrix elements, for example).


Sure. You can combine text and math inside math regions at one time. Here is corrected and optimized algorithm of generating Roman numerals (this file will be included to Examples dialog), that demonstrates noted ability:


One more show case of how we can affect on calculations using text methods of SMath Studio (not sure when this should be used, but no doubt it makes program more flexible):


Regards, Andrey Ivashov.
#4 Posted: 2/21/2010 1:24:15 PM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

That's very good

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#5 Posted: 2/23/2010 10:42:46 PM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3729 posts.

Group: Super Administrator

Added ability to get result of the text operations using "=" button (so text could be used in numeric and symbolic calculations now).
Color of the text injections changed (now it is more easy to understand where is text and were is other stuff).

As always, example:


See also: James while John had had had had had had had had had had had a better effect on the teacher
  • New Posts New Posts
  • No New Posts No New Posts