Reset/Remove Variable

Reset/Remove Variable - Variable delete - Сообщения

#1 Опубликовано: 16.10.2012 13:24:00
Topsi

Topsi

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

Группа: User

Dear members,

in often times I need the variable x . Then in next time I make
in Example a differential of Function, and x is rember of value or defition.
In mathCad I remove a variable with x:=x.

What can I do in SMath ?

So many thanks for help.

Topsi
#2 Опубликовано: 16.10.2012 13:39:01
Davide Carpi

Davide Carpi

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

Группа: Moderator

Wrote

Dear members,

in often times I need the variable x . Then in next time I make
in Example a differential of Function, and x is rember of value or defition.
In mathCad I remove a variable with x:=x.

What can I do in SMath ?

So many thanks for help.

Topsi



Hi Topsi,

AFAIK the only way it's to use a 2nd empty variable.

f.e.
[LIVE width=170 height=157]http://smath.info/live/?file=4019[/LIVE]


regards,

w3b5urf3r
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Опубликовано: 16.10.2012 16:02:58
Topsi

Topsi

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

Группа: User

Hello w3burf3r,

thanks for your help, but I can't type the symbol # in place holder.
A free new variable, that will be good. But in the teaching I will
have always the x - variable.

Have you a little helb for this new question.

Thanks for help

Topsi

#4 Опубликовано: 16.10.2012 18:11:18
Davide Carpi

Davide Carpi

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

Группа: Moderator

Hi

I know, it's not a wonderful solution... I've already attempted to create a Clear() function inside a plugin - nothing to do

You can post a Feature request in the forum, IMHO would be an useful feature

As for the # character, you must write at least one letter and then you can write the # before the first character (I don't know if this is a bug or a feature).


regards,

w3b5urf3r
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Опубликовано: 17.10.2012 10:02:17
Oscar Campo

Oscar Campo

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

Группа: Moderator

Hi,
An easy way to remove a variable is use another variable but undefined:
ClearVar

So, you must the "clean" variable undefined.

Oscar
#6 Опубликовано: 17.10.2012 12:41:31
Martin Kraska

Martin Kraska

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

Группа: Moderator

Wrote

Hi,
An easy way to remove a variable is use another variable but undefined:
ClearVar

So, you must the "clean" variable undefined.



Sorry, does not work here. Clean removal would make X appear as result in the mapUnknown function from the NonLinearSolvers plugin.(see here).

Best regards, Martin Kraska
var.PNG
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#7 Опубликовано: 17.10.2012 15:46:32
Topsi

Topsi

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

Группа: User

All helpers,
many thanks,
sorry, but my problem ist not lost. That is very trouble of SMath that I can't
remove a variable. See what I meen:
x:=3
x=3
x:=clean
x=
f(x):=x³
d
- f(x)=3 clean²
dx

that is very bad.

I think in the next version it will be.

So if anywhere help me than I give thanks bevor.

Topsi
#8 Опубликовано: 19.10.2012 08:23:04
Oscar Campo

Oscar Campo

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

Группа: Moderator

I see...
So I join the request for a clear() function: http://en.smath.info/forum/yaf_postst1576_clear---function.aspx
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений