Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10144

Re: clearing a variable with a dummy subscript

From "djmpark" <djmpark@comcast.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: clearing a variable with a dummy subscript
Date 2012-05-19 09:42 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jp7pu6$qc1$1@smc.vnet.net> (permalink)
References <16620439.4113.1337334120733.JavaMail.root@m06>

Show all headers | View raw


Use Unset.

Subscript[u, k_] =. 


David Park
djmpark@comcast.net 
http://home.comcast.net/~djmpark/index.html 



From: Andre Hautot [mailto:ahautot@ulg.ac.be] 


Hi !
Here is something very simple I don't understand :

f[x_] := x; f[2]    (*A function*)
 2

Clear[f]; f[2]       (*The same perfectly cleared as expected*)
f[2]


Subscript[u, k_] := k; Subscript[u, 2]        (*u with subscript k_ 
entered via the palette*)
 2

Clear[u]; Subscript[u, 2]          (*I found no way to clear u; a 
suggestion ?)
2

Thanks in advance,

ahautot


Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: clearing a variable with a dummy subscript "djmpark" <djmpark@comcast.net> - 2012-05-19 09:42 +0000

csiph-web