Skip to content

Latest commit

 

History

History
183 lines (150 loc) · 2.04 KB

routines.math.rst

File metadata and controls

183 lines (150 loc) · 2.04 KB

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
   rint
   fix
   floor
   ceil
   trunc

Sums, products, differences

.. autosummary::
   :toctree: generated/

   prod
   sum
   nanprod
   nansum
   cumprod
   cumsum
   nancumprod
   nancumsum
   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
   nextafter
   spacing

Rational routines

.. autosummary::
   :toctree: generated/

   lcm
   gcd

Arithmetic operations

.. autosummary::
   :toctree: generated/

   add
   reciprocal
   positive
   negative
   multiply
   divide
   power
   subtract
   true_divide
   floor_divide
   float_power

   fmod
   mod
   modf
   remainder
   divmod

Handling complex numbers

.. autosummary::
   :toctree: generated/

   angle
   real
   imag
   conj
   conjugate

Extrema Finding

.. autosummary::
   :toctree: generated/

   maximum
   fmax
   amax
   nanmax

   minimum
   fmin
   amin
   nanmin


Miscellaneous

.. autosummary::
   :toctree: generated/

   convolve
   clip

   sqrt
   cbrt
   square

   absolute
   fabs
   sign
   heaviside

   nan_to_num
   real_if_close

   interp

   bit_count