On Tue, Sep 20, 2011 at 2:02 PM, Justin Peel <pee...@gmail.com> wrote:
> There are a few things to be done before we start on a > multi-dimensional array. First, we need to do some refactoring to get > all of the 1D parts out of BaseArray and into the SingleDimArray > class. Also, we need to decide if we want to keep single dimensional > arrays as a specialized case or just use the same multi-dimensional > array for everything. We can also consider adding a 2D class as well. > Personally, I think that we should do the refactoring, implement a > multi-dim array while keeping the 1D array for now, and compare the > performance of using the multi-dim array for 1D arrays vs. using the > SingleDimArray class. > > On Tue, Sep 20, 2011 at 2:26 AM, matti picus <matti.pi...@gmail.com> > wrote: > > I would really love to have 2 dimensional matrices in micronumpy, and am > > willing to donate some hours of coding. There seems to be a number of > > "heads" on the mercurial tree that use numpy in their keyword. Can anyone > > give me pointer as to what branch (maybe just tip?) would be the > recommended > > one to continue with? Any coding guidelines? > > My goal is to get to an implementation of inverse on a smallish (5x5 > matrix) > > so I can build some useful code. > > Matti > > _______________________________________________ > > pypy-dev mailing list > > pypy-dev@python.org > > http://mail.python.org/mailman/listinfo/pypy-dev > > > > > _______________________________________________ > pypy-dev mailing list > pypy-dev@python.org > http://mail.python.org/mailman/listinfo/pypy-dev > Personally I think just having a single ndimarray is going to be the same for performance, and since this work should happen on a branch it'd be preferable to do it that way, we can still compare cross-branch. Alex -- "I disapprove of what you say, but I will defend to the death your right to say it." -- Evelyn Beatrice Hall (summarizing Voltaire) "The people's good is the highest law." -- Cicero
_______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev