Text inside Math regions

Text inside Math regions - Сообщения

#1 Опубликовано: 20.02.2010 22:20:47
Andrey Ivashov

Andrey Ivashov

2270 сообщений из 3734 понравились пользователям.

Группа: 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 Опубликовано: 21.02.2010 07:23:24
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: 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 Опубликовано: 21.02.2010 13:01:14
Andrey Ivashov

Andrey Ivashov

2270 сообщений из 3734 понравились пользователям.

Группа: 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 Опубликовано: 21.02.2010 13:24:15
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: Moderator

That's very good

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#5 Опубликовано: 23.02.2010 22:42:46
Andrey Ivashov

Andrey Ivashov

2270 сообщений из 3734 понравились пользователям.

Группа: 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
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений