1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
|
Powers and logarithms
---------------------
Nth roots
.........
:func:`sqrt`
^^^^^^^^^^^^^^
.. autofunction:: mpmath.sqrt(x, **kwargs)
:func:`hypot`
^^^^^^^^^^^^^
.. autofunction:: mpmath.hypot(x, y)
:func:`cbrt`
^^^^^^^^^^^^^^
.. autofunction:: mpmath.cbrt(x, **kwargs)
:func:`root`
^^^^^^^^^^^^^^
.. autofunction:: mpmath.root(z, n, k=0)
:func:`unitroots`
^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.unitroots(n, primitive=False)
Exponentiation
..............
:func:`exp`
^^^^^^^^^^^^^^
.. autofunction:: mpmath.exp(x, **kwargs)
:func:`power`
^^^^^^^^^^^^^^
.. autofunction:: mpmath.power(x, y)
:func:`expj`
^^^^^^^^^^^^^^
.. autofunction:: mpmath.expj(x, **kwargs)
:func:`expjpi`
^^^^^^^^^^^^^^
.. autofunction:: mpmath.expjpi(x, **kwargs)
:func:`expm1`
^^^^^^^^^^^^^^
.. autofunction:: mpmath.expm1(x)
:func:`powm1`
^^^^^^^^^^^^^^
.. autofunction:: mpmath.powm1(x, y)
Logarithms
..........
:func:`log`
^^^^^^^^^^^^^^
.. autofunction:: mpmath.log(x, b=None)
:func:`ln`
^^^^^^^^^^^^^^
.. autofunction:: mpmath.ln(x, **kwargs)
:func:`log10`
^^^^^^^^^^^^^^
.. autofunction:: mpmath.log10(x)
Lambert W function
...................................................
:func:`lambertw`
^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.lambertw(z, k=0)
Arithmetic-geometric mean
.......................................
:func:`agm`
^^^^^^^^^^^^^^
.. autofunction:: mpmath.agm(a, b=1)
|