EconPapers    
Economics at your fingertips  
 

Functions

Clemens Heitzinger ()
Additional contact information
Clemens Heitzinger: Technische Universität Wien, Center for Artificial Intelligence and Machine Learning (CAIML)and Department of Mathematics and Geoinformation

Chapter Chapter 2 in Algorithms with JULIA, 2022, pp 17-37 from Springer

Abstract: Abstract Functions are one of the most important abstractions in mathematics, and they are one of the most important concepts in programming languages as well. Functions are the main building blocks of programs. In this chapter, we learn how functions are defined in Julia and we discuss generic functions and methods. More details are presented as well, including argument passing behavior, multiple return values, functions as first-class objects, anonymous functions, optional and keyword arguments, variable numbers of arguments, and the scopes of variables. Interactions with data types are discussed throughout the chapter to illustrate the interplay between functions, domains, and codomains.

Date: 2022
References: Add references at CitEc
Citations:

There are no downloads for this item, see the EconPapers FAQ for hints about obtaining it.

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:spr:sprchp:978-3-031-16560-3_2

Ordering information: This item can be ordered from
http://www.springer.com/9783031165603

DOI: 10.1007/978-3-031-16560-3_2

Access Statistics for this chapter

More chapters in Springer Books from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().

 
Page updated 2026-02-27
Handle: RePEc:spr:sprchp:978-3-031-16560-3_2