MatchLocalNames
Usage
• MatchLocalNames 是 Trace 及其相关函数的可选项, 用来指定是否像 x 一样的符号应该使用形式为x$nnn的局部名称与符号匹配.
Notes
• 缺省设置是 MatchLocalNames -> True. • 使用缺省设置, Trace[expr, x = rhs] 将显示对名称为x$nnn形式的局部变量的分配. • Trace[expr, x = rhs, MatchLocalNames->False] 只显示对全局符号x的分配.
Further Examples
This traces assignments to all variables with names of the form x$nnn.
In[1]:=
|
Out[1]=
|
This traces assignments only to the specific global variable x.
In[2]:=
|
Out[2]=
|
|