Deleting subscripted functions with arguments.
- To: mathgroup@smc.vnet.net
- Subject: [mg10979] Deleting subscripted functions with arguments.
- From: arl@kitsune.swcp.com (Alvin Larson)
- Date: Sun, 15 Feb 1998 02:10:45 -0500
- Organization: Southwest Cyberport
While using Mathematica v3.0 on Windows 95, I am unable to delete a
function that I have defined with a subscript. I have defined A_n[x_]
:= 2 x, where _n is subscript n or [ctl]_n. Using Clear[A_n] or A_n =.
does not work. A copy of the session is shown below. Any suggestions?
Thanks, .... Al Larson
In[46]:=
\!\(A\_n[x_]\ := \ 2\ x\)
In[47]:=
\!\(A\_n[2]\)
Out[47]=
4
In[48]:=
\!\(Clear[A\_n]\)
\!\(Clear::"ssym" \( : \ \) "\!\(A\_n\) is not a symbol or a string."\)
In[49]:=
\!\(A\_n =. \)
\!\(Unset::"norep" \( : \ \)
"Assignment on \!\(Subscript\) for \!\(A\_n\) not found."\) Out[49]=
$Failed