Skip to content
Sections
>> Trisquel >> Packages >> etiona >> python >> python-mpmath
etiona  ]
[ Source: mpmath  ]

Package: python-mpmath (1.0.0-1)

Links for python-mpmath

python-mpmath

Trisquel Resources:

Download Source Package mpmath:

Maintainer:

Original Maintainers:

External Resources:

Similar packages:

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 mpmath 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

Other Packages Related to python-mpmath

  • depends
  • recommends
  • suggests
  • dep: python
    interactive high-level object-oriented language (default version)
  • sug: python-gmpy2
    interfaces GMP to Python 2 for fast, unbound-precision computations
  • sug: python-matplotlib
    Python based plotting system in a style similar to Matlab
  • sug: python-mpmath-doc
    library for arbitrary-precision floating-point arithmetic - Documentation

Download python-mpmath

Download for all available architectures
Architecture Package Size Installed Size Files
all 386.6 kB1944 kB [list of files]