This C program is operational under either the DOS or the UNIX environment, depending on how it is compiled. If compiled under the DOS environment, the maximum dimension of the elevational matrix may not exceed 100 rows by 100 columns, owing to the limited memory of a personal computer. Such a const
Features from functional programming for a C++ skeleton library
✍ Scribed by H. Kuchen; J. Striegnitz
- Publisher
- John Wiley and Sons
- Year
- 2005
- Tongue
- English
- Weight
- 193 KB
- Volume
- 17
- Category
- Article
- ISSN
- 1532-0626
- DOI
- 10.1002/cpe.844
No coin nor oath required. For personal study only.
✦ Synopsis
Abstract
Message passing based on libraries such as MPI is typically used to program parallel machines with distributed memory. This is efficient, but error prone. Algorithmic skeletons are intended to simplify parallel programming by increasing expressive power. The idea is to offer typical parallel programming patterns as polymorphic higher‐order functions which are efficiently implemented in parallel. The present paper describes how C++ templates and operator overloading can be used in order to provide the main features needed for algorithmic skeletons, namely higher‐order functions, partial applications and parametric polymorphism. Experimental results based on a draft implementation of our C++ skeleton library show that higher expressive power can be gained without a significant performance penalty. Copyright © 2005 John Wiley & Sons, Ltd.
📜 SIMILAR VOLUMES
## Abstract A major unresolved problem of density functional theory is the yet unknown exchange‐correlation functional, which leads to a proliferation of its less or more successful approximations. A practical implementation of these numerous functionals can present a substantial challenge particul