Skip to main content

Abstract

Programming in Mathematica is essentially a matter of writing user-defined functions that work like mathematical functions; when applied to specific values, they perform computations producing results. In this chapter we will demonstrate, in a step-by-step manner, how to create a user-defined function using a functional programming style. Building upon the nesting of function calls, extensive use is made of higher-order and anonymous functions. The construction of one-liners and compound unctions with local names is described.

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

Access this chapter

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

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). Functions. In: Introduction to Programming with Mathematica®. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-25527-8_4

Download citation

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

  • 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