151 lines
1.7 KiB
ReStructuredText
151 lines
1.7 KiB
ReStructuredText
|
Mathematical functions
|
||
|
**********************
|
||
|
|
||
|
.. currentmodule:: numpy
|
||
|
|
||
|
Trigonometric functions
|
||
|
-----------------------
|
||
|
.. autosummary::
|
||
|
:toctree: generated/
|
||
|
|
||
|
sin
|
||
|
cos
|
||
|
tan
|
||
|
arcsin
|
||
|
arccos
|
||
|
arctan
|
||
|
hypot
|
||
|
arctan2
|
||
|
degrees
|
||
|
radians
|
||
|
unwrap
|
||
|
deg2rad
|
||
|
rad2deg
|
||
|
|
||
|
Hyperbolic functions
|
||
|
--------------------
|
||
|
.. autosummary::
|
||
|
:toctree: generated/
|
||
|
|
||
|
sinh
|
||
|
cosh
|
||
|
tanh
|
||
|
arcsinh
|
||
|
arccosh
|
||
|
arctanh
|
||
|
|
||
|
Rounding
|
||
|
--------
|
||
|
.. autosummary::
|
||
|
:toctree: generated/
|
||
|
|
||
|
around
|
||
|
round_
|
||
|
rint
|
||
|
fix
|
||
|
floor
|
||
|
ceil
|
||
|
trunc
|
||
|
|
||
|
Sums, products, differences
|
||
|
---------------------------
|
||
|
.. autosummary::
|
||
|
:toctree: generated/
|
||
|
|
||
|
prod
|
||
|
sum
|
||
|
nansum
|
||
|
cumprod
|
||
|
cumsum
|
||
|
diff
|
||
|
ediff1d
|
||
|
gradient
|
||
|
cross
|
||
|
trapz
|
||
|
|
||
|
Exponents and logarithms
|
||
|
------------------------
|
||
|
.. autosummary::
|
||
|
:toctree: generated/
|
||
|
|
||
|
exp
|
||
|
expm1
|
||
|
exp2
|
||
|
log
|
||
|
log10
|
||
|
log2
|
||
|
log1p
|
||
|
logaddexp
|
||
|
logaddexp2
|
||
|
|
||
|
Other special functions
|
||
|
-----------------------
|
||
|
.. autosummary::
|
||
|
:toctree: generated/
|
||
|
|
||
|
i0
|
||
|
sinc
|
||
|
|
||
|
Floating point routines
|
||
|
-----------------------
|
||
|
.. autosummary::
|
||
|
:toctree: generated/
|
||
|
|
||
|
signbit
|
||
|
copysign
|
||
|
frexp
|
||
|
ldexp
|
||
|
|
||
|
Arithmetic operations
|
||
|
---------------------
|
||
|
.. autosummary::
|
||
|
:toctree: generated/
|
||
|
|
||
|
add
|
||
|
reciprocal
|
||
|
negative
|
||
|
multiply
|
||
|
divide
|
||
|
power
|
||
|
subtract
|
||
|
true_divide
|
||
|
floor_divide
|
||
|
|
||
|
fmod
|
||
|
mod
|
||
|
modf
|
||
|
remainder
|
||
|
|
||
|
Handling complex numbers
|
||
|
------------------------
|
||
|
.. autosummary::
|
||
|
:toctree: generated/
|
||
|
|
||
|
angle
|
||
|
real
|
||
|
imag
|
||
|
conj
|
||
|
|
||
|
|
||
|
Miscellaneous
|
||
|
-------------
|
||
|
.. autosummary::
|
||
|
:toctree: generated/
|
||
|
|
||
|
convolve
|
||
|
clip
|
||
|
|
||
|
sqrt
|
||
|
square
|
||
|
|
||
|
absolute
|
||
|
fabs
|
||
|
sign
|
||
|
maximum
|
||
|
minimum
|
||
|
|
||
|
nan_to_num
|
||
|
real_if_close
|
||
|
|
||
|
interp
|