Mpmath

From Free Software Directory
 
Jump to: navigation, search

[edit]

Mpmath

http://www.mpmath.org/
library for arbitrary-precision floating-point arithmetic

Mpmath is a pure-Python library for multiprecision floating-point arithmetic. It provides an extensive set of transcendental functions, unlimited exponent sizes, complex numbers, interval arithmetic, numerical integration and differentiation, root-finding, linear algebra, and much more. Almost any calculation can be performed just as well at 10-digit or 1000-digit precision, and in many cases pmath implements asymptotically fast algorithms that scale well for extremely high precision work.

If available, mpmath will (optionally) use gmpy to speed up high precision operations. If matplotlib is available, mpmath also provides a convenient plotting interface.

Its features include:

  • Fair performance -- typically 10-100x faster than Python's decimal library
  • Transcendental functions -- all functions from Python's math and cmath modules, plus a few more like gamma, factorial, erf
  • Complex numbers -- with support for transcendental functions
  • Directed rounding -- floor, ceiling, down, up, half-down, half-up, half-even
  • Unlimited exponents -- no overflow or underflow

Documentation

Online documentation available at: http://www.mpmath.org/doc/current/





Licensing

License

Verified by

Verified on

Notes

Verified by

Genium

Verified on

25 February 2016




Leaders and contributors

Contact(s)Role
Fredrik Johansson Maintainer 2005-2013


Resources and communication

AudienceResource typeURI
DeveloperVCS Repository Webviewhttp://github.com/fredrik-johansson/mpmath
BugsBug Trackinghttps://github.com/fredrik-johansson/mpmath/issues
Debian (Ref)https://tracker.debian.org/pkg/mpmath
Python (Ref)https://pypi.org/project/mpmath


Software prerequisites

KindDescription
Required to usePython 2.5 or higher

This entry (in part or in whole) was last reviewed on 17 April 2018.



Entry







Property "Submitted by" (as page type) with input value "{{{Submitted by}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.









"Maintainer 2005-2013" is not in the list (Maintainer, Contributor, Developer, Sponsor, Unknown) of allowed values for the "Role" property.


"Python (Ref)" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.


"Debian (Ref)" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.




"Bugs" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.








Date 2015-07-17
Source Debian
Source link http://packages.debian.org/sid/mpmath

[[Category:]]



Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.