scipy/scipy — pull request #2485 by argriffing (2013-05-12 01:14:17+00:00)
Title: ENH: update expm from 2005 to 2009

Both versions use Pade approximations with scaling and squaring, following algorithms described in academic publications by Nick Higham and his lab. The new 2009 version corrects an overscaling issue, passing all of the old expm unit tests, and passing an additional test that addresses this overscaling.

This PR replaces the default expm, and it also makes the expm2 and expm3 functions less visible. See the discussion here https://github.com/scipy/scipy/pull/2441#issuecomment-17557830

Here's a link to my previous attempt at this expm update, where my git development started going off-script https://github.com/scipy/scipy/pull/2441