Arithmetic functions

The common arithmetic operators +, -, and * are implicitly linked to the add, subtract, and multiply universal functions, respectively. This means that when you use one of these operators on a NumPy array, the corresponding universal function will get called. Division involves a slightly more complex process. The three universal functions that have to do with array division are 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