Mathematica是wolfram的数学计算工具,好用但是贼贵。
Wolfram Engine for Developers可以看作是Mathematica的内核,缺乏GUI,只有命令行界面,其他功能上不知是否有欠缺。但是好处是对对开发者免费。Launching Today: Free Wolfram Engine for Developers对此做了介绍。
下载和安装Wolfram Engine for Developers
到页面https://www.wolfram.com/engine/?source=nav,选择相应操作系统版本下载。
下载下来的是一个安装器,而不是Wolfram Engine本身。需要启动这个安装器来下载具体的Engine内容。需要下载大概1GB的内容。
下载内容可能需要科学上网的支持
安装完毕后会启动一个命令行,上门会提示输入用户名密码。
如果没有用户名密码,需要到https://wolfram.com/engine/free-license注册一个Wolfram账户,可以在https://account.wolfram.com/管理这个账户。
Resources for Software Developers里面有很多资源,包括各种流行IDE的扩展。
设置代理
从How do I set up the Wolfram Engine on Windows?看,Windows版的Wolfram Engine支持使用系统设置代理:
netsh winhttp set proxy (proxyserver):(portnumber)
Wolfram Language
External Language Interfaces列举了Wolfram Eingine跟其他许多语言的接口和互操作。
Fast Introduction for Programmers
说是要按Shift+Enter才能真正触发计算,但实际上只按Enter也可以。
命令行也没有补全什么的。
Stephen Wolfram’s Elementary Introduction
此为入门书籍。
Wolfram Language & System
此为参考文档。
其他
产品
- Wolfram|One is the world’s first fully cloud-desktop hybrid, integrated computation platform—the ideal entry point to using the full capabilities of the Wolfram technology stack.
- <www.open.wolframcloud.com>可以在线尝试Wolfram Language
- https://www.wolfram.com/mathematica/
- https://www.wolfram.com/cloud/
- https://www.wolfram.com/workbench/
- https://www.wolfram.com/knowledgebase/
扩展
Wolfram链接
- Resources for Software Developers
- https://community.wolfram.com/?
- https://mathematica.stackexchange.com/
- Wolfram Engine
- https://www.wolfram.com/language/
其他链接
- https://tiebamma.github.io/InstallTutorial/
- https://mathematica.stackexchange.com/questions/198839/how-to-add-a-front-end-to-the-free-wolfram-engine
- https://towardsdatascience.com/learning-wolfram-from-zero-to-hero-2ac4fd6914d9
2021-11-27更新
如何使用wolframscript画图并导出。
参考:
- https://reference.wolfram.com/language/howto/ExportGraphics.html
- https://reference.wolfram.com/language/howto/PlotAGraph.html
- https://reference.wolfram.com/language/ref/Plot.html
- https://reference.wolfram.com/language/ref/character/Lambda.html
以下代码可绘出λ = x + 1
并将结果保存为svg:
f = Plot[x + 1, {x, 0, 1}, AxesLabel -> {x, \[Lambda]}]
Export["f.svg", f]
(更新完)