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 nnonymous functions. The construction of one-liners and compound functions 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
© 1996 Springer-Verlag New York, Inc.
About this chapter
Cite this chapter
Gaylord, R.J., Kamin, S.N., Wellin, P.R. (1996). Functions. In: An Introduction to Programming with Mathematica®. Springer, New York, NY. https://doi.org/10.1007/978-1-4612-2322-1_4
Download citation
DOI: https://doi.org/10.1007/978-1-4612-2322-1_4
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4612-7502-2
Online ISBN: 978-1-4612-2322-1
eBook Packages: Springer Book Archive