MATHEMATICA 教程
特殊字符
除了标准键盘上的字符外,Mathematica 的字符串中还可以包含 Mathematica 所支持的一些特殊字符.
| In[1]:= |
| Out[1]= |
| In[2]:= |
| Out[2]= |
| In[3]:= |
| Out[3]= |
在 Mathematica 的笔记本中,像
等特殊字符直接显示. 但是在用文本界面时,容易显示的字符就是在键盘上所出现的字符.
于是,Mathematica 在这种情况下就用与特殊字符相接近的字符,当无法实现时,Mathematica 就给出这些特殊字符的全名.
Mathematica 笔记本中用 StandardForm,特殊字符可以直接显示.
| In[4]:= |
| Out[4]= |
在 OutputForm 中,特殊字符在可能时就用相近的一般字符代替.
| In[5]:= |
Out[5]//OutputForm= | |
在 InputForm 中,Mathematica 总使用特殊字符的全名. 这意味着,在文件或外部程序中使用特殊字符时,它们习惯上就用一列一般字符集合来表示.
Mathematica 中特殊字符的统一表示法对它们在不同计算机系统中的使用是非常重要的.
在 InputForm 中,所有特殊字符的全名总被明确给出.
| In[6]:= |
Out[6]//InputForm= | |
| In[7]:= |
| Out[7]= |
| In[8]:= |
| Out[8]= |
| In[9]:= |
| Out[9]= |
| In[10]:= |
| Out[10]= |
| In[11]:= |
| Out[11]= |
