arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/0605090cs.MScs.PL
收藏

Mathematica:一个计算机程序系统

Mathematica: A System of Computer Programs

Santanu K. Maiti

摘要:

从基本的学习开始,我们在这里演示如何使用学习笔记本和在笔记本上编写程序。接下来,我们详细研究了外部程序与计算机的连接方式,即所谓的mathlink操作。使用这种技术,我们可以非常有效地运行非常繁琐的工作,并且操作变得非常快。有时,在计算机后台运行作业是非常可取的,这可能需要相当长的时间才能完成,这允许我们在保持作业运行的同时完成其他任务。在后台运行作业的方式,写在笔记本上,与传统的方法有很大的不同,即,其他语言如C、C++、F77、F90、F95等编写的程序的技术。为了说明这一点,在本文中,我们研究如何从一个AutoCAD笔记本创建一个AutoCAD批处理文件,并在后台运行它。最后,我们探讨了本文最重要的问题。在这里,我们描述的基本思想,并行化一个Anticartica程序共享其独立的部分到所有其他远程计算机在网络中可用。通过并行化,我们可以在很短的时间内完成大量的计算操作,因此,可以实现数值工作的效率。并行计算支持任何版本的Aptica,即使不同版本的Aptica安装在不同的计算机上,它也能很好地工作。本文中研究的所有操作都可以在任何受支持的操作系统(如Unix、Windows、Macintosh等)下运行。为了便于说明,这里我们只集中讨论基于Unix的操作系统。

英文摘要:

Starting from the basic level of mathematica here we illustrate how to use a mathematica notebook and write a program in the notebook. Next, we investigate elaborately the way of linking of external programs with mathematica, so-called the mathlink operation. Using this technique we can run very tedious jobs quite efficiently, and the operations become extremely fast. Sometimes it is quite desirable to run jobs in background of a computer which can take considerable amount of time to finish, and this allows us to do work on other tasks, while keeping the jobs running. The way of running jobs, written in a mathematica notebook, in background is quite different from the conventional methods i.e., the techniques for the programs written in other languages like C, C++, F77, F90, F95, etc. To illustrate it, in the present article we study how to create a mathematica batch-file from a mathematica notebook and run it in the background. Finally, we explore the most significant issue of this article. Here we describe the basic ideas for parallelizing a mathematica program by sharing its independent parts into all other remote computers available in the network. Doing the parallelization, we can perform large computational operations within a very short period of time, and therefore, the efficiency of the numerical works can be achieved. Parallel computation supports any version of mathematica and it also works significantly well even if different versions of mathematica are installed in different computers. All the operations studied in this article run under any supported operating system like Unix, Windows, Macintosh, etc. For the sake of our illustrations, here we concentrate all the discussions only for the Unix based operating system.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑