On Fri, Jan 30, 2009 at 11:26, Ryan May <[email protected]> wrote:
> 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?

The filled array may be providing some of the shape information that's
not in the other arrays.

-- 
Robert Kern

"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
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to