[Numpy-discussion] minor improvment to ones

Ryan May rmay31 at gmail.com
Fri Jan 30 12:26:16 EST 2009


Christopher Barker wrote:
>> On 1/30/2009 3:22 PM, Neal Becker wrote:
>>
>>> Now what would be _really_ cool is a special array type that would represent 
>>> a constant array without wasting memory.
> 
> Can't you do that with scary stride tricks? I think I remember some 
> discussion of this a while back.

I think that's right, but at that point, what gain is that over using a regular
constant and relying on numpy's broadcasting?

Ryan

-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma



More information about the NumPy-Discussion mailing list