[SciPy-user] Fwd: Scipy_core and numarray

Alan G Isaac aisaac at american.edu
Thu Oct 6 13:25:03 CDT 2005

> Alan G Isaac wrote: 
>> Can you please explain what "unitialized" means in this 
>> context and what the advantage is over using zeros? 

On Thu, 06 Oct 2005, Travis Oliphant apparently wrote: 
> It's faster.  Often you are going to fill the array with 
> something.  So, why waste time filling it with zeros 
> first... 

I am afraid this is a very basic question.
So the is the way this works is that a chunk of memory is 
reserved without changing its current state?  So if I
print scipy.empty((50,50),scipy.Float64)
I'll see the current state of that memory,
interpreted as Float64.  Is that right?

Alan Isaac

More information about the SciPy-user mailing list