Monthly Archives: March 2009

Computing (generalized) Bell numbers

Over the last few days, I procrastinated a bit from more important tasks by implementing Bell numbers (and more generally, evaluation of Bell polynomials) in mpmath. The Bell polynomials are defined by B0(x) = 1 and In particular, Bn(1) is … Continue reading

Posted in math, mpmath, sympy | 2 Comments