Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / New in Version 3.0 / Programming  /
NHoldRest

  • NHoldRest is an attribute which specifies that all but the first argument to a function should not be affected by N.
  • See the Mathematica book: Section 2.5.3.

    Further Examples

    Usually N goes inside functions and gets applied to each of their arguments.

    In[1]:=

    Out[1]=

    This tells Mathematica not to apply N to all but the first argument of f.

    In[2]:=

    Now all but the first arguments of f are left in their exact form.

    In[3]:=

    Out[3]=



    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.