Re: Displaying Mathematica's Global rules

• To: mathgroup at smc.vnet.net
• Subject: [mg32095] Re: Displaying Mathematica's Global rules
• From: "Allan Hayes" <hay at haystack.demon.co.uk>
• Date: Sun, 23 Dec 2001 03:52:34 -0500 (EST)
• References: <9vs8m3\$g1a\$1@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```Jerry,
Your definitions are stored under (tagged by) Subscript; try

?Subscript

Alternatively, tag your definitions with d:

d /: Subscript[d, a_, b_] = 0;
d /: Subscript[d, a_, a_] = 1;

and then try

?d

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

"Blimbaum Jerry DLPC" <BlimbaumJE at ncsc.navy.mil> wrote in message
news:9vs8m3\$g1a\$1 at smc.vnet.net...
> I happened to be reading a book that gave an example of implementing
> the kronecker delta symbol , i.e. define it and then see how Mathematica
> stores the rules for it and in what order....so I typed in the rule using
> the subscript button on the palette....
>
> d_subscripts_a_,b_= 0       and       d_subscripts_a_,a_ = 1     ,
> ran it a few times just to show that it works......but then i tried the
next
> part of the
>
> exercise which showed you how you to find out how Mathematica stored the
> rules....so I typed in   ?d expecting to see the rules   but all
Mathematica
>
>
> gave back was 'Global 'd' .....now I realize
>
> that the subscript button duzznt create a symbol (*  the book defined the
> delta symbol as d[x_,x_] = 1, etc. so it didnt run into this problem * )
but
> i was
>
> still puzzled......
>
>  Mathematica ran my definitions for any values of a and b...but  where are
> the rules?
>
>
> jerry blimbaum   NSWC  Panama City, Fl
>

```

• Prev by Date: Re: symbolic calculations with complex numbers
• Next by Date: Re: Is this a bug?
• Previous by thread: Re: Displaying Mathematica's Global rules
• Next by thread: Replacement Rule