© Sandeep Nagar 2017

Sandeep Nagar, Beginning Julia Programming, https://doi.org/10.1007/978-1-4842-3171-5_10

10. Functions

Sandeep Nagar

(1)New York, USA

10.1 Introduction to Julia Functions

A procedural programming language involves breaking down a bigger program into smaller chunks of functional blocks and then stitching them together as desired for the task undertaken. A block of code performs a specific task when called by the master program. This block of code is defined as a function. A function maps its input to output according to the set definition as dictated by a (set of) statements called the body of function . This definition is quite similar to the definition of a mathematical function.

The function object is referenced by a name ...

Get Beginning Julia Programming: For Engineers and Scientists now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.