首页    期刊浏览 2025年07月15日 星期二
登录注册

文章基本信息

  • 标题:A New Language Design for Prototyping Numerical Computation
  • 本地全文:下载
  • 作者:Thomas Derby ; Robert Schnabel ; Benjamin Zorn
  • 期刊名称:Scientific Programming
  • 印刷版ISSN:1058-9244
  • 出版年度:1996
  • 卷号:5
  • 期号:4
  • 页码:279-300
  • DOI:10.1155/1996/946050
  • 出版社:Hindawi Publishing Corporation
  • 摘要:

    To naturally and conveniently express numerical algorithms, considerable expressive power is needed in the languages in which they are implemented. The language Matlab is widely used by numerical analysts for this reason. Expressiveness or ease-of-use can also result in a loss of efficiency, as is the case with Matlab. In particular, because numerical analysts are highly interested in the performance of their algorithms, prototypes are still often implemented in languages such as Fortran. In this article we describe a language design that is intended to both provide expressiveness for numerical computation, and at the same time provide performance guarantees. In our language, EQ, we attempt to include both syntactic and semantic features that correspond closely to the programmer's model of the problem, including unordered equations, large-granularity state transitions, and matrix notation. The resulting language does not fit into standard language categories such as functional or imperative but has features of both paradigms. We also introduce the notion of language dependability, which is the idea that a language should guarantee that certain program transformations are performed by all implementations. We first describe the interesting features of EQ, and then present three examples of algorithms written using it. We also provide encouraging performance results from an initial implementation of our language.

国家哲学社会科学文献中心版权所有