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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights 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