Arithmetic functions

The common arithmetic operators +, -, and * are implicitly linked to the add, subtract, and multiply universal functions. This means that when you use one of those operators on a NumPy array, the corresponding universal function will get called. Division involves a slightly more complex process. There are three universal functions that have to do with array division: divide, true_divide, and floor_division. Two operators correspond to division: / and //.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset