Starting from the basic ideas of mathematica, we give a detailed description about the way of linking of external programs with mathematica through proper mathlink commands. This article may be quite helpful for the beginners to start with and write programs in mathematica. In the first part, we illustrate how to use a mathemtica notebook and write a complete program in the notebook. Following with this, we also mention elaborately about the utility of the local and global variables those are very essential for writing a program in mathematica. All the commands needed for doing different mathematical operations can be found with some proper examples in the mathematica book written by Stephen Wolfram \cite{wolfram}. In the rest of this article, we concentrate our study on the most significant issue which is the process of linking of {\em external programs} with mathematica, so-called the mathlink operation. By using proper mathlink commands one can run very tedious jobs efficiently and the operations become extremely fast.
翻译:从数学的基本概念出发,我们详细描述通过适当的数学链接命令将外部程序与数学程序连接起来的方法。 这篇文章可能对初始者在数学中开始和写入程序很有帮助。 在第一部分, 我们演示如何使用数学笔记本并在笔记本中写一个完整的程序。 在此之后, 我们还详细提及本地和全球变量的效用, 这些变量对于数学程序写作非常必要。 做不同数学操作所需的所有命令都可以在斯蒂芬·沃尔夫拉姆 \ cite{wolfram} 编写的数学书中找到一些适当的例子。 在文章的其余部分, 我们集中研究最重要的问题, 也就是把“ 外在程序” 与数学程序连接的过程, 即所谓的数学链接操作。 通过使用适当的数学链接命令, 一个人可以高效地运行非常乏味的工作, 操作变得非常迅速。