Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Programming / Assignments  /
FullDefinition

  • FullDefinition[ symbol ] prints as the definitions given for symbol, and all symbols on which these depend.
  • FullDefinition has attribute HoldAll.
  • FullDefinition[ symbol ] recursively prints as all definitions for the symbol, and for the symbols that appear in these definitions.
  • FullDefinition does not look at rules or attributes of symbols that have the attribute Protected.
  • See the Mathematica book: Section 2.11.1.
  • See also: Definition, Save, Information.

    Further Examples

    The function g depends on f.

    In[1]:=

    In[2]:=

    The definition of f is not shown here.

    In[3]:=

    Global`g

    g[x_] := f[x] - f[x - 1]

    Now we see everything associated with g.

    In[4]:=

    Out[4]=

    We tidy up by clearing the functions.

    In[5]:=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.