The Mathematica Journal

Search

About the Journal
Current Issue
Editorial Policy
Submissions
Back Issues
Contact Information

index.html

Power Programming

Functional Iteration

Volume 7, Issue 1
Winter 1997
David B. Wagner
 

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.

     
About Mathematica 
© Wolfram Media, Inc. All rights reserved.