|
|
||
|
|
| Simplify[expr] | 尝试各种代数、三角变换来简化表达式 |
| FullSimplify[expr] | 尝试更广泛的变换 |
| In[1]:= |
| Out[1]= |
| In[2]:= |
| Out[2]= |
| In[3]:= |
| Out[3]= |
| In[4]:= |
| Out[4]= |
| In[5]:= |
| Out[5]= |
| FullSimplify[expr,ExcludedForms->pattern] | |
| 化简 expr,但与 pattern 相匹配的部分保持不动 | |
| In[6]:= |
| Out[6]= |
| In[7]:= |
| Out[7]= |
| In[8]:= |
| Out[8]= |
| FullSimplify[expr,TimeConstraint->t] | |
| 在化简 expr 的尝试中,对每个变换最多只进行 t 秒钟 | |
| FullSimplify[expr,TransformationFunctions->{f1,f2,...}] | |
| 在尝试对 expr 的变换时,只使用函数 | |
| FullSimplify[expr,TransformationFunctions->{Automatic,f1,f2,...}] | |
| 使用内置变换以及 | |
| Simplify[expr,ComplexityFunction->c] 和 FullSimplify[expr,ComplexityFunction->c] | |
| 化简中使用 c 来决定什么形式是最简单的 | |
| In[9]:= |
| Out[9]= |
| In[10]:= |
| Out[10]= |