Matlab与Fortran混合编程之DLL实现方法-计算机工程与应用.PDF

Matlab与Fortran混合编程之DLL实现方法-计算机工程与应用.PDF

  1. 1、本文档共3页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Matlab与Fortran混合编程之DLL实现方法-计算机工程与应用.PDF

Computer Engineering and Applications 计算机工程与应用 2011 ,47 (31) 1 ⦾博士论坛⦾ Matlab 与Fortran 混合编程之DLL 实现方法 1,2 ,3 1 2 潘克家 ,汤井田 ,郑洲顺 1,2 ,3 1 2 PAN Kejia ,TANG Jingtian ,ZHENG Zhoushun 1.中南大学 地球科学与信息物理学院,长沙 410083 2.中南大学 数学科学与计算技术学院,长沙 410083 3.高性能计算与随机信息处理教育部重点实验室,长沙 410081 1.School of Geosciences and Info-Physics ,Central South University ,Changsha 410083 ,China 2.School of Mathematical Sciences and Computing Technology ,Central South University ,Changsha 410083 ,China 3.HPCSIP Key Laboratory ,Ministry of Education ,Changsha 410081 ,China PAN Kejia ,TANG Jingtian ,ZHENG Zhoushun.Mixed language programming in Matlab and Fortran via dynamic link library.Computer Engineering and Applications ,2011 ,47 (31 ):1-3. Abstract :The advantages and disadvantages of Matlab and Fortran is briefly introduced in this article.And two methods of mixed language programming through calling Fortran dynamic link library from Matlab are discussed in detail.Take Gauss-Jordan elimination with partial pivoting for example ,the computational results of the same algorithm under a variety of different implementation ways are carefully compared in terms of accuracy and computational time.The result indicates that ,mixed language programming via dynamic link library can make full of existing packages ,combine high efficiency of Fortran with powerful matrix computation and figure drawing and compiling functions of Matlab ,thus conforming to the cur- rent development direction of programming in scientific and engineering computing. Key words :dynamic link library ;mixed-programming ;Matlab ;Fortran ;Gauss-Jordan elimination 摘 要:简要介绍Matlab 和Fortran 各自的优缺点,详细阐述Matlab 调用Fortran 生成的动态链接库实现混合编程的两种方法。以 高斯约当列主元素法求逆为例,从计算时间、精度等方面详细比较了同一算法在多种实现方式下的执行情况。计算结果表明:基 于动态链接库的混合编程方法能充分利用现有软件包,结合Fortran 计算效率高、Matlab 矩阵计算及图形处理功能强的优点,符合 当前科学工程计算程序设计的发

文档评论(0)

zcbsj + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档