2012-10-11 13:09:44 +02:00
|
|
|
Welcome to Arb's documentation!
|
|
|
|
===============================
|
|
|
|
|
2015-01-28 14:54:30 +01:00
|
|
|
.. only:: latex
|
2012-10-11 13:09:44 +02:00
|
|
|
|
2015-01-28 14:54:30 +01:00
|
|
|
Introduction
|
|
|
|
::::::::::::
|
2012-10-11 13:09:44 +02:00
|
|
|
|
2015-01-28 14:54:30 +01:00
|
|
|
Arb is a C library for arbitrary-precision floating-point ball arithmetic,
|
2015-01-28 18:20:07 +01:00
|
|
|
developed by `Fredrik Johansson <http://fredrikj.net/>`_
|
|
|
|
(fredrik.johansson@gmail.com).
|
|
|
|
It supports real and complex numbers, polynomials, power series, matrices,
|
|
|
|
and evaluation of many transcendental functions.
|
|
|
|
All is done with automatic, rigorous error bounds.
|
2015-01-28 14:54:30 +01:00
|
|
|
|
|
|
|
The git repository is https://github.com/fredrik-johansson/arb/
|
|
|
|
|
2015-01-28 18:20:07 +01:00
|
|
|
The documentation website is http://fredrikj.net/arb/
|
|
|
|
|
2015-01-28 14:54:30 +01:00
|
|
|
.. only:: html
|
|
|
|
|
|
|
|
.. image:: _static/arbtext.png
|
|
|
|
|
|
|
|
Arb is a C library for arbitrary-precision floating-point ball arithmetic,
|
2015-01-28 18:20:07 +01:00
|
|
|
developed by `Fredrik Johansson <http://fredrikj.net/>`_
|
|
|
|
(fredrik.johansson@gmail.com).
|
|
|
|
It supports real and complex numbers, polynomials, power series, matrices,
|
|
|
|
and evaluation of many transcendental functions.
|
|
|
|
All is done with automatic, rigorous error bounds.
|
2015-01-28 14:54:30 +01:00
|
|
|
|
|
|
|
The git repository is https://github.com/fredrik-johansson/arb/
|
|
|
|
|
2015-01-28 18:20:07 +01:00
|
|
|
The documentation website is http://fredrikj.net/arb/
|
|
|
|
|
2015-01-28 14:54:30 +01:00
|
|
|
A `PDF version <http://fredrikj.net/arb/arb.pdf>`_ of this documentation
|
|
|
|
is available.
|
2012-10-11 13:09:44 +02:00
|
|
|
|
2016-02-28 18:08:23 +01:00
|
|
|
.. dummy toctree because sphinx sets tocdepth to maxdepth - 1 instead of maxdepth
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 3
|
|
|
|
|
2012-10-11 13:09:44 +02:00
|
|
|
General information
|
|
|
|
::::::::::::::::::::
|
|
|
|
|
|
|
|
.. toctree::
|
2016-02-24 16:33:45 +01:00
|
|
|
:maxdepth: 2
|
2012-10-11 13:09:44 +02:00
|
|
|
|
|
|
|
overview.rst
|
|
|
|
setup.rst
|
2013-08-06 14:10:45 +02:00
|
|
|
issues.rst
|
2013-09-19 17:28:23 +01:00
|
|
|
examples.rst
|
|
|
|
|
2016-02-24 16:33:45 +01:00
|
|
|
Floating-point numbers
|
2014-06-19 16:58:52 +02:00
|
|
|
::::::::::::::::::::::::::::::::::::
|
|
|
|
|
2016-02-24 19:15:02 +01:00
|
|
|
The radius and midpoint of a ball are represented using two specialized
|
|
|
|
floating-point types.
|
|
|
|
|
2014-06-19 16:58:52 +02:00
|
|
|
.. toctree::
|
2016-02-24 16:33:45 +01:00
|
|
|
:maxdepth: 2
|
2014-06-19 16:58:52 +02:00
|
|
|
|
|
|
|
mag.rst
|
|
|
|
arf.rst
|
2016-02-24 16:33:45 +01:00
|
|
|
|
|
|
|
Real and complex numbers
|
|
|
|
::::::::::::::::::::::::::::::::::::
|
|
|
|
|
2016-02-24 19:15:02 +01:00
|
|
|
Real numbers (*arb_t*) are represented as midpoint-radius intervals,
|
|
|
|
also known as balls. Complex numbers (*acb_t*) are represented in rectangular
|
|
|
|
form, with balls for the real and imaginary parts.
|
|
|
|
|
2016-02-24 16:33:45 +01:00
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
|
2014-06-19 16:58:52 +02:00
|
|
|
arb.rst
|
|
|
|
acb.rst
|
2016-02-24 16:33:45 +01:00
|
|
|
|
|
|
|
Polynomials and power series
|
|
|
|
::::::::::::::::::::::::::::::::::::
|
|
|
|
|
2016-02-24 19:15:02 +01:00
|
|
|
These modules implement dense univariate polynomials with real and complex
|
|
|
|
coefficients. Truncated power series are supported via methods acting
|
|
|
|
on polynomials, without introducing a separate power series type.
|
|
|
|
|
2016-02-24 16:33:45 +01:00
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
|
|
|
|
arb_poly.rst
|
2014-06-19 16:58:52 +02:00
|
|
|
acb_poly.rst
|
2016-02-24 16:33:45 +01:00
|
|
|
|
|
|
|
Matrices
|
|
|
|
::::::::::::::::::::::::::::::::::::
|
|
|
|
|
2016-02-24 19:15:02 +01:00
|
|
|
These modules implement dense matrices with real and complex coefficients.
|
|
|
|
Rudimentary linear algebra is supported.
|
|
|
|
|
2016-02-24 16:33:45 +01:00
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
|
|
|
|
arb_mat.rst
|
2014-06-19 16:58:52 +02:00
|
|
|
acb_mat.rst
|
2016-02-24 16:33:45 +01:00
|
|
|
|
|
|
|
Higher mathematical functions
|
|
|
|
::::::::::::::::::::::::::::::::::::
|
|
|
|
|
2016-02-24 19:15:02 +01:00
|
|
|
These modules implement mathematical functions with complexity
|
|
|
|
that goes beyond the basics covered directly in the *arb* and *acb*
|
|
|
|
modules.
|
|
|
|
|
2016-02-24 16:33:45 +01:00
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
|
2014-11-15 17:46:04 +01:00
|
|
|
acb_hypgeom.rst
|
|
|
|
acb_modular.rst
|
2016-02-15 16:31:15 +01:00
|
|
|
acb_dirichlet.rst
|
2014-09-25 15:36:55 +02:00
|
|
|
bernoulli.rst
|
|
|
|
hypgeom.rst
|
|
|
|
partitions.rst
|
2014-07-07 05:37:28 +02:00
|
|
|
|
2016-02-24 16:33:45 +01:00
|
|
|
Calculus
|
|
|
|
::::::::::::::::::::::::::::::::::::
|
2014-06-19 16:58:52 +02:00
|
|
|
|
2016-02-24 19:15:02 +01:00
|
|
|
Using ball arithmetic, it is possible to do rigorous root-finding and
|
|
|
|
integration (among other operations)
|
|
|
|
with generic functions. This code should be considered experimental.
|
|
|
|
|
2014-06-19 16:58:52 +02:00
|
|
|
.. toctree::
|
2016-02-24 16:33:45 +01:00
|
|
|
:maxdepth: 2
|
2014-06-19 16:58:52 +02:00
|
|
|
|
2016-02-24 16:33:45 +01:00
|
|
|
arb_calc.rst
|
|
|
|
acb_calc.rst
|
2012-10-11 13:09:44 +02:00
|
|
|
|
2016-02-24 18:18:30 +01:00
|
|
|
Extra utility modules
|
|
|
|
::::::::::::::::::::::::::::::::::::
|
|
|
|
|
2016-02-24 19:15:02 +01:00
|
|
|
Mainly for internal use.
|
|
|
|
|
2016-02-24 18:18:30 +01:00
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
fmpz_extras.rst
|
2012-10-11 13:09:44 +02:00
|
|
|
fmpr.rst
|
2014-05-08 14:48:36 +02:00
|
|
|
|
2016-02-24 16:33:45 +01:00
|
|
|
Supplementary algorithm notes
|
|
|
|
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
|
|
|
2016-02-24 19:15:02 +01:00
|
|
|
Here, we give extra proofs, error bounds, and formulas that would be too
|
|
|
|
lengthy to reproduce in the documentation for each module.
|
|
|
|
|
2016-02-24 16:33:45 +01:00
|
|
|
.. toctree::
|
2016-02-24 18:18:30 +01:00
|
|
|
:maxdepth: 1
|
2016-02-24 16:33:45 +01:00
|
|
|
|
|
|
|
constants.rst
|
|
|
|
gamma.rst
|
|
|
|
polylogarithms.rst
|
2016-02-27 04:28:29 +01:00
|
|
|
hypergeometric.rst
|
2016-02-27 07:50:35 +01:00
|
|
|
agm.rst
|
2016-02-24 16:33:45 +01:00
|
|
|
|
2016-02-28 03:38:55 +01:00
|
|
|
History, credits and references
|
|
|
|
:::::::::::::::::::::::::::::::::
|
2012-10-11 13:09:44 +02:00
|
|
|
|
|
|
|
.. toctree::
|
2012-12-03 10:59:32 +01:00
|
|
|
:maxdepth: 2
|
2012-10-11 13:09:44 +02:00
|
|
|
|
|
|
|
credits.rst
|
2012-11-29 15:58:26 +01:00
|
|
|
|
2016-02-28 03:38:55 +01:00
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
history.rst
|
|
|
|
|