[Numpy-discussion] Numpy Positional Array

Robert Kern robert.kern at gmail.com
Tue Mar 31 20:39:54 EDT 2009


2009/3/31 Ian Mallett <geometrian at gmail.com>:
> On Tue, Mar 31, 2009 at 5:32 PM, Robert Kern <robert.kern at gmail.com> wrote:
>>
>> How do you want to fill in the array? If you are typing it in
>> literally into your code, you would do basically the above, without
>> the ...'s, and wrap it in numpy.array(...).
>
> I know that, but in some cases, n will be quite large, perhaps 1000 on a
> side.  I'm trying to generate an array of that form in numpy entirely for
> speed and aesthetic reasons.

Again: How do you want to fill in the array? What is the process that
generates the data?

-- 
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



More information about the NumPy-Discussion mailing list