Fix ~250 broken references in sphinx docs

This commit is contained in:
Sergey B Kirpichev
2021-03-18 12:40:59 +03:00
parent 4a2a320efc
commit a5c95a8fbc
16 changed files with 465 additions and 467 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
Polynomials
-----------
See also :func:`taylor` and :func:`chebyfit` for
See also :func:`~mpmath.taylor` and :func:`~mpmath.chebyfit` for
approximation of functions by polynomials.
Polynomial evaluation (``polyval``)
+20 -20
View File
@@ -9,38 +9,38 @@ for summation and multiplication of finite sequences.
Summation
..........................................
:func:`nsum`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.nsum`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.nsum
:func:`sumem`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.sumem`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.sumem
:func:`sumap`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.sumap`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.sumap
Products
...............................
:func:`nprod`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.nprod`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.nprod
Limits (``limit``)
..................
:func:`limit`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.limit`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.limit
Extrapolation
..........................................
The following functions provide a direct interface to
extrapolation algorithms. :func:`nsum` and :func:`limit` essentially
work by calling the following functions with an increasing
extrapolation algorithms. :func:`~mpmath.nsum` and :func:`~mpmath.limit`
essentially work by calling the following functions with an increasing
number of terms until the extrapolated limit is accurate enough.
The following functions may be useful to call directly if the
@@ -49,19 +49,19 @@ known in advance, or if one wishes to study the convergence
properties of the algorithms.
:func:`richardson`
^^^^^^^^^^^^^^^^^^
:func:`~mpmath.richardson`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.richardson
:func:`shanks`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.shanks`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.shanks
:func:`levin`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.levin`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.levin
:func:`cohen_alt`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.cohen_alt`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.cohen_alt
+43 -43
View File
@@ -7,22 +7,22 @@ The functions in this section arise as solutions to various differential equatio
Bessel functions
...................................................
:func:`besselj`
:func:`~mpmath.besselj`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.besselj(n,x,derivative=0)
.. autofunction:: mpmath.j0(x)
.. autofunction:: mpmath.j1(x)
:func:`bessely`
:func:`~mpmath.bessely`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.bessely(n,x,derivative=0)
:func:`besseli`
:func:`~mpmath.besseli`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.besseli(n,x,derivative=0)
:func:`besselk`
:func:`~mpmath.besselk`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.besselk(n,x)
@@ -30,23 +30,23 @@ Bessel functions
Bessel function zeros
...............................
:func:`besseljzero`
^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.besseljzero`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.besseljzero(v,m,derivative=0)
:func:`besselyzero`
^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.besselyzero`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.besselyzero(v,m,derivative=0)
Hankel functions
................
:func:`hankel1`
:func:`~mpmath.hankel1`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.hankel1(n,x)
:func:`hankel2`
:func:`~mpmath.hankel2`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.hankel2(n,x)
@@ -54,20 +54,20 @@ Hankel functions
Kelvin functions
................
:func:`ber`
:func:`~mpmath.ber`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.ber
:func:`bei`
:func:`~mpmath.bei`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.bei
:func:`ker`
:func:`~mpmath.ker`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.ker
:func:`kei`
:func:`~mpmath.kei`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.kei
@@ -75,11 +75,11 @@ Kelvin functions
Struve functions
...................................................
:func:`struveh`
:func:`~mpmath.struveh`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.struveh
:func:`struvel`
:func:`~mpmath.struvel`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.struvel
@@ -87,11 +87,11 @@ Struve functions
Anger-Weber functions
...................................................
:func:`angerj`
:func:`~mpmath.angerj`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.angerj
:func:`webere`
:func:`~mpmath.webere`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.webere
@@ -99,38 +99,38 @@ Anger-Weber functions
Lommel functions
...................................................
:func:`lommels1`
:func:`~mpmath.lommels1`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.lommels1
:func:`lommels2`
:func:`~mpmath.lommels2`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.lommels2
Airy and Scorer functions
...............................................
:func:`airyai`
:func:`~mpmath.airyai`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.airyai(z, derivative=0, **kwargs)
:func:`airybi`
:func:`~mpmath.airybi`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.airybi(z, derivative=0, **kwargs)
:func:`airyaizero`
:func:`~mpmath.airyaizero`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.airyaizero(k, derivative=0)
:func:`airybizero`
:func:`~mpmath.airybizero`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.airybizero(k, derivative=0, complex=0)
:func:`scorergi`
:func:`~mpmath.scorergi`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.scorergi(z, **kwargs)
:func:`scorerhi`
:func:`~mpmath.scorerhi`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.scorerhi(z, **kwargs)
@@ -138,48 +138,48 @@ Airy and Scorer functions
Coulomb wave functions
...............................................
:func:`coulombf`
:func:`~mpmath.coulombf`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.coulombf(l,eta,z)
:func:`coulombg`
:func:`~mpmath.coulombg`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.coulombg(l,eta,z)
:func:`coulombc`
:func:`~mpmath.coulombc`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.coulombc(l,eta)
Confluent U and Whittaker functions
...................................
:func:`hyperu`
^^^^^^^^^^^^^^
:func:`~mpmath.hyperu`
^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.hyperu(a, b, z)
:func:`whitm`
^^^^^^^^^^^^^^
:func:`~mpmath.whitm`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.whitm(k,m,z)
:func:`whitw`
^^^^^^^^^^^^^^
:func:`~mpmath.whitw`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.whitw(k,m,z)
Parabolic cylinder functions
.................................
:func:`pcfd`
^^^^^^^^^^^^^^
:func:`~mpmath.pcfd`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.pcfd(n,z,**kwargs)
:func:`pcfu`
^^^^^^^^^^^^^^
:func:`~mpmath.pcfu`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.pcfu(a,z,**kwargs)
:func:`pcfv`
^^^^^^^^^^^^^^
:func:`~mpmath.pcfv`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.pcfv(a,z,**kwargs)
:func:`pcfw`
^^^^^^^^^^^^^^
:func:`~mpmath.pcfw`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.pcfw(a,z,**kwargs)
+36 -37
View File
@@ -7,95 +7,94 @@ Elliptic functions
Elliptic arguments
...................................................
:func:`qfrom`
^^^^^^^^^^^^^
:func:`~mpmath.qfrom`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.qfrom(**kwargs)
:func:`qbarfrom`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.qbarfrom`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.qbarfrom(**kwargs)
:func:`mfrom`
^^^^^^^^^^^^^
:func:`~mpmath.mfrom`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.mfrom(**kwargs)
:func:`kfrom`
^^^^^^^^^^^^^
:func:`~mpmath.kfrom`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.kfrom(**kwargs)
:func:`taufrom`
^^^^^^^^^^^^^^^
:func:`~mpmath.taufrom`
^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.taufrom(**kwargs)
Legendre elliptic integrals
...................................................
:func:`ellipk`
^^^^^^^^^^^^^^
:func:`~mpmath.ellipk`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.ellipk(m, **kwargs)
:func:`ellipf`
^^^^^^^^^^^^^^
:func:`~mpmath.ellipf`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.ellipf(phi, m)
:func:`ellipe`
^^^^^^^^^^^^^^
:func:`~mpmath.ellipe`
^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.ellipe(*args)
:func:`ellippi`
^^^^^^^^^^^^^^^
:func:`~mpmath.ellippi`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.ellippi(*args)
Carlson symmetric elliptic integrals
...................................................
:func:`elliprf`
^^^^^^^^^^^^^^^
:func:`~mpmath.elliprf`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.elliprf(x, y, z)
:func:`elliprc`
^^^^^^^^^^^^^^^
:func:`~mpmath.elliprc`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.elliprc(x, y, pv=True)
:func:`elliprj`
^^^^^^^^^^^^^^^
:func:`~mpmath.elliprj`
^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.elliprj(x, y, z, p)
:func:`elliprd`
^^^^^^^^^^^^^^^
:func:`~mpmath.elliprd`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.elliprd(x, y, z)
:func:`elliprg`
^^^^^^^^^^^^^^^
:func:`~mpmath.elliprg`
^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.elliprg(x, y, z)
Jacobi theta functions
......................
:func:`jtheta`
^^^^^^^^^^^^^^
:func:`~mpmath.jtheta`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.jtheta(n,z,q,derivative=0)
Jacobi elliptic functions
.................................................................
:func:`ellipfun`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.ellipfun`
^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.ellipfun(kind,u=None,m=None,q=None,k=None,tau=None)
Modular functions
......................
:func:`eta`
^^^^^^^^^^^^^^^
:func:`~mpmath.eta`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.eta(tau)
:func:`kleinj`
^^^^^^^^^^^^^^^
:func:`~mpmath.kleinj`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.kleinj(tau=None, **kwargs)
+31 -31
View File
@@ -8,23 +8,23 @@ The most general function in this section is the incomplete gamma function, to w
Incomplete gamma functions
..........................
:func:`gammainc`
^^^^^^^^^^^^^^^^
:func:`~mpmath.gammainc`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.gammainc(z, a=0, b=inf, regularized=False)
Exponential integrals
.....................
:func:`ei`
^^^^^^^^^^
:func:`~mpmath.ei`
^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.ei(x, **kwargs)
:func:`e1`
:func:`~mpmath.e1`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.e1(x, **kwargs)
:func:`expint`
:func:`~mpmath.expint`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.expint(*args)
@@ -32,7 +32,7 @@ Exponential integrals
Logarithmic integral
....................
:func:`li`
:func:`~mpmath.li`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.li(x, **kwargs)
@@ -40,65 +40,65 @@ Logarithmic integral
Trigonometric integrals
.......................
:func:`ci`
^^^^^^^^^^
:func:`~mpmath.ci`
^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.ci(x, **kwargs)
:func:`si`
^^^^^^^^^^
:func:`~mpmath.si`
^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.si(x, **kwargs)
Hyperbolic integrals
....................
:func:`chi`
^^^^^^^^^^^
:func:`~mpmath.chi`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.chi(x, **kwargs)
:func:`shi`
^^^^^^^^^^^
:func:`~mpmath.shi`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.shi(x, **kwargs)
Error functions
...............
:func:`erf`
^^^^^^^^^^^
:func:`~mpmath.erf`
^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.erf(x, **kwargs)
:func:`erfc`
^^^^^^^^^^^^
:func:`~mpmath.erfc`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.erfc(x, **kwargs)
:func:`erfi`
^^^^^^^^^^^^
:func:`~mpmath.erfi`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.erfi(x)
:func:`erfinv`
^^^^^^^^^^^^^^
:func:`~mpmath.erfinv`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.erfinv(x)
The normal distribution
....................................................
:func:`npdf`
^^^^^^^^^^^^
:func:`~mpmath.npdf`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.npdf(x, mu=0, sigma=1)
:func:`ncdf`
^^^^^^^^^^^^
:func:`~mpmath.ncdf`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.ncdf(x, mu=0, sigma=1)
Fresnel integrals
......................................................
:func:`fresnels`
^^^^^^^^^^^^^^^^
:func:`~mpmath.fresnels`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.fresnels(x)
:func:`fresnelc`
^^^^^^^^^^^^^^^^
:func:`~mpmath.fresnelc`
^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.fresnelc(x)
+28 -28
View File
@@ -21,78 +21,78 @@ The gamma and polygamma functions are closely related to :doc:`zeta`. See also :
Factorials
..........
:func:`factorial`/:func:`fac`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.factorial`/:func:`fac`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.factorial(x, **kwargs)
:func:`fac2`
:func:`~mpmath.fac2`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.fac2(x)
Binomial coefficients
Binomial coefficients
....................................................
:func:`binomial`
^^^^^^^^^^^^^^^^
:func:`~mpmath.binomial`
^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.binomial(n,k)
Gamma function
..............
:func:`gamma`
^^^^^^^^^^^^^^^^
:func:`~mpmath.gamma`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.gamma(x, **kwargs)
:func:`rgamma`
^^^^^^^^^^^^^^^^
:func:`~mpmath.rgamma`
^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.rgamma(x, **kwargs)
:func:`gammaprod`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.gammaprod`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.gammaprod(a, b)
:func:`loggamma`
^^^^^^^^^^^^^^^^
:func:`~mpmath.loggamma`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.loggamma(x)
Rising and falling factorials
.............................
:func:`rf`
^^^^^^^^^^^^^^^^
:func:`~mpmath.rf`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.rf(x,n)
:func:`ff`
^^^^^^^^^^^^^^^^
:func:`~mpmath.ff`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.ff(x,n)
Beta function
.............
:func:`beta`
^^^^^^^^^^^^^^^^
:func:`~mpmath.beta`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.beta(x,y)
:func:`betainc`
^^^^^^^^^^^^^^^^
:func:`~mpmath.betainc`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.betainc(a,b,x1=0,x2=1,regularized=False)
Super- and hyperfactorials
..........................
:func:`superfac`
^^^^^^^^^^^^^^^^
:func:`~mpmath.superfac`
^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.superfac(z)
:func:`hyperfac`
:func:`~mpmath.hyperfac`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.hyperfac(z)
:func:`barnesg`
:func:`~mpmath.barnesg`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.barnesg(z)
@@ -100,12 +100,12 @@ Super- and hyperfactorials
Polygamma functions and harmonic numbers
........................................
:func:`psi`/:func:`digamma`
:func:`~mpmath.psi`/:func:`~mpmath.digamma`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.psi(m, z)
.. autofunction:: mpmath.digamma(z)
:func:`harmonic`
:func:`~mpmath.harmonic`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.harmonic(z)
+24 -24
View File
@@ -4,53 +4,53 @@ Hyperbolic functions
Hyperbolic functions
....................
:func:`cosh`
^^^^^^^^^^^^^^^^
:func:`~mpmath.cosh`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.cosh(x, **kwargs)
:func:`sinh`
^^^^^^^^^^^^^^^^
:func:`~mpmath.sinh`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.sinh(x, **kwargs)
:func:`tanh`
^^^^^^^^^^^^^^^^
:func:`~mpmath.tanh`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.tanh(x, **kwargs)
:func:`sech`
^^^^^^^^^^^^^^^^
:func:`~mpmath.sech`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.sech(x)
:func:`csch`
^^^^^^^^^^^^^^^^
:func:`~mpmath.csch`
^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.csch(x)
:func:`coth`
^^^^^^^^^^^^^^^^
:func:`~mpmath.coth`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.coth(x)
Inverse hyperbolic functions
............................
:func:`acosh`
^^^^^^^^^^^^^^^^
:func:`~mpmath.acosh`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.acosh(x, **kwargs)
:func:`asinh`
^^^^^^^^^^^^^^^^
:func:`~mpmath.asinh`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.asinh(x, **kwargs)
:func:`atanh`
^^^^^^^^^^^^^^^^
:func:`~mpmath.atanh`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.atanh(x, **kwargs)
:func:`asech`
^^^^^^^^^^^^^^^^
:func:`~mpmath.asech`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.asech(x)
:func:`acsch`
^^^^^^^^^^^^^^^^
:func:`~mpmath.acsch`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.acsch(x)
:func:`acoth`
^^^^^^^^^^^^^^^^
:func:`~mpmath.acoth`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.acoth(x)
+30 -31
View File
@@ -33,36 +33,36 @@ and singular parameter combinations.
Common hypergeometric series
............................
:func:`hyp0f1`
^^^^^^^^^^^^^^
:func:`~mpmath.hyp0f1`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.hyp0f1(a, z)
:func:`hyp1f1`
^^^^^^^^^^^^^^
:func:`~mpmath.hyp1f1`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.hyp1f1(a, b, z)
:func:`hyp1f2`
^^^^^^^^^^^^^^
:func:`~mpmath.hyp1f2`
^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.hyp1f2(a1, b1, b2, z)
:func:`hyp2f0`
^^^^^^^^^^^^^^
:func:`~mpmath.hyp2f0`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.hyp2f0(a, b, z)
:func:`hyp2f1`
^^^^^^^^^^^^^^
:func:`~mpmath.hyp2f1`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.hyp2f1(a, b, c, z)
:func:`hyp2f2`
^^^^^^^^^^^^^^
:func:`~mpmath.hyp2f2`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.hyp2f2(a1, a2, b1, b2, z)
:func:`hyp2f3`
^^^^^^^^^^^^^^
:func:`~mpmath.hyp2f3`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.hyp2f3(a1, a2, b1, b2, b3, z)
:func:`hyp3f2`
^^^^^^^^^^^^^^
:func:`~mpmath.hyp3f2`
^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.hyp3f2(a1, a2, a3, b1, b2, z)
Generalized hypergeometric functions
@@ -79,37 +79,36 @@ Generalized hypergeometric functions
Meijer G-function
...................................
:func:`meijerg`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.meijerg`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.meijerg(a_s,b_s,z,r=1,**kwargs)
Bilateral hypergeometric series
...............................
:func:`bihyper`
^^^^^^^^^^^^^^^
:func:`~mpmath.bihyper`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.bihyper(a_s,b_s,z,**kwargs)
Hypergeometric functions of two variables
...............................................
:func:`hyper2d`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.hyper2d`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.hyper2d(a,b,x,y,**kwargs)
:func:`appellf1`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.appellf1`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.appellf1(a,b1,b2,c,x,y,**kwargs)
:func:`appellf2`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.appellf2`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.appellf2(a,b1,b2,c1,c2,x,y,**kwargs)
:func:`appellf3`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.appellf3`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.appellf3(a1,a2,b1,b2,c,x,y,**kwargs)
:func:`appellf4`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.appellf4`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.appellf4(a,b,c1,c2,x,y,**kwargs)
+28 -28
View File
@@ -8,55 +8,55 @@ section :doc:`gamma`.
Fibonacci numbers
.................
:func:`fibonacci`/:func:`fib`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.fibonacci`/:func:`fib`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.fibonacci(n, **kwargs)
Bernoulli numbers and polynomials
.................................
:func:`bernoulli`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.bernoulli`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.bernoulli(n)
:func:`bernfrac`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.bernfrac`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.bernfrac(n)
:func:`bernpoly`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.bernpoly`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.bernpoly(n,z)
Euler numbers and polynomials
.................................
:func:`eulernum`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.eulernum`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.eulernum(n)
:func:`eulerpoly`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.eulerpoly`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.eulerpoly(n,z)
Bell numbers and polynomials
...........................................
:func:`bell`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.bell`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.bell(n,x)
Stirling numbers
...........................................
:func:`stirling1`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.stirling1`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.stirling1(n,k,exact=False)
:func:`stirling2`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.stirling2`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.stirling2(n,k,exact=False)
@@ -64,30 +64,30 @@ Stirling numbers
Prime counting functions
........................
:func:`primepi`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.primepi`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.primepi(x)
:func:`primepi2`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.primepi2`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.primepi2(x)
:func:`riemannr`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.riemannr`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.riemannr(x)
Cyclotomic polynomials
......................
:func:`cyclotomic`
^^^^^^^^^^^^^^^^^^
:func:`~mpmath.cyclotomic`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.cyclotomic(n,x)
Arithmetic functions
......................
:func:`mangoldt`
^^^^^^^^^^^^^^^^^^
:func:`~mpmath.mangoldt`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.mangoldt(n)
+20 -20
View File
@@ -20,60 +20,60 @@ For more information, see the `Wikipedia article on orthogonal polynomials <http
Legendre functions
.......................................
:func:`legendre`
^^^^^^^^^^^^^^^^
:func:`~mpmath.legendre`
^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.legendre(n, x)
:func:`legenp`
^^^^^^^^^^^^^^^
:func:`~mpmath.legenp`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.legenp(n, m, z, type=2)
:func:`legenq`
^^^^^^^^^^^^^^^
:func:`~mpmath.legenq`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.legenq(n, m, z, type=2)
Chebyshev polynomials
.....................
:func:`chebyt`
^^^^^^^^^^^^^^^
:func:`~mpmath.chebyt`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.chebyt(n, x)
:func:`chebyu`
^^^^^^^^^^^^^^^
:func:`~mpmath.chebyu`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.chebyu(n, x)
Jacobi polynomials
..................
:func:`jacobi`
^^^^^^^^^^^^^^
:func:`~mpmath.jacobi`
^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.jacobi(n, a, b, z)
Gegenbauer polynomials
.....................................
:func:`gegenbauer`
^^^^^^^^^^^^^^^^^^
:func:`~mpmath.gegenbauer`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.gegenbauer(n, a, z)
Hermite polynomials
.....................................
:func:`hermite`
^^^^^^^^^^^^^^^
:func:`~mpmath.hermite`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.hermite(n, z)
Laguerre polynomials
.......................................
:func:`laguerre`
^^^^^^^^^^^^^^^^
:func:`~mpmath.laguerre`
^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.laguerre(n, a, z)
Spherical harmonics
.....................................
:func:`spherharm`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.spherharm`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.spherharm(l, m, theta, phi)
+34 -34
View File
@@ -4,86 +4,86 @@ Powers and logarithms
Nth roots
.........
:func:`sqrt`
^^^^^^^^^^^^^^
:func:`~mpmath.sqrt`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.sqrt(x, **kwargs)
:func:`hypot`
^^^^^^^^^^^^^
:func:`~mpmath.hypot`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.hypot(x, y)
:func:`cbrt`
^^^^^^^^^^^^^^
:func:`~mpmath.cbrt`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.cbrt(x, **kwargs)
:func:`root`
^^^^^^^^^^^^^^
:func:`~mpmath.root`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.root(z, n, k=0)
:func:`unitroots`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.unitroots`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.unitroots(n, primitive=False)
Exponentiation
..............
:func:`exp`
^^^^^^^^^^^^^^
:func:`~mpmath.exp`
^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.exp(x, **kwargs)
:func:`power`
^^^^^^^^^^^^^^
:func:`~mpmath.power`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.power(x, y)
:func:`expj`
^^^^^^^^^^^^^^
:func:`~mpmath.expj`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.expj(x, **kwargs)
:func:`expjpi`
^^^^^^^^^^^^^^
:func:`~mpmath.expjpi`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.expjpi(x, **kwargs)
:func:`expm1`
^^^^^^^^^^^^^^
:func:`~mpmath.expm1`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.expm1(x)
:func:`powm1`
^^^^^^^^^^^^^^
:func:`~mpmath.powm1`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.powm1(x, y)
Logarithms
..........
:func:`log`
^^^^^^^^^^^^^^
:func:`~mpmath.log`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.log(x, b=None)
:func:`ln`
^^^^^^^^^^^^^^
:func:`~mpmath.ln`
^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.ln(x, **kwargs)
:func:`log10`
^^^^^^^^^^^^^^
:func:`~mpmath.log10`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.log10(x)
:func:`log1p`
^^^^^^^^^^^^^^
:func:`~mpmath.log1p`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.log1p(x)
Lambert W function
...................................................
:func:`lambertw`
^^^^^^^^^^^^^^^^
:func:`~mpmath.lambertw`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.lambertw(z, k=0)
Arithmetic-geometric mean
.......................................
:func:`agm`
^^^^^^^^^^^^^^
:func:`~mpmath.agm`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.agm(a, b=1)
+8 -8
View File
@@ -4,26 +4,26 @@ q-functions
q-Pochhammer symbol
..................................................
:func:`qp`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.qp`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.qp(a, q=None, n=None, **kwargs)
q-gamma and factorial
..................................................
:func:`qgamma`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.qgamma`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.qgamma(z, q, **kwargs)
:func:`qfac`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.qfac`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.qfac(z, q, **kwargs)
Hypergeometric q-series
..................................................
:func:`qhyper`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.qhyper`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.qhyper(a_s, b_s, q, z, **kwargs)
+38 -38
View File
@@ -28,90 +28,90 @@ erroneously).
Degree-radian conversion
...........................................................
:func:`degrees`
^^^^^^^^^^^^^^^^
:func:`~mpmath.degrees`
^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.degrees(x)
:func:`radians`
^^^^^^^^^^^^^^^^
:func:`~mpmath.radians`
^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.radians(x)
Trigonometric functions
.......................
:func:`cos`
^^^^^^^^^^^^^^^^
:func:`~mpmath.cos`
^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.cos(x, **kwargs)
:func:`sin`
^^^^^^^^^^^^^^^^
:func:`~mpmath.sin`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.sin(x, **kwargs)
:func:`tan`
^^^^^^^^^^^^^^^^
:func:`~mpmath.tan`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.tan(x, **kwargs)
:func:`sec`
^^^^^^^^^^^^^^^^
:func:`~mpmath.sec`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.sec(x)
:func:`csc`
^^^^^^^^^^^^^^^^
:func:`~mpmath.csc`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.csc(x)
:func:`cot`
^^^^^^^^^^^^^^^^
:func:`~mpmath.cot`
^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.cot(x)
Trigonometric functions with modified argument
........................................................
:func:`cospi`
^^^^^^^^^^^^^^^^
:func:`~mpmath.cospi`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.cospi(x, **kwargs)
:func:`sinpi`
^^^^^^^^^^^^^^^^
:func:`~mpmath.sinpi`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.sinpi(x, **kwargs)
Inverse trigonometric functions
................................................
:func:`acos`
^^^^^^^^^^^^^^^^
:func:`~mpmath.acos`
^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.acos(x, **kwargs)
:func:`asin`
^^^^^^^^^^^^^^^^
:func:`~mpmath.asin`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.asin(x, **kwargs)
:func:`atan`
^^^^^^^^^^^^^^^^
:func:`~mpmath.atan`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.atan(x, **kwargs)
:func:`atan2`
^^^^^^^^^^^^^
:func:`~mpmath.atan2`
^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.atan2(y, x)
:func:`asec`
^^^^^^^^^^^^^^^^
:func:`~mpmath.asec`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.asec(x)
:func:`acsc`
^^^^^^^^^^^^^^^^
:func:`~mpmath.acsc`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.acsc(x)
:func:`acot`
^^^^^^^^^^^^^^^^
:func:`~mpmath.acot`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.acot(x)
Sinc function
.............
:func:`sinc`
^^^^^^^^^^^^^^^^
:func:`~mpmath.sinc`
^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.sinc(x)
:func:`sincpi`
^^^^^^^^^^^^^^^^
:func:`~mpmath.sincpi`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.sincpi(x)
+34 -34
View File
@@ -8,28 +8,28 @@ and associated functions pertaining to analytic number theory.
Riemann and Hurwitz zeta functions
..................................................
:func:`zeta`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.zeta`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.zeta(s,a=1,derivative=0)
Dirichlet L-series
..................................................
:func:`altzeta`
^^^^^^^^^^^^^^^
:func:`~mpmath.altzeta`
^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.altzeta(s)
:func:`dirichlet`
^^^^^^^^^^^^^^^^^^
:func:`~mpmath.dirichlet`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.dirichlet(s,chi,derivative=0)
Stieltjes constants
...................
:func:`stieltjes`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.stieltjes`
^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.stieltjes(n,a=1)
@@ -39,66 +39,66 @@ Zeta function zeros
These functions are used for the study of the Riemann zeta function
in the critical strip.
:func:`zetazero`
^^^^^^^^^^^^^^^^
:func:`~mpmath.zetazero`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.zetazero(n, verbose=False)
:func:`nzeros`
^^^^^^^^^^^^^^^^
:func:`~mpmath.nzeros`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.nzeros(t)
:func:`siegelz`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.siegelz`
^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.siegelz(t)
:func:`siegeltheta`
^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.siegeltheta`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.siegeltheta(t)
:func:`grampoint`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.grampoint`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.grampoint(n)
:func:`backlunds`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.backlunds`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.backlunds(t)
Lerch transcendent
................................
:func:`lerchphi`
^^^^^^^^^^^^^^^^
:func:`~mpmath.lerchphi`
^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.lerchphi(z,s,a)
Polylogarithms and Clausen functions
.......................................
:func:`polylog`
^^^^^^^^^^^^^^^
:func:`~mpmath.polylog`
^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.polylog(s,z)
:func:`clsin`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.clsin`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.clsin(s, z)
:func:`clcos`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.clcos`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.clcos(s, z)
:func:`polyexp`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.polyexp`
^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.polyexp(s,z)
Zeta function variants
..........................
:func:`primezeta`
^^^^^^^^^^^^^^^^^
:func:`~mpmath.primezeta`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.primezeta(s)
:func:`secondzeta`
^^^^^^^^^^^^^^^^^^
:func:`~mpmath.secondzeta`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.secondzeta(s, a=0.015, **kwargs)
+84 -84
View File
@@ -7,16 +7,16 @@ on numbers or aid general programming.
Conversion and printing
-----------------------
:func:`mpmathify` / :func:`convert`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.mpmathify` / :func:`convert`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.mpmathify(x, strings=True)
:func:`nstr`
:func:`~mpmath.nstr`
^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.nstr(x, n=6, **kwargs)
:func:`nprint`
^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.nprint`
^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.nprint(x, n=6, **kwargs)
Arithmetic operations
@@ -25,208 +25,208 @@ Arithmetic operations
See also :func:`mpmath.sqrt`, :func:`mpmath.exp` etc., listed
in :doc:`functions/powers`
:func:`fadd`
^^^^^^^^^^^^^
:func:`~mpmath.fadd`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.fadd
:func:`fsub`
^^^^^^^^^^^^^
:func:`~mpmath.fsub`
^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.fsub
:func:`fneg`
^^^^^^^^^^^^^
:func:`~mpmath.fneg`
^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.fneg
:func:`fmul`
^^^^^^^^^^^^^
:func:`~mpmath.fmul`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.fmul
:func:`fdiv`
^^^^^^^^^^^^^
:func:`~mpmath.fdiv`
^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.fdiv
:func:`fmod`
^^^^^^^^^^^^^
:func:`~mpmath.fmod`
^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.fmod(x, y)
:func:`fsum`
^^^^^^^^^^^^^
:func:`~mpmath.fsum`
^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.fsum(terms, absolute=False, squared=False)
:func:`fprod`
^^^^^^^^^^^^^
:func:`~mpmath.fprod`
^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.fprod(factors)
:func:`fdot`
^^^^^^^^^^^^^
:func:`~mpmath.fdot`
^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.fdot(A, B=None, conjugate=False)
Complex components
------------------
:func:`fabs`
:func:`~mpmath.fabs`
^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.fabs(x)
:func:`sign`
:func:`~mpmath.sign`
^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.sign(x)
:func:`re`
:func:`~mpmath.re`
^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.re(x)
:func:`im`
:func:`~mpmath.im`
^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.im(x)
:func:`arg`
:func:`~mpmath.arg`
^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.arg(x)
:func:`conj`
:func:`~mpmath.conj`
^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.conj(x)
:func:`polar`
^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.polar`
^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.polar(x)
:func:`rect`
:func:`~mpmath.rect`
^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.rect(x)
Integer and fractional parts
-----------------------------
:func:`floor`
^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.floor`
^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.floor(x)
:func:`ceil`
:func:`~mpmath.ceil`
^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.ceil(x)
:func:`nint`
:func:`~mpmath.nint`
^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.nint(x)
:func:`frac`
:func:`~mpmath.frac`
^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.frac(x)
Tolerances and approximate comparisons
--------------------------------------
:func:`chop`
:func:`~mpmath.chop`
^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.chop(x, tol=None)
:func:`almosteq`
^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.almosteq`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.almosteq(s, t, rel_eps=None, abs_eps=None)
Properties of numbers
-------------------------------------
:func:`isinf`
^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.isinf`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.isinf(x)
:func:`isnan`
^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.isnan`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.isnan(x)
:func:`isnormal`
^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.isnormal`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.isnormal(x)
:func:`isfinite`
^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.isfinite`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.isfinite(x)
:func:`isint`
^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.isint`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.isint(x, gaussian=False)
:func:`ldexp`
^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.ldexp`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.ldexp(x, n)
:func:`frexp`
^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.frexp`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.frexp(x, n)
:func:`mag`
:func:`~mpmath.mag`
^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.mag(x)
:func:`nint_distance`
^^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.nint_distance`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.nint_distance(x)
.. :func:`absmin`
.. ^^^^^^^^^^^^^^^^^^^^
.. :func:`~mpmath.absmin`
.. ^^^^^^^^^^^^^^^^^^^^^^^^
.. .. autofunction:: mpmath.absmin(x)
.. .. autofunction:: mpmath.absmax(x)
Number generation
-----------------
:func:`fraction`
^^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.fraction`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.fraction(p,q)
:func:`rand`
:func:`~mpmath.rand`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.rand()
:func:`arange`
^^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.arange`
^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.arange(*args)
:func:`linspace`
^^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.linspace`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.linspace(*args, **kwargs)
Precision management
--------------------
:func:`autoprec`
^^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.autoprec`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.autoprec
:func:`workprec`
^^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.workprec`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.workprec
:func:`workdps`
^^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.workdps`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.workdps
:func:`extraprec`
^^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.extraprec`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.extraprec
:func:`extradps`
^^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.extradps`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.extradps
Performance and debugging
------------------------------------
:func:`memoize`
^^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.memoize`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.memoize
:func:`maxcalls`
^^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.maxcalls`
^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.maxcalls
:func:`monitor`
^^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.monitor`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.monitor
:func:`timing`
^^^^^^^^^^^^^^^^^^^^^
:func:`~mpmath.timing`
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.timing
+6 -6
View File
@@ -12,20 +12,20 @@ The number identification facilities in mpmath are inspired by the `Inverse Symb
Constant recognition
-----------------------------------
:func:`identify`
^^^^^^^^^^^^^^^^
:func:`~mpmath.identify`
^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.identify
Algebraic identification
---------------------------------------
:func:`findpoly`
^^^^^^^^^^^^^^^^
:func:`~mpmath.findpoly`
^^^^^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.findpoly
Integer relations (PSLQ)
----------------------------
:func:`pslq`
^^^^^^^^^^^^^^^^
:func:`~mpmath.pslq`
^^^^^^^^^^^^^^^^^^^^^
.. autofunction:: mpmath.pslq