[SciPy-user] numpy's math library?

Robert Kern robert.kern at gmail.com
Wed Jan 11 21:19:09 CST 2006


David M. Cooke wrote:

> I've also exposed log1p(x) = log(1+x) and expm1(x) = exp(x)-1 as
> ufuncs, since those are quite useful if you're worrying about
> cancellation errors.

Of course, they're useful, but they're also in scipy.special. Let's try not to
migrate more things from scipy to numpy than we strictly have to. So, I'm -1 on
exposing log1p() and expm1() in numpy.

-- 
Robert Kern
robert.kern at gmail.com

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter



More information about the SciPy-user mailing list