Skip to main content

Iteration

  • Chapter
  • 72 Accesses

Abstract

This book is very different from introductory books about conventional languages. For one thing, the entire first part is about built-in operations on Mathematica’s data typesp; by contrast, conventional languages provide fewer and less powerful built-in data types and operations. More significantly, our treatment of programming has centered on the use of functional programming, rewrite rules, and recursion. This is typical of Mathematica programming, but not of programming in conventional languages. Rather, in those languages it is far more common to use iteration. In this technique, the values of variables, and the contents of arrays, are repeatedly modified until they have the correct values. The method can be used in Mathematica, and can sometimes be very useful. This chapter is about how to use iteration in Mathematica.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   54.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1993 Springer Science+Business Media New York

About this chapter

Cite this chapter

Gaylord, R.J., Kamin, S.N., Wellin, P.R. (1993). Iteration. In: Introduction to Programming with Mathematica®. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-25527-8_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-662-25527-8_8

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-94048-7

  • Online ISBN: 978-3-662-25527-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics