This is a report on efficiency analysis of Haskell and its lazy evaluation scheme in scientific computation. Programs for numerically solving Schrodinger equation are written in Pure C, Haskell and Python for a comparison. And it is discovered that the Haskell program with lazy evaluation scheme dramatically improves the computational efficiency.
Author: Zhang Chang-kai
E-mail: phy.zhangck@gmail.com
The programs are licensed under General Public License 3.0. The report as well as the time profiling report is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.