Re: Removal of functions including subscripts in its name
- To: mathgroup at smc.vnet.net
- Subject: [mg27234] Re: Removal of functions including subscripts in its name
- From: "Allan Hayes" <hay at haystack.demon.co.uk>
- Date: Tue, 13 Feb 2001 03:35:42 -0500 (EST)
- References: <968729$3qn@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
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 > > >