How to Install and Uninstall python-mpmath Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 07,2024

1. Install "python-mpmath" package

Please follow the instructions below to install python-mpmath on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-mpmath

2. Uninstall "python-mpmath" package

Please follow the instructions below to uninstall python-mpmath on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python-mpmath $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-mpmath package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-mpmath
Priority: optional
Section: universe/python
Installed-Size: 1899
Maintainer: Ubuntu Developers
Original-Maintainer: Sandro Tosi
Architecture: all
Source: mpmath
Version: 0.19-3
Depends: python (>= 2.7), python (<< 2.8)
Suggests: python-gmpy2, python-matplotlib, python-mpmath-doc
Filename: pool/universe/m/mpmath/python-mpmath_0.19-3_all.deb
Size: 387362
MD5sum: f019f3be926c742896ffa75018a15202
SHA1: 366aa75317fd3890e5b7f781a80ed076141ae507
SHA256: 8f33d4574f2b5c1f9295b04eadff4dd213d7b5e36c2d213223c59fff8e5a2cb2
Description-en: 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
Description-md5: 8936f798c758e0aa976e19481d0790e9
Homepage: http://www.mpmath.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu