© Sandeep Nagar 2017

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

6. Mathematical Functions

Sandeep Nagar

(1)New York, USA

6.1 Introduction

A mathematical function is a relation between a set of inputs and a set of permissible outputs with the property such that each input is related to exactly one output. Most users are already familiar with many such functions including the trigonometric functions sin(x), cos(x), and tan(x); logarithms to the base of a number—say 10—as log 10 (x); exponentiation e x ; and so on. A programming language boasting to perform complex mathematical calculations in an efficient manner must provide easy and intuitive ways to interact with such mathematical functions and must ...

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.