Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*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 2000

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

Search the Archive

Re: Clear or remove definitions including Subscripts

  • To: mathgroup at smc.vnet.net
  • Subject: [mg23158] Re: [mg23116] Clear or remove definitions including Subscripts
  • From: BobHanlon at aol.com
  • Date: Thu, 20 Apr 2000 03:21:27 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Subscript[a, 11] = 2; 

To clear

Subscript[a, 11] =.

Subscript[a, 11] = 2; Subscript[a, 12] = 4;

Clearing multiple assignments

(Subscript[a, #] =.) & /@ Range[11, 12];

Bob Hanlon

In a message dated 4/19/2000 2:53:26 AM, gsl at fab.enusa.es writes:

>If I write:
>
>In[1]:= Subscript[a, 11];
>In[2]:= Subscript[a, 12];
>
>Q1: How I can Clear or Remove the previous definitions?. 
>Q2: Is it posible to clear at the same time all definitions with pattern:
>Subscript[a, i] (* i=1,2,..*)
>
>I wish to avoid using Notation Package 
>
>I have tested:
>
>In[3]: Clear[Subscript[a, 11]]
>Message: Clear:: "ssym": a_11 is not a symbol or a string
>
>In[4]: Clear["\!\(a\_11\)"]
>
>But they don`t work
>


  • Prev by Date: Re: Piecewise functions
  • Next by Date: Inverting a matrix with symbolic bounds
  • Previous by thread: Re: Clear or remove definitions including Subscripts
  • Next by thread: Re: Clear or remove definitions including Subscripts