NHoldRest
Usage
• NHoldRest是一个属性值,用来指定一个函数中除第一个参数外的所有参数不应被N影响.
Notes
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]=
|
|