Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*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 2001

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

Search the Archive

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
>
>
>




  • 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