A. M. Archibald wrote:
On 08/11/06, Tim Hochberg [EMAIL PROTECTED] wrote:
It has always been my experience (on various flavors or Pentium) that
operating on NANs is extremely slow. Does anyone know on what hardware
NANs are *not* slow? Of course it's always possible I just never notice
Tim Hochberg wrote:
I've been told that operations on NANs are slow because they aren't
always implemented in the FPU hardware. Instead they are trapped and
implemented software or firmware or something or other.
which still doesn't make sense -- doesn't ANY operation with a NaN
return
Christopher Barker wrote:
Tim Hochberg wrote:
I've been told that operations on NANs are slow because they aren't
always implemented in the FPU hardware. Instead they are trapped and
implemented software or firmware or something or other.
which still doesn't make sense --
Disappointed in NaN land?Since the function of old retired persons is to tell youngsters stories around the campfile:A supercomputer hardware designer told me that when forced to add IEEE arithmetic to his designs that it decreased performance substantially, maybe 25-30%; it wasn't that doing the
On 09/11/06, Paul Dubois [EMAIL PROTECTED] wrote:
Since the function of old retired persons is to tell youngsters stories
around the campfile:
I'll pull up a log. But since I'm uppity, and not especially young, I
hope you won't mind if I heckle.
A supercomputer hardware designer told me that
Michael,
First of all, thanks for your interest in the exercise of style the new
implementation of MaskedArray is basically nothing but.
On Tuesday 07 November 2006 20:11, Michael Sorich wrote:
1. It would be nice if the masked_singleton could be passed into a
ndarray, as this would allow it
On 08/11/06, Pierre GM [EMAIL PROTECTED] wrote:
I like your idea, but not its implementation. If MA.masked_singleton is
defined as an object, as you suggest, then the dtype of the ndarray it is
passed to becomes 'object', as you pointed out, and that is not something one
would naturally
A good candidate for should be masked marked is NaN. It is supposed
to mean, more or less, no sensible value.
Which might turn out out to be the best indeed. Michael's application would
then look like
import numpy as N
import maskedarray as MA
maskit = N.nan
test = N.array([1,2,maskit])
A. M. Archibald wrote:
On 08/11/06, Pierre GM [EMAIL PROTECTED] wrote:
I like your idea, but not its implementation. If MA.masked_singleton is
defined as an object, as you suggest, then the dtype of the ndarray it is
passed to becomes 'object', as you pointed out, and that is not
On 08/11/06, Tim Hochberg [EMAIL PROTECTED] wrote:
It has always been my experience (on various flavors or Pentium) that
operating on NANs is extremely slow. Does anyone know on what hardware
NANs are *not* slow? Of course it's always possible I just never notice
NANs on hardware where they
On 10/25/06, Pierre GM [EMAIL PROTECTED] wrote:
On Tuesday 24 October 2006 02:50, Michael Sorich wrote:
I am currently running numpy rc2 (I haven't tried your
reimplementation yet as I am still using python 2.3). I am wondering
whether the new maskedarray is able to handle construction of
I am currently running numpy rc2 (I haven't tried your
reimplementation yet as I am still using python 2.3). I am wondering
whether the new maskedarray is able to handle construction of arrays
from masked scalar values (not sure if this is the correct term). I
ran across a situation recently when
On Tuesday 24 October 2006 02:50, Michael Sorich wrote:
I am currently running numpy rc2 (I haven't tried your
reimplementation yet as I am still using python 2.3). I am wondering
whether the new maskedarray is able to handle construction of arrays
from masked scalar values (not sure if this
Folks,
I updated the alternative implementation of MaskedArray on the wiki, mainly to
correct a couple of bugs.
(http://projects.scipy.org/scipy/numpy/wiki/MaskedArray)
In addition, I attached another file, maskedrecordarray, which introduce a new
class, MaskedRecord, as a subclass of recarray
Folks,I updated the alternative implementation of MaskedArray on the wiki, mainly to correct a couple of bugs. (http://projects.scipy.org/scipy/numpy/wiki/MaskedArray
)In addition, I attached another file, maskedrecordarray, which introduce a new class, MaskedRecord, as a subclass of recarray and
Folks,
I just posted on the scipy/developers zone wiki
(http://projects.scipy.org/scipy/numpy/wiki/MaskedArray) a reimplementation
of the masked_array mopdule, motivated by some problems I ran into while
subclassing MaskedArray.
The main differences with the initial numpy.core.ma package are
Does this new MA class allow masking of rearray like arrays? The numpy
(1.0b5) version does not seem to. e.g.
from numpy import *
desc = [('name','S30'),('age',int8),('weight',float32)]
a = array([('Bill',31,260.0),('Fred', 15, 145.0)], dtype=desc)
print a[0]
print a['name']
a2 =
On Monday 16 October 2006 22:08, Michael Sorich wrote:
Does this new MA class allow masking of rearray like arrays?
Excellent question! Which is to say, I have no idea... I don't use
recordarray, so I didn't think about testing them.
So, a first test indicates that it doesn't work either. The
18 matches
Mail list logo