摘要
Fortran是数值计算程序设计的主导语言,已有较多应用与文献用VC,VB等语言来支持Fortran程序的可视化,但Fortran计算能力的进一步开发没有得到重视。该文讨论了基于MathLink的Fortran与Mathematica接口技术及其实现问题。通过将符号计算功能强大的Mathematica植入Fortran,有力地增强了Fortran程序的表达力,使其更加适应科学与工程计算中符号推导与数值计算紧密联系的实际情况。在这个意义上,也使已有的Fortran代码资源得到保护。
Fortran is the leading language in the programming of numerical computation,and in order to support the visualization of Fortran programs,some other languages,such as VC,VB,have been used. But further development in the computing ability of Fortran has received little attention. In the paper,the method of making the interface of Fortran with Mathematica based on MathLink is discussed as well as some issues in its realization.By embedding Mathematica which has powerful symbol reasoning ability in Fortran,the expressive ability of Fortran is greatly enhanced,then it can adapt the reality that numerical computation is closely associated with symbol reasoning in scientific and engineering computation. And the existent resources of Fortran codes can be preserved.
出处
《合肥工业大学学报(自然科学版)》
CAS
CSCD
2003年第3期340-344,共5页
Journal of Hefei University of Technology:Natural Science