[Numpy-discussion] please change mean to use dtype=float
robert.kern at gmail.com
Tue Sep 19 23:10:26 CDT 2006
Sebastian Haase wrote:
> I know that having too much knowledge of the details often makes one
> forget what the "newcomers" will do and expect.
Please be more careful with such accusations. Repeated frequently, they can
become quite insulting.
> We are only talking
> about people that will a) work with single-precision data (e.g. large
> scale-image analysis) and who b) will tend to "just use the default"
> (dtype) --- How else can I say this: these people will just assume that
> arr.mean() *is* the mean of arr.
I don't understand what you mean, here. arr.mean() is almost never *the* mean of
arr. Double precision can't fix that.
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Numpy-discussion