File: powers.rst

package info (click to toggle)
mpmath 1.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,356 kB
  • sloc: python: 45,321; makefile: 10
file content (89 lines) | stat: -rw-r--r-- 1,809 bytes parent folder | download | duplicates (2)
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
86
87
88
89
Powers and logarithms
---------------------

Nth roots
.........

:func:`~mpmath.sqrt`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.sqrt(x, **kwargs)

:func:`~mpmath.hypot`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.hypot(x, y)

:func:`~mpmath.cbrt`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.cbrt(x, **kwargs)

:func:`~mpmath.root`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.root(z, n, k=0)

:func:`~mpmath.unitroots`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.unitroots(n, primitive=False)


Exponentiation
..............

:func:`~mpmath.exp`
^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.exp(x, **kwargs)

:func:`~mpmath.power`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.power(x, y)

:func:`~mpmath.expj`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.expj(x, **kwargs)

:func:`~mpmath.expjpi`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.expjpi(x, **kwargs)

:func:`~mpmath.expm1`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.expm1(x)

:func:`~mpmath.powm1`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.powm1(x, y)


Logarithms
..........

:func:`~mpmath.log`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.log(x, b=None)

:func:`~mpmath.ln`
^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.ln(x, **kwargs)

:func:`~mpmath.log10`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.log10(x)

:func:`~mpmath.log1p`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.log1p(x)


Lambert W function
...................................................

:func:`~mpmath.lambertw`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.lambertw(z, k=0)


Arithmetic-geometric mean
.......................................

:func:`~mpmath.agm`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.agm(a, b=1)