简介
从这一篇文章开始,我们开始更新 Mathematica 入门相关的内容。目前为止一共有 13 篇教程。关于 Mathematica 的使用和安装,可以参考这篇文章,关于 Mathematica下载安装的一些说明。
Mathematica 交互式使用
不管是在桌面版还是网络版的 Wolfram 的笔记本,只需要输入一个 input,然后按下「SHIFT+ENTER」来进行计算。下面是一个简单的例子,计算「2+2」
>2+2(SHIFT+ENTER) (*4*)
In[n] 和 Out[n] 表示连续的输入还输出。你可以将最近的输出引用为「%」,也就是使用「%」可以引用上面的计算结果。但是通常定义一个变量会更好,也就是使用「a=2+2」。
% 在 wolfram 里的作用类似于_ 在 python 中的作用,也是可以引用上一次的计算结果。
- 微信公众号
- 关注微信公众号
-
- QQ群
- 我们的QQ群号
-


![Mathematica入门[13]–Associations(关联)](https://img.mathpretty.com/20210911_162018_osipdrw.jpg)
![Mathematica入门[12]–Options(选项)](https://img.mathpretty.com/20210911_162111_41geeb4.jpg)
![Mathematica入门[11]–Applying Functions(函数应用)](https://img.mathpretty.com/20210911_162028_ouho1s3.jpg)
![Mathematica入门[10]–Pure Functions(纯函数)](https://img.mathpretty.com/20210911_162108_oqvo4xz.jpg)
![Mathematica入门[9]–Function Definitions(函数定义)](https://img.mathpretty.com/20210911_162011_tcryqxk.jpg)
![Mathematica入门[8]–Patterns(模式)](https://img.mathpretty.com/20210911_162120_jq7wn38.jpg)
![Mathematica入门[7]--Assignments(赋值)](https://img.mathpretty.com/20210911_162031_ifrgvfm.jpg)
![Mathematica入门[6]--Iterators(迭代器)](https://img.mathpretty.com/20210911_162059_8b2hciq.jpg)
![Mathematica入门[5]--Lists(列表)](https://img.mathpretty.com/20210911_161424_vlvm1hh.jpg)

评论