Skip to main content
Article thumbnail
Location of Repository

Some Lattice-based Scientific Problems, Expressed in Haskell

By D. B. Carpenter


The paper explores the application of a lazy functional language, Haskell, to a series of grid-based scientific problems---solution of the Poisson equation and Monte Carlo simulation of two theoretical models from statistical and particle physics. The implementations introduce certain abstractions of grid topology, making extensive use of the polymorphic features of Haskell. Updating is expressed naturally through use of infinite lists, exploiting the laziness of the language. Evolution of systems is represented by arrays of interacting streams. 1 Introduction Lazy functional languages have not, to date, made an enormous impact in scientific computing. Partly, this has to do with performance---codes written in these languages often run an order of magnitude slower than imperative codes, which limits their appeal for numbercrunching production codes 1 . Apart from that, there is a suspicion that programming without assignments or side-effects is difficult, or restrictive. Evidently, ..

Year: 1996
OAI identifier: oai:CiteSeerX.psu:
Provided by: CiteSeerX
Download PDF:
Sorry, we are unable to provide the full text but you may find it at the following location(s):
  • (external link)
  • (external link)
  • Suggested articles

    To submit an update or takedown request for this paper, please submit an Update/Correction/Removal Request.