Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Deleting subscripted functions with arguments.




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




  • Prev by Date: Automatically loading package question
  • Next by Date: Re: Dead keys in Mathematica for Linux
  • Prev by thread: Re: Automatically loading package question
  • Next by thread: Re: Deleting subscripted functions with arguments.