-
Recent Posts
Archives
- April 2013 (1)
- March 2013 (4)
- February 2013 (3)
- January 2013 (1)
- November 2012 (1)
- October 2012 (1)
- September 2012 (5)
- July 2012 (1)
- May 2012 (2)
- April 2012 (3)
- March 2012 (2)
- January 2012 (1)
- June 2011 (1)
- March 2011 (2)
- September 2010 (3)
- July 2010 (4)
- June 2010 (3)
- March 2010 (3)
- February 2010 (4)
- January 2010 (4)
- December 2009 (1)
- September 2009 (1)
- August 2009 (4)
- July 2009 (3)
- June 2009 (5)
- May 2009 (2)
- March 2009 (1)
- February 2009 (5)
- January 2009 (2)
- November 2008 (1)
- October 2008 (2)
- September 2008 (1)
- August 2008 (1)
- July 2008 (4)
Blogroll
Meta
Category Archives: mpmath
Testing Li’s criterion
In this post, I will look at testing the Riemann hypothesis via Li’s criterion and numerical evaluation. Li’s criterion involves a property of Riemann xi function $$\xi(s) = (s-1) \pi^{-s/2} \Gamma\left(1+\tfrac{1}{2} s\right) \zeta(s),$$ so-defined because it puts the functional equation … Continue reading
Coping with a big argument
Implementing special functions so that they work properly on the entirety of their (representable) domain is a very hard problem. Take for example the digamma function: it behaves like $\psi(z) \sim \log z$, so you would never really expect it … Continue reading
Machin-like formulas for logarithms
Machin-like formulas express $\pi$ as an integer combination of arctangents evaluated at reciprocals of integers. The most famous is $$\pi = 16 \arctan \frac{1}{5} – 4 \arctan \frac{1}{239}$$ which historically has been used for many record computations of $\pi$, including … Continue reading
Posted in math, mpmath
3 Comments
An even speedier gamma function
I’ve just pushed some new code to the Arb git repository for computing numerical rising factorials ($x (x+1) (x+2)\cdots (x+n-1)$) faster. It works by expanding subproducts as symbolic polynomials, and evaluating them using the rectangular splitting algorithm mentioned in the … Continue reading