Mathematica 9 is now available

Wolfram Library Archive

Courseware Demos MathSource Technical Notes
All Collections Articles Books Conference Proceedings

Power Programming: Functional Iteration

David B. Wagner
Journal / Anthology

The Mathematica Journal
Year: 1997
Volume: 7
Issue: 1
Page range: 42-53

Functional programming, and in particular functional iteration, is one of those idiomatic aspects of Mathematica that takes some time to master. The benefits of functional iteration include increased efficiency and elegance, and a greatly-lowered propensity for certain types of errors. The rich variety of the available commands means that it's possible to find a functional solution to nearly any iteration problem; however, this same variety often discourages casual users from attempting to learn how to use those commands. In this article, we attempt to impose some order on the menagerie of Mathematica commands for iterating functionally. The commands are presented in the order of the prosaic to the esoteric, and practical examples are given for each one.

*Mathematica Technology > Programming
*Mathematics > Calculus and Analysis