Re: Viewing algebraic results
- To: mathgroup at smc.vnet.net
- Subject: [mg57716] Re: Viewing algebraic results
- From: Bhuvanesh Bhatt <bbhatt at wolfram.com>
- Date: Mon, 6 Jun 2005 04:21:24 -0400 (EDT)
- References: <d7ucu5$srr$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
One way would be to use OwnValues: In[1]:= f = x^2; In[2]:= g := Sin[x] In[3]:= x = 3; In[4]:= OwnValues[f] 2 Out[4]= {HoldPattern[f] :> x } In[5]:= OwnValues[g] Out[5]= {HoldPattern[g] :> Sin[x]} There may very well be a simpler way. Bhuvanesh, Wolfram Research.