How to| 改变输入与输出的格式
Mathematica 的用户界面提供了多种选项以控制输入与输出的格式.
| In[67]:= |
| Out[67]= |
尽管这是正确的,但这看起来并不像传统的数学. 选择单元组,然后选择菜单项 单元 ► 转换成 ► TraditionalForm:
| In[959]:= |
| Out[959]= |
另外,如果您只想对结果格式化,则可应用 TraditionalForm:
| In[68]:= |
Out[68]//TraditionalForm= | |
InputForm 和 StandardForm 的效用相反.
使用 InputForm 查找如何将一个表达式输入 Mathematica:
| In[70]:= |
Out[70]//InputForm= | |
StandardForm 比 InputForm 更简洁, 并且在 Mathematica 中是无歧义的:
| In[71]:= |
Out[71]//StandardForm= | |
TraditionalForm 有时会有歧义;这里, Mathematica 先将
当作一个数字,然后用将其当作一个函数:
| In[72]:= |
Out[72]//StandardForm= | |
