© Sandeep Nagar 2018
Sandeep NagarIntroduction to Python for Engineers and Scientistshttps://doi.org/10.1007/978-1-4842-3204-0_5

5. Operators

Sandeep Nagar
(1)
New York, USA
 

5.1 Introduction

Operators work in a similar fashion to mathematical functions. They provide a relationship between two different domains. For example, the multiplication operator makes an ordered pair of operands (data on which the operator works) and produces another data point. This can be done to any number of data points. In this way, the operator transforms data from the domain of operands to the domain of results.
The symbols for basic operators are given in Table 5-1.
Table 5-1
Symbols for Basic Operators
Mathematical Operation
Symbol
Addition
+
Subtraction
-
Multiplication ...

Get Introduction to Python for Engineers and Scientists: Open Source Solutions for Numerical Computation 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.