Universal function methods

How can functions have methods? As we said earlier, universal functions are not functions but Python objects representing functions. Universal functions have five important methods listed as follows:

  1. ufunc.reduce(a[, axis, dtype, out, keepdims])
  2. ufunc.accumulate(array[, axis, dtype, out])
  3. ufunc.reduceat(a, indices[, axis, dtype, out])
  4. ufunc.outer(A, B)
  5. ufunc.at(a, indices[, b])])])
..................Content has been hidden....................

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