REPOST: Re: 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

========= WAS CANCELLED BY =======:
Path: news.sol.net!spool1-nwblwi.newsops.execpc.com!newsfeeds.sol.net!newsengine.sol.net!newspump.sol.net!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!sjc1.nntp.concentric.net!newsfeed.concentric.net!newsfeed.ozemail.com.au!ozemail.com.au!not-for-mail
Message-ID: <cancel.a0h5pq$2n7m$1 at agate.berkeley.edu>
Control: cancel <a0h5pq$2n7m$1 at agate.berkeley.edu>
Subject: cmsg cancel <a0h5pq$2n7m$1 at agate.berkeley.edu>
From: Daniel Yoo <dyoo at hkn.eecs.berkeley.edu>
Newsgroups: comp.lang.python
X-No-Archive: yes
Lines: 2
NNTP-Posting-Host: wonenara.ozemail.com.au
X-Trace: ozemail.com.au 1009643090 203.108.164.177 (Sun, 30 Dec 2001 03:24:50 EST)
NNTP-Posting-Date: Sun, 30 Dec 2001 03:24:50 EST
Organization: OzEmail Ltd, Australia
Distribution: world
Date: Sat, 29 Dec 2001 12:50:11 GMT

This message was cancelled from within Mozilla.



More information about the Python-list mailing list