About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
See full specifications

mac default iconMpmath For Mac Publisher's description

Mpmath is a pure-Python library for multiprecision 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. Mpmath internally uses Python's builtin long integers by default, but automatically switches to GMP/MPIR for much faster high-precision arithmetic if gmpy is installed or if mpmath is imported from within Sage.

Mpmath is free (BSD license) and easy to install or include in other software due to being written entirely in Python with no additional required dependencies. It runs on Python 2.5 or higher, including Python 3.x. It can be used as a library, interactively via the Python interpreter, or via SymPy which uses it for numerical evaluation of symbolic expressions. Mpmath is also a standard component of Sage which uses it for special function evaluation.

If matplotlib is available, mpmath also provides a convenient plotting interface. The three images below were generated by the commands plot([fresnels, fresnelc]), cplot(fresnels), and the mandelbrot.py script. See the function gallery for more images.

* Real and complex numbers with arbitrary precision
* Unlimited exponent sizes / magnitudes
* Support for infinities and not-a-numbers
* Directed rounding
* Real and complex interval arithmetic
* Matrices with arbitrary-precision real, complex or interval elements

Special functions:
* Elementary functions (sqrt, exp, log, trigonometric, hyperbolic, inverse trig and hyperbolic)
* Standard mathematical constants: pi, e, the golden ratio, Euler's constant (gamma)
* Less standard constants: Catalan's, Apery's, Khinchin's and Glaisher's constants
* Lambert W function (all branches)
* Error function (erf), imaginary and complementary error functions; inverse error function; normal distribution functions
* Gamma functions (complete and incomplete), factorials, double factorials and binomial coefficients, log gamma function; complete and incomplete beta functions
* Fibonacci numbers
* Barnes G-function, super- and hyperfactorials
* Polygamma functions
* Riemann zeta function, Hurwitz zeta function, Riemann-Siegel and related functions; evaluation with the Riemann-Siegel expansion; Riemann zeta zeros
* Bernoulli numbers (fast numerical and exact computation of large Bernoulli numbers), Bernoulli polynomials, Euler numbers and polynomials
* Polylogarithms, Clausen functions
* Stieltjes constants
* Bessel functions; Hankel, Struve, Kelvin, Whittaker, Airy, Coulomb functions; Bessel function zeros; parabolic cylinder functions
* Exponential and trigonometric integrals
* Arithmetic-geometric mean
* Complete and incomplete elliptic integrals (Legendre and Carlsen forms)
* Jacobi elliptic functions and Jacobi theta functions
* Jacobi, Legendre and Chebyshev and other orthogonal polynomials; associated Legendre functions; spherical harmonics
* Generalized hypergeometric functions; the Meijer G-function; Borel regularized hypergeometric series; bilateral series; 2D hypergeometric series (Appell, Horn, KampГ© de FГ©riet functions)
* q-factorials and q-hypergeometric series

Calculus and other general high-level mathematics:
* Numerical integration (regular, double/triple integrals, oscillatory)
* Numerical differentiation and differintegration (arbitrary orders); partial derivatives
* Limits and summation of infinite series (with convergence acceleration)
* Multidimensional series
* Root-finding (1D and multidimensional; secant method, bisection, modified Newton's method, and other algorithms)
* Polynomial evaluation and polynomial root-finding
* Chebyshev approximation
* ODE solvers
* Fourier and Taylor series
* Integer relation detection (constant recognition)
* Linear algebra functions (linear system solving, LU factorization, matrix inverse, matrix norms, matrix exponentials/logarithms/square roots)

What's New in This Release:

В· Python 3 is now supported
В· Dropped Python 2.4 compatibility
В· Fixed Python 2.5 compatibility in matrix slicing code
В· Implemented Python 3.2-compatible hashing, making mpmath numbers hash compatible with extremely large integers and with fractions in Python versions >= 3.2

Special functions:

В· Implemented the von Mangoldt function (mangoldt())
В· Implemented the "secondary zeta function" (secondzeta())
В· Implemented zeta zero counting (nzeros()) and the Backlund S function backlunds())
В· Implemented derivatives of order 1-4 for siegelz() and siegeltheta()
В· Improved Euler-Maclaurin summation for zeta() to give more accurate results in the right half-plane when the reflection formula cannot be used
В· Implemented the Lerch transcendent (lerchphi())
В· Fixed polygamma function to return a complex NaN at complex infinity or NaN, instead of raising an unrelated exception.

System Requirements:

В· Python
Program Release Status: Minor Update
Program Install Support: Install and Uninstall

Mpmath For Mac Tags:

Click on a tag to find related softwares

Is Mpmath For Mac your software?

Manage your software

Most Popular

mac default icon twttr.media.types.instagram For Mac 1.4
Permission is hereby granted, free of charge
mac default icon Fiddler For Mac 1.0
Objective-C libraries for calculating sunrise & sunset times
mac default icon Wassup For Mac 2.5
Let's you know what's up with your Java environment.
mac default icon libdvdcss for Mac 1.2.11
Free and open source library that will help you access DVDs
mac default icon CodeRunner For Mac 1.3
Edit and run code in 10 different programming languages with CodeRunner...

Related Category

» Other (625)
» Tools (3122)