[Numpy-discussion] minor improvment to ones
Fri Jan 30 11:26:16 CST 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?
Graduate Research Assistant
School of Meteorology
University of Oklahoma
More information about the Numpy-discussion