Book Image

NumPy: Beginner's Guide

By : Ivan Idris
Book Image

NumPy: Beginner's Guide

By: Ivan Idris

Overview of this book

Table of Contents (21 chapters)
NumPy Beginner's Guide Third Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
NumPy Functions' References
Index

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])])])