On Using Common Lisp for Scientific Computing
Lisp is a very flexible and powerful language, but up to now it has not been used intensively for applications in scientific computing. The main reason is the prejudice that Lisp is slow. While this prejudice may have been true in early stages of Lisp’s history, it is not really true today. Furthermore, the virtues of Lisp are becoming more and more important. In this contribution, we support this point of view: first, by comparing the efficiency of BLAS routines written in C and Common Lisp and second, by discussing the recently developed toolbox FEMLISP for solving partial differential equations with finite element methods and multigrid.
KeywordsScientific Computing Machine Code Type Declaration Common Lisp Algebraic Multigrid Method
Unable to display preview. Download preview PDF.
- 1.R. E. Bank. PLTMG: A Software Package for Solving Elliptic Partial Differential Equations — Users’ Guide 7.0, volume 15 of Frontiers in Applied Mathematics. SIAM Books, Philadelphia, 1994.Google Scholar
- 3.S. C. Brenner and L. R. Scott. The Mathematical Theory of Finite Element Methods. Texts in Applied Mathematics. Springer—Verlag, New York, 1994.Google Scholar
- 4.CMUCL. Homepage.http://www.cons.org/cmucl.
- 5.J. J. Dongarra. Performance of various computers using standard linear equations software. Technical report, Computer Science Department, University of Tennessee, 1998.Google Scholar
- 7.I. Joyner. A critique of C++ and Programming and Language Trends of the 1990s. http://www.literateprogramming.com/c++critique.pdf,1996.
- 9.Maxima. Homepage. http://sourceforge.net/`maxima.
- 10.N. Neuss. http://www.iwr.uni-heidelberg.de/“Nicolas.Neuss.
- 12.N. Neuss. Femlisp a multi-purpose tool for solving partial differential equa-tions. Comput. Vis. Sci., (submitted).Google Scholar
- 13.F. Sergeraert. Common Lisp, Typing, and Mathematics. Satellite talk at the EACA Congress in Ezcaray, 2001.Google Scholar