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

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

Search the Archive

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.


  • Prev by Date: Making good looking thumbnails with Mathematica?
  • Next by Date: refering to a long pattern by a variable
  • Previous by thread: Re: Viewing algebraic results
  • Next by thread: Re: Viewing algebraic results