Mathematica 9 is now available

Unprotect

Usage

Unprotect[ ,  , ... ] 对符号  去掉属性Protected
Unprotect[" ", " ", ... ] 不对它们的名字匹配任何  的所有符号进行保护。


Notes

• 在对内嵌函数加入你自己的规则时,一个典型序列是 Unprotect[f]; definition; Protect[f]
• 参见注释 Protect.
• 参见Mathematica 全书: 2.4.12 and 节 A.3.12.
• 同时参见: Protect, Locked, SetOptions.
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]=



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.