Skip to main content
Back to top
User Guide
API reference
Building from source
Development
Release notes
Learn
More
NEPs
Choose version
GitHub
User Guide
API reference
Building from source
Development
Release notes
Learn
NEPs
Choose version
GitHub
Section Navigation
NumPy’s module structure
Array objects
Universal functions (
ufunc
)
Routines and objects by topic
Constants
Array creation routines
Array manipulation routines
Bit-wise operations
String functionality
Datetime support functions
Data type routines
Mathematical functions with automatic domain
Floating point error handling
Exceptions and Warnings (
numpy.exceptions
)
Discrete Fourier Transform (
numpy.fft
)
Functional programming
Input and output
Indexing routines
Linear algebra (
numpy.linalg
)
Logic functions
Masked array operations
Mathematical functions
numpy.sin
numpy.cos
numpy.tan
numpy.arcsin
numpy.asin
numpy.arccos
numpy.acos
numpy.arctan
numpy.atan
numpy.hypot
numpy.arctan2
numpy.atan2
numpy.degrees
numpy.radians
numpy.unwrap
numpy.deg2rad
numpy.rad2deg
numpy.sinh
numpy.cosh
numpy.tanh
numpy.arcsinh
numpy.asinh
numpy.arccosh
numpy.acosh
numpy.arctanh
numpy.atanh
numpy.round
numpy.around
numpy.rint
numpy.fix
numpy.floor
numpy.ceil
numpy.trunc
numpy.prod
numpy.sum
numpy.nanprod
numpy.nansum
numpy.cumulative_sum
numpy.cumulative_prod
numpy.cumprod
numpy.cumsum
numpy.nancumprod
numpy.nancumsum
numpy.diff
numpy.ediff1d
numpy.gradient
numpy.cross
numpy.trapezoid
numpy.exp
numpy.expm1
numpy.exp2
numpy.log
numpy.log10
numpy.log2
numpy.log1p
numpy.logaddexp