Python library for arbitrary-precision floating-point arithmetic
A Python library for arbitrary-precision floating-point arithmetic.
Mpmath is free software released under the New BSD License (see the LICENSE file for details)
The following people have contributed patches and new features to mpmath:
Numerous other people have contributed by reporting bugs, requesting new features, or suggesting improvements to the documentation.
Mpmath includes a copy of Benjamin Peterson’s six.py for Python 2/3 compatibility. six.py is provided under the MIT license (see the source file for details).
For a detailed changelog, including individual contributions, see the CHANGES file.
Fredrik’s work on mpmath during summer 2008 was sponsored by Google as part of the Google Summer of Code program.
Fredrik’s work on mpmath during summer 2009 was sponsored by the American Institute of Mathematics under the support of the National Science Foundation Grant No. 0757627 (FRG: L-functions and Modular Forms).
Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the sponsors.
Credit also goes to:
Mpmath requires Python 2.5 or later. It has been tested with Python 2.5, 2.6, 2.7, 3.1 and 3.2.
The latest release of mpmath can be downloaded from the mpmath website. It should also be available in the Python Package Index at http://pypi.python.org/pypi
To install, unpack the mpmath archive and run
python setup.py install
Mpmath can also be installed using
python -m easy_install mpmath
The latest development code is available from https://github.com/fredrik-johansson/mpmath
See the main documentation for more detailed instructions.
The unit tests in mpmath/tests/ can be run via the script runtests.py, but it is recommended to run them with py.test (http://codespeak.net/py/dist/index.html), especially to generate more useful reports in case there are failures.
You may also want to check out the demo scripts in the demo directory.
The master branch is automatically tested by Travis CI, the results can be seen here:
Documentation in reStructuredText format is available in the doc directory included with the source package. These files are human-readable, but can be compiled to prettier HTML using the build.py script (requires Sphinx, http://sphinx.pocoo.org/).
See setup.txt in the documentation for more information.
The most recent documentation is also available in HTML format:
Mpmath is a work in progress. Major issues include:
General questions and comments can be sent to the mpmath mailinglist, firstname.lastname@example.org
You can also report bugs and send patches to the mpmath issue tracker, https://github.com/fredrik-johansson/mpmath/issues
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|mpmath-0.19.tar.gz (498.6 kB) Copy SHA256 Checksum SHA256||–||Source||Jun 11, 2014|
|mpmath-all-0.19.tar.gz (2.1 MB) Copy SHA256 Checksum SHA256||–||Source||Jun 11, 2014|