This is a pre-release version (latest). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy latest / docs

Doc

Mathematical functions

docs/reference:routines.math

Trigonometric functions

.. autosummary:: 
    :toctree:generated/
    sin
    cos
    tan
    arcsin
    asin
    arccos
    acos
    arctan
    atan
    hypot
    arctan2
    atan2
    degrees
    radians
    unwrap
    deg2rad
    rad2deg

Hyperbolic functions

.. autosummary:: 
    :toctree:generated/
    sinh
    cosh
    tanh
    arcsinh
    asinh
    arccosh
    acosh
    arctanh
    atanh

Rounding

.. autosummary:: 
    :toctree:generated/
    round
    around
    rint
    fix
    floor
    ceil
    trunc

Sums, products, differences

.. autosummary:: 
    :toctree:generated/
    prod
    sum
    nanprod
    nansum
    cumulative_sum
    cumulative_prod
    cumprod
    cumsum
    nancumprod
    nancumsum
    diff
    ediff1d
    gradient
    cross
    trapezoid

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
    pow
    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
    max
    amax
    fmax
    nanmax

    minimum
    min
    amin
    fmin
    nanmin

Miscellaneous

.. autosummary:: 
    :toctree:generated/
    convolve
    clip

    sqrt
    cbrt
    square

    absolute
    fabs
    sign
    heaviside

    nan_to_num
    real_if_close

    interp