MathGroup Archive 2001

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

Search the Archive

Re: Removal of functions including subscripts in its name


Andy

Definitions like

Subscript[y,1][x_]= 3 x;

Subscript[z,1][x_]= 4x;

will be stored under Subscript, not y or z.
All such can be cleared by

Clear[Subscript]

And we can clear them one at a  time  thus:

Subscript[y,1][x_] = .

It is possible to convert subscript expressions to single symbols by using
the Notation Package.


--
Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565

"Andy Bormann" <a.bormann at vt.tu-berlin.de> wrote in message
news:968729$3qn at smc.vnet.net...
> Hi,
>
> I defined a function with a subscript like
> Subscript[y,1][x_]= 3 x^2
> Later in the notebook I want to remove/clear the definition, but
> mathematica says its not a symbol or a string.
> Can anybody help me in clearing such functions that contain subscripts?
>
> Thanks,
> Andy
>
>
>




  • Prev by Date: Re: Bigger array taking less memory than smaller array
  • Next by Date: Complicated Rotation
  • Previous by thread: Re: Removal of functions including subscripts in its name
  • Next by thread: Urgent