[Numpy-discussion] Re: [SciPy-dev] numpy/scipy some remarks

Robert Kern robert.kern at gmail.com
Wed Jan 18 10:08:03 CST 2006


Fernando Perez wrote:

> Anyway, I won't belabor this point any longer.  I'd just like to hear from 
> others their opinion on this matter, and if a decision is made to go ahead 
> with the overwriting, at least I think the rationale for it should be well 
> justified (and be more than "it's convenient").  The fact that over the last 
> few weeks we've had several surprised questions on this is, to me, an 
> indicator that I'm not the one uncomfortable with this decision.

I haven't followed this discussion in great detail, but I believe the current
situation is this:

1) If you use numpy.dft and numpy.linalg directly, you will always get the numpy
versions no matter what else is installed.

2) If you want to optionally use optimized scipy versions if they are available
and regular numpy versions otherwise, then you use the functions exposed in
numpy.dual. You do so at your own risk.

3) pkgload() exists to support the loading of subpackages. It does not reach
into numpy.dft or numpy.linalg at all. It is not relevant to this issue.

4) There are some places in numpy that use numpy.dual.

I think we can address all of your concerns by changing #4.

-- 
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 Numpy-discussion mailing list