 |


|
 |
index.html
A Sampler of Elegant Programs
Volume 1, Issue 3
Winter 1991
Ilan Vardi, Wolfram Research, Inc.
This article presents several elegant Mathematica constructs,
using them to solve some example problems. By an elegant program I mean
not only one that minimizes the number of commands used and avoids temporary
variables not intrinsic to the algorithm but one that is also reasonably
efficient. Functional programs seem most likely to satisfy these requirements.
In order to get a better feeling for the solutions and to compare your
own programming style to the one presented here, it's probably a good idea
to try to do these problems before looking at the solutions.
|