[Numpy-discussion] minor improvment to ones
Fri Jan 30 14:31:07 CST 2009
On Fri, Jan 30, 2009 at 11:26, Ryan May <email@example.com> 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.
"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
More information about the Numpy-discussion