New Array proposal (So that it will actually be read)

Daniel Yoo dyoo at hkn.eecs.berkeley.edu
Fri Dec 28 02:08:42 EST 2001


Andrew Nguyen <pythonnet at hotmail.com> wrote:
: I think that an array sould have natural dimension support,

Have you had a chance to look at Numeric Python yet?

    http://www.pfdubois.com/numpy/

This module provides good support for multidimensional arrays, and in
fact, supports many of the things that you're looking for.


For example:

###
a = arrayrange(9)
a.shape = (3, 3)
a[1, 1] = 42
###

should work.  The documentation has good example of Numeric Python
here:

    http://www.pfdubois.com/numpy/html2/numpy.html



More information about the Python-list mailing list