Article View: comp.lang.functional
Article #173Re: FFTs in Miranda
From: Pieter H. Hartel
Date: Fri, 21 Aug 1992 07:43
Date: Fri, 21 Aug 1992 07:43
29 lines
1920 bytes
1920 bytes
At the last ATABLE-92 workshop in Montreal we presented a paper
discussing the FFT in Miranda. The proceedings are not out yet, but I
can send out copies of a technical report to those interested:
\title{ Arrays in a Lazy Functional Language -- \\
a case study: the Fast Fourier Transform}
\author{Pieter H. Hartel and Willem G. Vree \\
Department of Computer Systems \\
University of Amsterdam \\
Kruislaan 403, 1098 SJ Amsterdam, The Netherlands}
\begin{abstract}
The array plays a prominent role in imperative programming languages
because the data structure bears a close resemblance to the
mathematical notion of a vector and because array operations can be
implemented efficiently. Not all lazy functional languages offer arrays
as a primitive data structure because laziness makes it difficult to
implement arrays efficiently. We study 8 different versions of the Fast
Fourier Transform, with and without arrays, to assess the importance of
arrays in a lazy functional language.
An efficient implementation of arrays contributes significantly to the
performance of functional languages in certain areas. However, a clear
distinction should be made between array construction and array
subscription. In the FFT example we could not gain efficiency by using
array construction, other than for storing precomputed data like the
input. Using array subscription improves performance.
\end{abstract}
Technical Details
Message-ID:
<1992Aug21.074332.6303@fwi.uva.nl>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!fwi.uva.nl!pieterReferences:
<farrell.714200989@coral.cs.jcu.edu.au> <1992Aug20.073629.10936@canon.co.uk>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.functional Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!fwi.uva.nl!pieter From: pieter@fwi.uva.nl (Pieter H. Hartel) Subject: Re: FFTs in Miranda Message-ID: <1992Aug21.074332.6303@fwi.uva.nl> Sender: news@fwi.uva.nl Nntp-Posting-Host: carol.fwi.uva.nl Organization: FWI, University of Amsterdam References: <farrell.714200989@coral.cs.jcu.edu.au> <1992Aug20.073629.10936@canon.co.uk> Date: Fri, 21 Aug 1992 07:43:32 GMT Lines: 29