Unprotect
Usage
• Unprotect[ , , ... ] 对符号  去掉属性 Protected。
• Unprotect[" ", " ", ... ] 不对它们的名字匹配任何  的所有符号进行保护。
Notes
• 在对内嵌函数加入你自己的规则时,一个典型序列是 Unprotect[f]; definition; Protect[f]。
Further Examples
Logs of products are not automatically broken up into a sum of logs.
In[1]:=
|
Out[1]=
|
After unprotecting Log we can define a new transformation rule.
In[2]:=
|
In[3]:=
|
We apply the rule and then get rid of it, reprotect the Log function.
In[4]:=
|
Out[4]=
|
In[5]:=
|
In[6]:=
|
Out[6]=
|
The Clear did not get rid of system definitions.
In[7]:=
|
Out[7]=
|
|