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


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

Re: clearing a variable with a dummy subscript

Started by"djmpark" <djmpark@comcast.net>
First post2012-05-19 09:42 +0000
Last post2012-05-19 09:42 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#10144 — Re: clearing a variable with a dummy subscript

From"djmpark" <djmpark@comcast.net>
Date2012-05-19 09:42 +0000
SubjectRe: clearing a variable with a dummy subscript
Message-ID<jp7pu6$qc1$1@smc.vnet.net>
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


[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web