16 Jul
2008
16 Jul
'08
12:23 a.m.
Christopher Barker wrote:
Jarrod Millman wrote:
On Tue, Jul 15, 2008 at 6:33 AM, Bruce Southey
wrote: Following Travis's suggestion below, I would like to suggest that the following definitions be depreciated or removed in this forthcoming release:
numpy.Inf numpy.Infinity numpy.infty numpy.PINF numpy.NAN numpy.NaN
Just to be clear, is the idea to remove the duplicate names, which will leave us with:
numpy.nan numpy.inf
Yes, that is my goal.
What about:
numpy.NINF
should that be:
numpy.ninf And is there a need for:
numpy.pinf
(or is that just redundant with numpy.inf)
In numeric.py these are defined as equal: 'Inf = inf = infty = Infinity = PINF' So, yes, these are redundant with using only numpy.inf.
anyway, +1 for removing redundancies...
-Chris
Bruce