Undefine variable or Clear variable or Remove variable

Undefine variable or Clear variable or Remove variable - Changing equation that uses defined variable keeps previous value of variable - Сообщения

#1 Опубликовано: 31.10.2013 17:31:17
Rob

Rob

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

Группа: User

Hi Smath Team,

I would like to change value of variable after I change an equation. However, new equation uses value of variable at time of equation definition. I saw discussions on this topic however, they did not help my situation. Please see attachment.

Rob
undefine variable.sm (10 КиБ) скачан 55 раз(а).
#2 Опубликовано: 31.10.2013 18:14:40
Martin Kraska

Martin Kraska

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

Группа: Moderator

You need to switch the definitions to "optimization numeric" in the context menu (right mouse button). You can see what definition you actually create by hovering with the mouse over the math region containing the definition, or in the dynamic assistant (if you type the symbol).

PS: Optimization "symbolic" immediately evaluates the rhs of the definition, while "numeric" assigns the definition verbatim, thus delaying the evaluation to the actual use of the symbol for displaying results. I find this slightly odd but there is only one guy to change or explain that...
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Опубликовано: 31.10.2013 19:53:29
Davide Carpi

Davide Carpi

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

Группа: Moderator

Moreover, using the symbolic evaluation, you cand reach the target defining the parametric variable before the parameters
2013-11-01 00_50_21-SMath Studio Desktop - [undefine%20variable-1.sm_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#4 Опубликовано: 01.11.2013 08:24:25
Rob

Rob

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

Группа: User

Thank you both mkraska and w3b5urf3r_reloaded.

I have used w3b5urf3r_reloaded's solution before, but did not think of it this time because I wanted a different flow to the work.

I did not even know about right clicking an equation as mkraska suggested, so that will help me also.

Rob
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений