Monthly Archives: February 2010

Numerical multidimensional infinite series

Another new feature in mpmath: support for multidimensional series in nsum. Some very simple examples (finite and infinite summations can be combined in any desired order): >>> nsum(lambda i,j: 2**(-i-j), [0,inf], [0,inf]) 4.0 >>> nsum(lambda i,j,k: 2**(-i-j-k), [0,inf], [0,inf], [0,inf]) 8.0 >>> nsum(lambda … Continue reading

Posted in mpmath, sage, sympy | Comments Off

A new gamma function implementation

The gamma function is probably the most important nonelementary special function. The gamma function or ratios of gamma functions appear in everything from the functional equation of the Riemann zeta function to the normalization factors of hypergeometric functions. Even expressions … Continue reading

Posted in mpmath, sage, sympy | Comments Off

Mpmath 0.14 released

I’ve just released version 0.14 of mpmath! Some highlights in this release have been covered in previous development updates on this blog: mpmath in Sage to become 3x faster – a Cython extension module will be added to Sage that greatly speeds … Continue reading

Posted in mpmath, sage, sympy | 4 Comments

mpmath in Sage to become 3x faster

I’ve blogged previously about the potential speedups attainable by rewriting core parts of mpmath in Cython (here and here), but all I had back then was some standalone classes and functions that couldn’t easily be integrated. Well, I now finally … Continue reading

Posted in mpmath, sage, sympy | 1 Comment