Carpenter, D. B. and Glaser, H.
Some lattice-based scientific problems, expressed in Haskell.
J. Functional Programming, 6, (3), .
Full text not available from this repository.
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.
Actions (login required)